Permalink
Browse files

Merge branch 'QA_4_8'

  • Loading branch information...
ibennetch committed May 21, 2018
2 parents 447f7ae + f2b068e commit 83f433695b19b73202c0ae8f9c03937be5f5e409
Showing with 1 addition and 7 deletions.
  1. +1 −7 libraries/classes/Config/FormDisplayTemplate.php
@@ -171,12 +171,6 @@ public static function displayInput($path, $name, $type, $value, $description =
// When called from the setup script, we don't have access to the
// sprite-aware getImage() function because the PMA_theme class
// has not been loaded, so we generate the img tags manually.
$icon_init = array(
'edit' => array('b_edit.png', ''),
'help' => array('b_help.png', __('Documentation')),
'reload' => array('s_reload.png', ''),
'tblops' => array('b_tblops.png', '')
);
foreach ($icon_init as $k => $v) {
$title = '';
if (! empty($v[1])) {
@@ -185,7 +179,7 @@ public static function displayInput($path, $name, $type, $value, $description =
$icons[$k] = sprintf(
'<img alt="%s" src="%s"%s />',
$v[1],
"../themes/pmahomme/img/{$v[0]}",
"../themes/pmahomme/img/{$v[0]}.png",
$title
);
}

0 comments on commit 83f4336

Please sign in to comment.