link to user preferences on main page (not working yet)
This commit is contained in:
8
main.php
8
main.php
@@ -171,6 +171,14 @@ echo PMA_Config::getFontsizeForm();
|
||||
echo '</li>';
|
||||
|
||||
echo '</ul>';
|
||||
|
||||
// User preferences
|
||||
|
||||
echo '<ul>';
|
||||
echo PMA_printListItem(__('More settings'), 'li_user_preferences',
|
||||
'./user_preferences.php?' . $common_url_query);
|
||||
echo '<ul>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
||||
|
@@ -36,7 +36,7 @@ header('Content-Type: text/css; charset=UTF-8');
|
||||
|
||||
// Cache output in client - the nocache query parameter makes sure that this
|
||||
// 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);
|
||||
?>
|
||||
|
@@ -1066,6 +1066,10 @@ li#li_switch_dbstats {
|
||||
li#li_flush_privileges {
|
||||
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 */
|
||||
<?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
|
||||
|
||||
|
Reference in New Issue
Block a user