From 9b9772c1fc0a564b87c82e8d414445dda08fc8d9 Mon Sep 17 00:00:00 2001 From: Kasun Chathuranga Date: Sun, 21 Apr 2013 00:58:21 +0530 Subject: [PATCH] Fix bug #3886 Documentation links broken in setup --- libraries/config/FormDisplay.tpl.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libraries/config/FormDisplay.tpl.php b/libraries/config/FormDisplay.tpl.php index 064ff0dbfc..677e3f4c36 100644 --- a/libraries/config/FormDisplay.tpl.php +++ b/libraries/config/FormDisplay.tpl.php @@ -131,12 +131,10 @@ function PMA_displayInput($path, $name, $type, $value, $description = '', $value_is_default = true, $opts = null ) { global $_FormDisplayGroup; - static $base_dir; // Relative path to the root phpMyAdmin folder static $icons; // An array of IMG tags used further below in the function $is_setup_script = defined('PMA_SETUP'); - if ($base_dir === null) { // if the static variables have not been initialised - $base_dir = $is_setup_script ? '../' : ''; + if ($icons === null) { // if the static variables have not been initialised $icons = array(); // Icon definitions: // The same indexes will be used in the $icons array. @@ -205,7 +203,7 @@ function PMA_displayInput($path, $name, $type, $value, $description = '', if (! empty($opts['doc']) || ! empty($opts['wiki'])) { echo ''; if (! empty($opts['doc'])) { - echo '' . $icons['help'] . ''; echo "\n"; }