Define CSS normal way and not by writing through JavaScript.

This commit is contained in:
Michal Čihař
2005-10-13 15:11:49 +00:00
parent 65b357e886
commit 688144cd52
3 changed files with 7 additions and 6 deletions

View File

@@ -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;
}
?>
?>