diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-03 23:54:14 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-03 23:54:14 -0500 |
commit | 9d4fa2963b1059fed54aaeae583bf02a30c42239 (patch) | |
tree | 5bc96becffcda48318c932ece289ec358dc84691 /admin/calendar | |
parent | b63430eba1943d1732634df88884e8d7c4b2b1fb (diff) | |
download | bayonetcms-9d4fa2963b1059fed54aaeae583bf02a30c42239.tar.gz |
Fixed SVN maybe.
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@448 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'admin/calendar')
-rw-r--r-- | admin/calendar/functions.php | 4 | ||||
-rw-r--r-- | admin/calendar/index.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/admin/calendar/functions.php b/admin/calendar/functions.php index cffaab1..76922cc 100644 --- a/admin/calendar/functions.php +++ b/admin/calendar/functions.php @@ -380,8 +380,8 @@ $events = GetEventsOnInterval("{$year}-{$monthNum}-01","{$year}-{$monthNum}-{$da echo '<td class="cal_weekday">'; //weekdays } - $sqlDate = $year.'-'.$monthNum.'-'.$day_num; //old way NOT unix - + $sqlDate = date("Y-m-d", mktime(0, 0, 0, $monthNum, $day_num, $year)); + //checks to see if the current day has events $isEvent=false; foreach($events as $event){ diff --git a/admin/calendar/index.php b/admin/calendar/index.php index 1197990..2b631d8 100644 --- a/admin/calendar/index.php +++ b/admin/calendar/index.php @@ -17,7 +17,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
?>
-
+ <link rel="stylesheet" type="text/css" href="calendar/style.css" media="screen"/>
<div style="text-align:left;"><h2>- Manage Calendar & Events</h2></div>
<?php
|