Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2011-09-24 14:03:54 +0400
committerMarc Delisle <marc@infomarc.info>2011-09-24 14:03:54 +0400
commitefa9eeb5583d95972af3fe195e903ac843103de8 (patch)
tree0041e40807465914f35568622fe3829bbbd30173 /main.php
parent3cbc022058c384cdc0327405ef4ebac8df94fbe4 (diff)
parent5b2befc1716bfca6b21305a0cb5df6d965eb4c9a (diff)
Merge branch 'QA_3_4'
Diffstat (limited to 'main.php')
-rw-r--r--main.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.php b/main.php
index f85f1c011b..051b5efc18 100644
--- a/main.php
+++ b/main.php
@@ -139,10 +139,12 @@ echo '</ul>';
// User preferences
-echo '<ul>';
-echo PMA_printListItem(__('More settings'), 'li_user_preferences',
+if ($server > 0) {
+ echo '<ul>';
+ echo PMA_printListItem(__('More settings'), 'li_user_preferences',
'./prefs_manage.php?' . $common_url_query);
-echo '</ul>';
+ echo '</ul>';
+}
echo '</div>';