Include JavaScript in header and not in footer.
This commit is contained in:
@@ -16,6 +16,8 @@ $Source$
|
|||||||
detection to only place where it is currently used.
|
detection to only place where it is currently used.
|
||||||
* header.inc.php, css/phpmyadmin.css.php: Define CSS normal way and not
|
* header.inc.php, css/phpmyadmin.css.php: Define CSS normal way and not
|
||||||
by writing through JavaScript.
|
by writing through JavaScript.
|
||||||
|
* footer.inc.php, header.inc.php: Include JavaScript in header and not in
|
||||||
|
footer.
|
||||||
|
|
||||||
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* left.php: preselect db if only one db
|
* left.php: preselect db if only one db
|
||||||
|
@@ -122,7 +122,6 @@ if (isset($GLOBALS['userlink']) && $GLOBALS['userlink']) {
|
|||||||
|
|
||||||
include('./config.footer.inc.php');
|
include('./config.footer.inc.php');
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" language="javascript" src="libraries/tooltip.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<?php
|
<?php
|
||||||
@@ -153,4 +152,4 @@ if ( ! empty( $GLOBALS['cfg']['OBGzip'] )
|
|||||||
* Stops the script execution
|
* Stops the script execution
|
||||||
*/
|
*/
|
||||||
exit;
|
exit;
|
||||||
?>
|
?>
|
||||||
|
@@ -129,6 +129,7 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
// Reloads the navigation frame via JavaScript if required
|
// Reloads the navigation frame via JavaScript if required
|
||||||
PMA_reloadNavigation();
|
PMA_reloadNavigation();
|
||||||
?>
|
?>
|
||||||
|
<script src="libraries/tooltip.js" type="text/javascript" language="javascript"></script>
|
||||||
<meta name="OBGZip" content="<?php echo ($cfg['OBGzip'] ? 'true' : 'false'); ?>" />
|
<meta name="OBGZip" content="<?php echo ($cfg['OBGzip'] ? 'true' : 'false'); ?>" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user