diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-18 22:27:26 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-18 22:27:26 +0000 |
| commit | 407cca7faea41e62077185d1ddc23f652fd2fd31 (patch) | |
| tree | 91d09f37e3d07f45f1821d44162ff25c14d57f7d /index.php | |
| parent | cbf14e6928764960adf0d486173dbdd57ccfa6a0 (diff) | |
| download | calendar-407cca7faea41e62077185d1ddc23f652fd2fd31.tar.gz calendar-407cca7faea41e62077185d1ddc23f652fd2fd31.tar.bz2 calendar-407cca7faea41e62077185d1ddc23f652fd2fd31.zip | |
add calendar module that works quite well with the existing calendar
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.12 2005/08/18 21:42:37 lsces Exp $ +// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.13 2005/08/18 22:27:26 squareing Exp $ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. @@ -34,9 +34,9 @@ foreach ($_SESSION['calendarContentGuids'] as $calt) { } $gBitSmarty->assign('bitcal', $bitcal); -if (isset($_REQUEST["todate"]) && $_REQUEST['todate']) { +if (!empty($_REQUEST["todate"])) { $_SESSION['calendar_focus_date'] = $_REQUEST['todate']; -} elseif (isset($_SESSION['calendar_focus_date']) && $_SESSION['calendar_focus_date']) { +} elseif (!empty($_SESSION['calendar_focus_date'])) { $_REQUEST["todate"] = $_SESSION['calendar_focus_date']; } else { $_SESSION['calendar_focus_date'] = mktime(0, 0, 0, date('m'), date('d'), date('Y')); |
