From: Scott P. <wht...@us...> - 2007-09-09 21:52:31
|
Update of /cvsroot/helpmeict/Helpdesk/share/themes/blue In directory sc8-pr-cvs17:/tmp/cvs-serv11944/share/themes/blue Modified Files: header Log Message: Fix my bustage of refresh header adding. Fix call to undefined act varible by using isset(). Index: header =================================================================== RCS file: /cvsroot/helpmeict/Helpdesk/share/themes/blue/header,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** header 8 Sep 2007 23:56:50 -0000 1.4 --- header 9 Sep 2007 21:52:26 -0000 1.5 *************** *** 15,19 **** <?php // Add a timed refresh to certain pages ! $path = $HTTP_SERVER_VARS['SCRIPT_NAME']; if (isset($_GET['act'])) { if (($_GET['act'] == "action" && substr_count($path,'summary.php')) --- 15,19 ---- <?php // Add a timed refresh to certain pages ! $path = $_SERVER['SCRIPT_NAME']; if (isset($_GET['act'])) { if (($_GET['act'] == "action" && substr_count($path,'summary.php')) *************** *** 28,31 **** --- 28,41 ---- } } + else { + if (substr_count($path,'unassignedissues.php') + || substr_count($path, 'myissues.php') + || substr_count($path, 'mysitesissues.php')) + { + ?> + <meta http-equiv="Refresh" content="<?php echo 120; ?>"> + <?php + } + } ?> |