diff --git a/libraries/build_action_titles.inc.php b/libraries/build_action_titles.inc.php index e9da5f65f..fe9dd5ffa 100644 --- a/libraries/build_action_titles.inc.php +++ b/libraries/build_action_titles.inc.php @@ -9,43 +9,17 @@ if (! defined('PHPMYADMIN')) { } $titles = array(); -if (true == $cfg['PropertiesIconic']) { - $titles['Browse'] = '' . __('Browse') . ''; - $titles['NoBrowse'] = '' . __('Browse') . ''; - $titles['Search'] = '' . __('Search') . ''; - $titles['NoSearch'] = '' . __('Search') . ''; - $titles['Insert'] = '' . __('Insert') . ''; - $titles['NoInsert'] = '' . __('Insert') . ''; - $titles['Structure'] = '' . __('Structure') . ''; - $titles['Drop'] = '' . __('Drop') . ''; - $titles['NoDrop'] = '' . __('Drop') . ''; - $titles['Empty'] = '' . __('Empty') . ''; - $titles['NoEmpty'] = '' . __('Empty') . ''; - if ('both' === $cfg['PropertiesIconic']) { - $titles['Browse'] .= __('Browse'); - $titles['Search'] .= __('Search'); - $titles['NoBrowse'] .= __('Browse'); - $titles['NoSearch'] .= __('Search'); - $titles['Insert'] .= __('Insert'); - $titles['NoInsert'] .= __('Insert'); - $titles['Structure'] .= __('Structure'); - $titles['Drop'] .= __('Drop'); - $titles['NoDrop'] .= __('Drop'); - $titles['Empty'] .= __('Empty'); - $titles['NoEmpty'] .= __('Empty'); - } -} else { - $titles['Browse'] = __('Browse'); - $titles['Search'] = __('Search'); - $titles['NoBrowse'] = __('Browse'); - $titles['NoSearch'] = __('Search'); - $titles['Insert'] = __('Insert'); - $titles['NoInsert'] = __('Insert'); - $titles['Structure'] = __('Structure'); - $titles['Drop'] = __('Drop'); - $titles['NoDrop'] = __('Drop'); - $titles['Empty'] = __('Empty'); - $titles['NoEmpty'] = __('Empty'); -} +$titles['Browse'] = PMA_getIcon('b_browse.png', __('Browse'), true); +$titles['NoBrowse'] = PMA_getIcon('bd_browse.png', __('Browse'), true); +$titles['Search'] = PMA_getIcon('b_select.png', __('Search'), true); +$titles['NoSearch'] = PMA_getIcon('bd_select.png', __('Search'), true); +$titles['Insert'] = PMA_getIcon('b_insrow.png', __('Insert'), true); +$titles['NoInsert'] = PMA_getIcon('bd_insrow.png', __('Insert'), true); +$titles['Structure'] = PMA_getIcon('b_props.png', __('Structure'), true); +$titles['Drop'] = PMA_getIcon('b_drop.png', __('Drop'), true); +$titles['NoDrop'] = PMA_getIcon('bd_drop.png', __('Drop'), true); +$titles['Empty'] = PMA_getIcon('b_empty.png', __('Empty'), true); +$titles['NoEmpty'] = PMA_getIcon('bd_empty.png', __('Empty'), true); + ?>