properly call js/tbl_change.js
This commit is contained in:
@@ -12,8 +12,9 @@ require_once './libraries/common.inc.php';
|
|||||||
require_once './libraries/header_http.inc.php';
|
require_once './libraries/header_http.inc.php';
|
||||||
$page_title = $strCalendar;
|
$page_title = $strCalendar;
|
||||||
require './libraries/header_meta_style.inc.php';
|
require './libraries/header_meta_style.inc.php';
|
||||||
|
$GLOBALS['js_include'][] = 'tbl_change.js';
|
||||||
|
require './libraries/header_scripts.inc.php';
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" src="./js/tbl_change.js"></script>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
var month_names = new Array("<?php echo implode('","', $month); ?>");
|
var month_names = new Array("<?php echo implode('","', $month); ?>");
|
||||||
|
@@ -17,6 +17,7 @@ require_once './libraries/common.inc.php';
|
|||||||
require_once './libraries/relation.lib.php'; // foreign keys
|
require_once './libraries/relation.lib.php'; // foreign keys
|
||||||
require_once './libraries/mysql_charsets.lib.php';
|
require_once './libraries/mysql_charsets.lib.php';
|
||||||
|
|
||||||
|
$GLOBALS['js_include'][] = 'tbl_change.js';
|
||||||
$GLOBALS['js_include'][] = 'mootools.js';
|
$GLOBALS['js_include'][] = 'mootools.js';
|
||||||
|
|
||||||
if ($GLOBALS['cfg']['PropertiesIconic'] == true) {
|
if ($GLOBALS['cfg']['PropertiesIconic'] == true) {
|
||||||
@@ -140,9 +141,7 @@ while (list($operator) = each($GLOBALS['cfg']['UnaryOperators'])) {
|
|||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
$odd_row = true;
|
$odd_row = true;
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="./js/tbl_change.js"></script>
|
|
||||||
<?php
|
|
||||||
for ($i = 0; $i < $fields_cnt; $i++) {
|
for ($i = 0; $i < $fields_cnt; $i++) {
|
||||||
?>
|
?>
|
||||||
<tr class="<?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>">
|
<tr class="<?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>">
|
||||||
|
Reference in New Issue
Block a user