* $Revision: 3143 $ * $Id: global.js.php 3143 2009-12-02 17:21:41Z ipso $ * $Date: 2009-12-02 09:21:41 -0800 (Wed, 02 Dec 2009) $ */ $disable_cache_control = TRUE; require_once '..' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'global.inc.php'; //When going through the installer or using quickpunch the user isnt logged in, so we still //need to be able to load this file. if (isset($config_vars['other']['installer_enabled']) and $config_vars['other']['installer_enabled'] == 1 or stristr($_SERVER['HTTP_REFERER'], 'quick_punch')) { //FIXME: Remove the authenticate flag from sm_header and installer. $authenticate = FALSE; } require_once '..' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'Interface.inc.php'; //Use session created date or login date. //So this file is updated each time they login. forceCacheHeaders(NULL, $authentication->getCreatedDate()); $pplf = new PayPeriodListFactory(); $js_calendar_pay_period_dates = $pplf->getJSCalendarPayPeriodArray(); ?> var TTProductEdition = <?php if (isset($current_company) and is_object($current_company) and getTTProductEdition() >= $current_company->getProductEdition()) { echo (int) $current_company->getProductEdition(); } else { echo (int) getTTProductEdition(); } ?> ; var JSCalendarPayPeriodEndDates = <?php echo Misc::getJSArray($js_calendar_pay_period_dates['end_date']) . "\n"; ?>
* * In accordance with Section 7(b) of the GNU Affero General Public License * version 3, these Appropriate Legal Notices must retain the display of the * "Powered by TimeTrex" logo. If the display of the logo is not reasonably * feasible for technical reasons, the Appropriate Legal Notices must display * the words "Powered by TimeTrex". ********************************************************************************/ /* * $Revision: 1981 $ * $Id: global.css.php 1981 2008-07-10 23:13:44Z ipso $ * $Date: 2008-07-10 16:13:44 -0700 (Thu, 10 Jul 2008) $ */ $disable_database_connection = TRUE; require_once '../includes/global.inc.php'; Header("Content-type: text/css; charset=UTF-8"); forceCacheHeaders(); //This causes iframes to resize themselves (Monthly view, click on a day, the Day iframe resizes to half size //Look in to fix for it. //behavior:url("/csshover.htc"); //echo Environment::getBaseURL(); ?> body {background:#fff; color:#000; margin:0; padding:0; font-family:verdana,sans-serif; font-size:11px;} img {border:0;} /* container */ /*#container{margin-left:0; margin-right:0; min-width:550px; width:100%;}*/ #container{margin-left:0; margin-right:0;} /* login page */ #rowHeaderLogin{margin:0; padding:0; border-bottom:5px solid #c30; padding-top:5px; padding-left:12px; padding-bottom:5px;} #rowContentLogin{margin:0; padding-top:12px; padding-bottom:35px;}
* * You can contact TimeTrex headquarters at Unit 22 - 2475 Dobbin Rd. Suite * #292 Westbank, BC V4T 2E9, Canada or at email address info@timetrex.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License * version 3, these Appropriate Legal Notices must retain the display of the * "Powered by TimeTrex" logo. If the display of the logo is not reasonably * feasible for technical reasons, the Appropriate Legal Notices must display * the words "Powered by TimeTrex". ********************************************************************************/ /* * $Revision: 3208 $ * $Id: menu.js.php 3208 2009-12-23 00:37:01Z ipso $ * $Date: 2009-12-22 16:37:01 -0800 (Tue, 22 Dec 2009) $ */ $disable_cache_control = TRUE; require_once '..' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'global.inc.php'; require_once '..' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'Interface.inc.php'; //Cache this file as long as: // 1. Permissions don't change // 2. Messages don't change // 3. Exceptions don't change // 4. New version check doesn't change. // 5. User ID doesn't change. $etag = @md5($current_user->getId() . $display_exception_flag . $unread_messages . $system_settings['new_version'] . $permission->getLastUpdatedDate()); forceCacheHeaders(NULL, NULL, $etag); $smarty->display('menu.tpl');
* 02110-1301 USA. * * You can contact TimeTrex headquarters at Unit 22 - 2475 Dobbin Rd. Suite * #292 Westbank, BC V4T 2E9, Canada or at email address info@timetrex.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License * version 3, these Appropriate Legal Notices must retain the display of the * "Powered by TimeTrex" logo. If the display of the logo is not reasonably * feasible for technical reasons, the Appropriate Legal Notices must display * the words "Powered by TimeTrex". ********************************************************************************/ /* * $Revision: 2490 $ * $Id: menu.js.php 2490 2009-04-24 22:13:40Z ipso $ * $Date: 2009-04-24 15:13:40 -0700 (Fri, 24 Apr 2009) $ */ $disable_cache_control = TRUE; require_once '..' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'global.inc.php'; require_once '..' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'Interface.inc.php'; //Cache this file as long as: // 1. Permissions don't change // 2. Messages don't change // 3. Exceptions don't change // 4. New version check doesn't change. // 5. User ID doesn't change. forceCacheHeaders(NULL, NULL, @md5($current_user->getId() . $display_exception_flag . $unread_messages . $system_settings['new_version'] . $permission->getLastUpdatedDate())); $smarty->display('menu.tpl');