[geeklog-cvs] geeklog-1.3/public_html calendar.php,1.32,1.33
dhaun at geeklog.net
dhaun at geeklog.net
Tue Jan 6 17:38:43 EST 2004
Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv708
Modified Files:
calendar.php
Log Message:
Added {start_block} and {end_block} variables so that you can wrap the calendar in a block (Hi Simon).
Index: calendar.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/calendar.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** calendar.php 4 Jan 2004 22:13:50 -0000 1.32
--- calendar.php 6 Jan 2004 22:38:40 -0000 1.33
***************
*** 620,623 ****
--- 620,630 ----
$cal_templates->set_var ('layout_url', $_CONF['layout_url']);
$cal_templates->set_var('mode', $mode);
+ if ($mode == 'personal') {
+ $cal_templates->set_var ('start_block', COM_startBlock ($LANG30[12]));
+ $cal_templates->set_var ('end_block', COM_endBlock ());
+ } else {
+ $cal_templates->set_var ('start_block', COM_startBlock ($LANG30[11]));
+ $cal_templates->set_var ('end_block', COM_endBlock ());
+ }
$cal_templates->set_var('previous_months_cal',getSmallCalendar($prevmonth, $prevyear, $mode));
$cal_templates->set_var('next_months_cal',getSmallCalendar($nextmonth, $nextyear, $mode));
More information about the geeklog-cvs
mailing list