[Tickets #4959] Patch to kronolith/lib/Block/month.php to show calendar owner
bugs@bugs.horde.org
bugs at bugs.horde.org
Wed Jan 31 06:06:46 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4959
-----------------------------------------------------------------------
Ticket | 4959
Created By | jon at spriggs.org.uk
Summary | Patch to kronolith/lib/Block/month.php to show calendar owner
Queue | Kronolith
Version | HEAD
Type | Enhancement
State | New
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
jon at spriggs.org.uk (2007-01-31 06:06) wrote:
Hi all,
I've made the following small tweak to the month.php from the CVS head
version, and I'd like to think this would be useful.
Regards,
Jon
Index: month.php
===================================================================
RCS file: /repository/kronolith/lib/Block/month.php,v
retrieving revision 1.33
diff -r1.33 month.php
40c40,45
< return Horde::link(Horde::url($registry->getInitialPage(),
true)) . strftime('%B, %Y') . '</a>';
---
> if (isset($this->_params['calendar']) &&
$this->_params['calendar'] != '__all') {
> $owner='Calendar for ' . $this->_params['calendar'] . ' -
';
> } else {
> $owner='All calendars - ';
> }
> return $owner .
Horde::link(Horde::url($registry->getInitialPage(), true)) . strftime('%B,
%Y') . '</a>';
More information about the bugs
mailing list