From: Michael J. Rubinsky Date: Sat, 8 May 2010 20:46:07 +0000 (-0400) Subject: Add exception icon to ajax view X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=26cb86cd9ec3b26614384dfe35fc1789c7f4e59c;p=horde.git Add exception icon to ajax view --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index ba4de6d89..559309650 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -1833,6 +1833,9 @@ KronolithCore = { if (event.r) { div.insert(' ') .insert(new Element('img', { src: Kronolith.conf.URI_IMG + 'recur-' + Kronolith.conf.calendars[calendar[0]][calendar[1]].fg.substr(1) + '.png', title: Kronolith.text.recur[event.r] })); + } else if (event.bid) { + div.insert(' ') + .insert(new Element('img', { src: Kronolith.conf.URI_IMG + 'exception-' + Kronolith.conf.calendars[calendar[0]][calendar[1]].fg.substr(1) + '.png', title: Kronolith.text.recur['Exception'] })); } return div; }, diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 3fec49496..cd527b77c 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -377,6 +377,7 @@ class Kronolith Horde_Date_Recurrence::RECUR_YEARLY_WEEKDAY) as $recurType) { $code['text']['recur'][$recurType] = self::recurToString($recurType); } + $code['text']['recur']['Exception'] = _("Exception"); // Maps $code['conf']['maps'] = $GLOBALS['conf']['maps'];