From dd10be6146b73bb7e78c672c949c364cffdee15b Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 26 Sep 2009 17:07:29 -0400 Subject: [PATCH] UI support for creating and maintaining resource groups. --- kronolith/lib/Forms/EditResourceGroup.php | 1 - kronolith/resources/index.php | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kronolith/lib/Forms/EditResourceGroup.php b/kronolith/lib/Forms/EditResourceGroup.php index 42fed516f..92d305deb 100644 --- a/kronolith/lib/Forms/EditResourceGroup.php +++ b/kronolith/lib/Forms/EditResourceGroup.php @@ -32,7 +32,6 @@ class Kronolith_EditResourceGroupForm extends Horde_Form { { $this->_resource = &$resource; parent::Horde_Form($vars, sprintf(_("Edit %s"), $resource->get('name'))); - $resources = Kronolith::getDriver('Resource')->listResources(PERMS_READ, array('type' => 'Single')); $enum = array(); foreach ($resources as $r) { diff --git a/kronolith/resources/index.php b/kronolith/resources/index.php index dcd3dfbd7..0d21a40eb 100644 --- a/kronolith/resources/index.php +++ b/kronolith/resources/index.php @@ -17,7 +17,7 @@ if (!Horde_Auth::getAuth()) { } $edit_url_base = Horde::applicationUrl('resources/edit.php'); $edit_img = Horde::img('edit.png', _("Edit"), null, $registry->getImageDir('horde')); -$resources = Kronolith_Resource::listResources(); +$resources = Kronolith_Resource::listResources(PERMS_READ, array('type' => 'Single')); $display_url_base = Horde::applicationUrl('month.php', true, -1); $delete_url_base = Horde::applicationUrl('resources/delete.php'); $delete_img = Horde::img('delete.png', _("Delete"), null, $registry->getImageDir('horde')); @@ -41,6 +41,7 @@ function performAction(action, rid)
" /> +
" cellspacing="0" id="calendar-list" class="striped sortable"> -- 2.11.0