Can't externally reference .js.php, they have to be inline js

This commit is contained in:
Isaac Connor 2016-05-06 12:40:23 -04:00
parent ee015ee674
commit d5f1519829
1 changed files with 7 additions and 1 deletions

View File

@ -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) ) { ?>