From 9818f9624d9f3bc6c39fa6d0fa83094e270e69e5 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 28 Sep 2009 12:23:30 -0400 Subject: [PATCH] Add resources to the event view as well --- kronolith/lib/View/Event.php | 2 +- kronolith/templates/view/view.inc | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/kronolith/lib/View/Event.php b/kronolith/lib/View/Event.php index cebe7df2e..b53911f12 100644 --- a/kronolith/lib/View/Event.php +++ b/kronolith/lib/View/Event.php @@ -79,7 +79,7 @@ class Kronolith_View_Event { $owner = Kronolith::getUserName($creatorId); $status = Kronolith::statusToString($this->event->getStatus()); $attendees = $this->event->getAttendees(); - + $resources = $this->event->getResources(); if ($datetime = Horde_Util::getFormData('datetime')) { $datetime = new Horde_Date($datetime); $month = $datetime->month; diff --git a/kronolith/templates/view/view.inc b/kronolith/templates/view/view.inc index 5f3c104ea..02457a315 100644 --- a/kronolith/templates/view/view.inc +++ b/kronolith/templates/view/view.inc @@ -165,5 +165,21 @@ if ($this->event->isInitialized() && $this->event->alarm > 0): + + + + + + + + + + $resource):?> + + + + + + -- 2.11.0