Can't externally reference .js.php, they have to be inline js
This commit is contained in:
parent
ee015ee674
commit
d5f1519829
|
@ -81,7 +81,13 @@ function xhtmlHeaders( $file, $title )
|
|||
<script type="text/javascript" src="js/overlay.js"></script>
|
||||
<script type="text/javascript" src="/skins/<?php echo $css; ?>/js/jquery-1.11.3.js"></script>
|
||||
<script type="text/javascript" src="/skins/<?php echo $css; ?>/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="/skins/<?php echo $css; ?>/views/js/state.js.php"></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
<!--
|
||||
<?php include("skins/$css/views/js/state.js.php")?>
|
||||
//-->
|
||||
//]]>
|
||||
</script>
|
||||
<script type="text/javascript" src="/skins/<?php echo $css; ?>/views/js/state.js"></script>
|
||||
<?php } ?>
|
||||
<?php if ( $title == 'Login' && (defined('ZM_OPT_USE_GOOG_RECAPTCHA') && ZM_OPT_USE_GOOG_RECAPTCHA) ) { ?>
|
||||
|
|
Loading…
Reference in New Issue