Define CSS normal way and not by writing through JavaScript.
This commit is contained in:
@@ -14,6 +14,8 @@ $Source$
|
||||
title.
|
||||
* libraries/left.js, libraries/header_meta_style.inc.php: Move browser
|
||||
detection to only place where it is currently used.
|
||||
* header.inc.php, css/phpmyadmin.css.php: Define CSS normal way and not
|
||||
by writing through JavaScript.
|
||||
|
||||
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* left.php: preselect db if only one db
|
||||
|
@@ -442,6 +442,10 @@ div#serverstatus table.statuslist {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
/* end serverstatus */
|
||||
|
||||
img.lightbulb {
|
||||
cursor: pointer;
|
||||
}
|
||||
<?php
|
||||
|
||||
$_valid_css = array( 'left', 'right', 'print' );
|
||||
|
@@ -61,11 +61,6 @@ if (empty($GLOBALS['is_header_sent'])) {
|
||||
&& typeof(parent.document.title) == 'string') {
|
||||
parent.document.title = '<?php echo PMA_sanitize($title); ?>';
|
||||
}
|
||||
|
||||
document.write('<style type="text/css">');
|
||||
document.write('img.lightbulb { cursor: pointer; }');
|
||||
document.write('<\/style>');
|
||||
|
||||
<?php
|
||||
// Add some javascript instructions if required
|
||||
if (isset($js_to_run) && $js_to_run == 'functions.js') {
|
||||
@@ -254,4 +249,4 @@ if (empty($GLOBALS['is_header_sent'])) {
|
||||
*/
|
||||
$GLOBALS['is_header_sent'] = TRUE;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user