Merge pull request #721 from alicjalicja/1457Replace_b_info_Icon
Replace wiki info icon #1457
This commit is contained in:
commit
0866541a3b
@ -109,9 +109,9 @@ function display(init, finit)
|
||||
}
|
||||
str += '<td style="padding-left: 5px;" class="right">' + PMA_getImage('b_sbrowse.png', 'column name') + '</td><td width="175" style="padding-left: 5px">' + history_array[i].get_column_name();
|
||||
if (history_array[i].get_type() == "GroupBy" || history_array[i].get_type() == "OrderBy") {
|
||||
str += '</td><td class="center">' + PMA_getImage('b_info.png', detail(i)) + '<td title="' + detail(i) + '">' + history_array[i].get_type() + '</td></td><td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_delete(' + i + ')>' + PMA_getImage('b_drop.png', 'Delete') + '</td></tr></thead>';
|
||||
str += '</td><td class="center">' + PMA_getImage('s_info.png', detail(i)) + '<td title="' + detail(i) + '">' + history_array[i].get_type() + '</td></td><td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_delete(' + i + ')>' + PMA_getImage('b_drop.png', 'Delete') + '</td></tr></thead>';
|
||||
} else {
|
||||
str += '</td><td class="center">' + PMA_getImage('b_info.png', detail(i)) + '</td><td title="' + detail(i) + '">' + history_array[i].get_type() + '</td><td <td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_edit(' + i + ')>' + PMA_getImage('b_edit.png', PMA_messages.strEdit) + '</td><td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_delete(' + i + ')><img src="themes/original/img/b_drop.png" title="Delete"></td></tr></thead>';
|
||||
str += '</td><td class="center">' + PMA_getImage('s_info.png', detail(i)) + '</td><td title="' + detail(i) + '">' + history_array[i].get_type() + '</td><td <td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_edit(' + i + ')>' + PMA_getImage('b_edit.png', PMA_messages.strEdit) + '</td><td onmouseover="this.className=\'history_table\';" onmouseout="this.className=\'history_table2\'" onclick=history_delete(' + i + ')><img src="themes/original/img/b_drop.png" title="Delete"></td></tr></thead>';
|
||||
}
|
||||
i++;
|
||||
if (i >= history_array.length) {
|
||||
|
||||
@ -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', '')
|
||||
);
|
||||
|
||||
@ -262,7 +262,7 @@ class PMA_FormDisplay_Tpl_Test extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<img src="testImageb_info.png" title="Wiki" alt="Wiki" />'
|
||||
'<img src="testImages_info.png" title="Wiki" alt="Wiki" />'
|
||||
),
|
||||
$result
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user