color picker (work in progress)
This commit is contained in:
10
main.php
10
main.php
@@ -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">';
|
||||
|
Reference in New Issue
Block a user