[geeklog-cvs] geeklog-1.3/public_html calendar.php,1.28,1.29
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Mon Jun 16 05:36:27 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory internal.geeklog.net:/tmp/cvs-serv6833
Modified Files:
calendar.php
Log Message:
Added variable {calendar_title} for month view (already exists for day and week view).
Index: calendar.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/calendar.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** calendar.php 29 Mar 2003 19:12:28 -0000 1.28
--- calendar.php 16 Jun 2003 09:36:24 -0000 1.29
***************
*** 651,654 ****
--- 651,662 ----
$cal_templates->set_var('lang_month', $LANG30[41]);
+ if ($mode == 'personal') {
+ $cal_templates->set_var ('calendar_title',
+ $LANG30[28] . ' ' . $_USER['username']);
+ } else {
+ $cal_templates->set_var ('calendar_title',
+ $_CONF['site_name'] . ' ' . $LANG30[29]);
+ }
+
for ($y = $currentyear - 5; $y <= $currentyear + 5; $y++) {
$yroptions .= '<option value="' . $y . '" ';
More information about the geeklog-cvs
mailing list