Add state view's js and php to all pages as it is now part of header

This commit is contained in:
Kyle Johnson 2016-04-23 22:59:50 -04:00
parent 10589ee913
commit ca0ba4a5f8
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ function xhtmlHeaders( $file, $title )
<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; ?>/js/Chart.js"></script>
<script type="text/javascript" src="/skins/<?php echo $css; ?>/views/js/state.js.php"></script>
<script type="text/javascript" src="/skins/<?php echo $css; ?>/views/js/state.js"></script>
<?php if ( $title == 'Login' && (defined('ZM_OPT_USE_GOOG_RECAPTCHA') && ZM_OPT_USE_GOOG_RECAPTCHA) ) { ?>
<script src='https://www.google.com/recaptcha/api.js'></script>
<?php