Replace manual <script> tag with common code.

This commit is contained in:
Michal Čihař
2011-02-08 09:25:51 +01:00
parent 1208ed935f
commit fca6631236

View File

@@ -16,9 +16,7 @@ require_once './libraries/common.inc.php';
// Cross-framing protection // Cross-framing protection
if ( false === $GLOBALS['cfg']['AllowThirdPartyFraming']) { if ( false === $GLOBALS['cfg']['AllowThirdPartyFraming']) {
?> echo PMA_includeJS('cross_framing_protection.js');
<script src="./js/cross_framing_protection.js" type="text/javascript"></script>
<?php
} }
// generate title // generate title
$title = PMA_expandUserString( $title = PMA_expandUserString(