link to user preferences on main page (not working yet)

This commit is contained in:
Crack
2010-06-01 14:32:10 +02:00
parent 0f540aca04
commit 101bbeefb6
3 changed files with 13 additions and 1 deletions

View File

@@ -171,6 +171,14 @@ echo PMA_Config::getFontsizeForm();
echo '</li>'; echo '</li>';
echo '</ul>'; echo '</ul>';
// User preferences
echo '<ul>';
echo PMA_printListItem(__('More settings'), 'li_user_preferences',
'./user_preferences.php?' . $common_url_query);
echo '<ul>';
echo '</div>'; echo '</div>';

View File

@@ -36,7 +36,7 @@ header('Content-Type: text/css; charset=UTF-8');
// Cache output in client - the nocache query parameter makes sure that this // Cache output in client - the nocache query parameter makes sure that this
// file is reloaded when config changes // file is reloaded when config changes
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT'); //header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
$_SESSION['PMA_Theme_Manager']->printCss(PMA_FRAME); $_SESSION['PMA_Theme_Manager']->printCss(PMA_FRAME);
?> ?>

View File

@@ -1066,6 +1066,10 @@ li#li_switch_dbstats {
li#li_flush_privileges { li#li_flush_privileges {
list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png); list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
} }
li#li_user_preferences {
list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
}
/* END iconic view for ul items */ /* END iconic view for ul items */
<?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?> <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>