Add icons for event exceptions
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 8 May 2010 20:28:21 +0000 (16:28 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 8 May 2010 20:28:21 +0000 (16:28 -0400)
kronolith/lib/Event.php
kronolith/themes/graphics/exception-000.png [new file with mode: 0644]
kronolith/themes/graphics/exception-fff.png [new file with mode: 0644]

index 0ee26c2..9c00f23 100644 (file)
@@ -2570,6 +2570,9 @@ abstract class Kronolith_Event
             if ($this->recurs()) {
                 $title = Kronolith::recurToString($this->recurrence->getRecurType());
                 $status .= Horde::fullSrcImg('recur-' . $icon_color . '.png', array('attr' => array('alt' => $title, 'title' => $title, 'class' => 'iconRecur')));
+            } elseif ($this->baseid) {
+                $title = _("Exception");
+                $status .= Horde::fullSrcImg('exception-' . $icon_color . '.png', array('attr' => array('alt' => $title, 'title' => $title, 'class' => 'iconRecur')));
             }
 
             if ($this->private) {
diff --git a/kronolith/themes/graphics/exception-000.png b/kronolith/themes/graphics/exception-000.png
new file mode 100644 (file)
index 0000000..80393a5
Binary files /dev/null and b/kronolith/themes/graphics/exception-000.png differ
diff --git a/kronolith/themes/graphics/exception-fff.png b/kronolith/themes/graphics/exception-fff.png
new file mode 100644 (file)
index 0000000..f6f9ff4
Binary files /dev/null and b/kronolith/themes/graphics/exception-fff.png differ