color picker (work in progress)

This commit is contained in:
Marc Delisle
2008-07-10 17:53:31 +00:00
parent 6984e7b70a
commit bb2c1fbb8d
17 changed files with 710 additions and 5 deletions

View File

@@ -9,6 +9,9 @@
* Gets some core libraries and displays a top message if required
*/
require_once './libraries/common.inc.php';
$GLOBALS['js_include'][] = 'mootools.js';
$GLOBALS['js_include'][] = 'mooRainbow/mooRainbow.js';
$GLOBALS['js_include'][] = 'mootools-domready-rainbow.js';
// Handles some variables that may have been sent by the calling script
$GLOBALS['db'] = '';
@@ -144,6 +147,13 @@ if (empty($cfg['Lang'])) {
if ($GLOBALS['cfg']['ThemeManager']) {
echo '<li id="li_select_theme">';
echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox();
echo '<img id="myRainbow" src="js/mooRainbow/images/rainbow.png" alt="[r]"
width="16" height="16" />';
echo '<form name="rainbowform" id="rainbowform" method="post" action="index.php" target="_parent">';
echo PMA_generate_common_hidden_inputs();
echo '<input type="hidden" name="custom_color" />';
echo '<input type="hidden" name="custom_color_rgb" />';
echo '</form>';
echo '</li>';
}
echo '<li id="li_select_fontsize">';