From e748b7cd60df31a83b7a25fb7c695915d78fc165 Mon Sep 17 00:00:00 2001 From: Alicja Cwierz Date: Sat, 28 Sep 2013 18:57:53 +1000 Subject: [PATCH] Replace wiki info icon #1457 --- js/pmd/history.js | 4 ++-- libraries/config/FormDisplay.tpl.php | 2 +- test/libraries/PMA_FormDisplay_tpl_test.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/pmd/history.js b/js/pmd/history.js index 8dcf01890d..3cb69d5740 100644 --- a/js/pmd/history.js +++ b/js/pmd/history.js @@ -109,9 +109,9 @@ function display(init, finit) } str += '' + PMA_getImage('b_sbrowse.png', 'column name') + '' + history_array[i].get_column_name(); if (history_array[i].get_type() == "GroupBy" || history_array[i].get_type() == "OrderBy") { - str += '' + PMA_getImage('b_info.png', detail(i)) + '' + history_array[i].get_type() + '' + PMA_getImage('b_drop.png', 'Delete') + ''; + str += '' + PMA_getImage('s_info.png', detail(i)) + '' + history_array[i].get_type() + '' + PMA_getImage('b_drop.png', 'Delete') + ''; } else { - str += '' + PMA_getImage('b_info.png', detail(i)) + '' + history_array[i].get_type() + '' + PMA_getImage('b_edit.png', PMA_messages.strEdit) + ''; + str += '' + PMA_getImage('s_info.png', detail(i)) + '' + history_array[i].get_type() + '' + PMA_getImage('b_edit.png', PMA_messages.strEdit) + ''; } i++; if (i >= history_array.length) { diff --git a/libraries/config/FormDisplay.tpl.php b/libraries/config/FormDisplay.tpl.php index 1a645f0edf..84e05488d4 100644 --- a/libraries/config/FormDisplay.tpl.php +++ b/libraries/config/FormDisplay.tpl.php @@ -147,7 +147,7 @@ function PMA_displayInput($path, $name, $type, $value, $description = '', $icon_init = array( 'edit' => array('b_edit.png', ''), 'help' => array('b_help.png', __('Documentation')), - 'info' => array('b_info.png', __('Wiki')), + 'info' => array('s_info.png', __('Wiki')), 'reload' => array('s_reload.png', ''), 'tblops' => array('b_tblops.png', '') ); diff --git a/test/libraries/PMA_FormDisplay_tpl_test.php b/test/libraries/PMA_FormDisplay_tpl_test.php index 6f4fb46319..fc3942d6b4 100644 --- a/test/libraries/PMA_FormDisplay_tpl_test.php +++ b/test/libraries/PMA_FormDisplay_tpl_test.php @@ -262,7 +262,7 @@ class PMA_FormDisplay_Tpl_Test extends PHPUnit_Framework_TestCase $this->assertTag( PMA_getTagArray( - 'Wiki' + 'Wiki' ), $result );