mooRainbow.css only if needed
This commit is contained in:
@@ -46,6 +46,10 @@ if ($GLOBALS['text_dir'] == 'ltr') {
|
|||||||
}
|
}
|
||||||
?></title>
|
?></title>
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>&nocache=<?php echo $_SESSION['PMA_Config']->getThemeUniqueValue(); ?>" />
|
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>&nocache=<?php echo $_SESSION['PMA_Config']->getThemeUniqueValue(); ?>" />
|
||||||
|
<?php if (defined('PMA_MOORAINBOW')) { ?>
|
||||||
<link rel="stylesheet" type="text/css" href="js/mooRainbow/mooRainbow.css" />
|
<link rel="stylesheet" type="text/css" href="js/mooRainbow/mooRainbow.css" />
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>print.css" media="print" />
|
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>print.css" media="print" />
|
||||||
<meta name="robots" content="noindex,nofollow" />
|
<meta name="robots" content="noindex,nofollow" />
|
||||||
|
1
main.php
1
main.php
@@ -8,6 +8,7 @@
|
|||||||
/**
|
/**
|
||||||
* Gets some core libraries and displays a top message if required
|
* Gets some core libraries and displays a top message if required
|
||||||
*/
|
*/
|
||||||
|
define('PMA_MOORAINBOW', true);
|
||||||
require_once './libraries/common.inc.php';
|
require_once './libraries/common.inc.php';
|
||||||
$GLOBALS['js_include'][] = 'mootools.js';
|
$GLOBALS['js_include'][] = 'mootools.js';
|
||||||
$GLOBALS['js_include'][] = 'mooRainbow/mooRainbow.js';
|
$GLOBALS['js_include'][] = 'mooRainbow/mooRainbow.js';
|
||||||
|
Reference in New Issue
Block a user