Use standard mechanism for loading javascript to prevent multiple requests to server
This commit is contained in:
parent
7bda45ba66
commit
4841ee9d5f
@ -136,11 +136,13 @@ require_once './libraries/header_http.inc.php';
|
||||
<base target="frame_content" />
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="phpmyadmin.css.php?<?php echo PMA_generate_common_url('', ''); ?>&js_frame=left&nocache=<?php echo $GLOBALS['PMA_Config']->getThemeUniqueValue(); ?>" />
|
||||
<script src="./js/jquery/jquery-1.6.1.js" type="text/javascript"></script>
|
||||
<script src="./js/jquery/jquery-ui-1.8.custom.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="js/navigation.js"></script>
|
||||
<script type="text/javascript" src="js/functions.js"></script>
|
||||
<script type="text/javascript" src="js/messages.php"></script>
|
||||
<?php
|
||||
echo PMA_includeJS('jquery/jquery-1.6.1.js');
|
||||
echo PMA_includeJS('jquery/jquery-ui-1.8.custom.js');
|
||||
echo PMA_includeJS('navigation.js');
|
||||
echo PMA_includeJS('functions.js');
|
||||
echo PMA_includeJS('messages.php');
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
var image_minus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_minus.png';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user