From: Michael J. Rubinsky Date: Sat, 26 Sep 2009 21:07:29 +0000 (-0400) Subject: UI support for creating and maintaining resource groups. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=dd10be6146b73bb7e78c672c949c364cffdee15b;p=horde.git UI support for creating and maintaining resource groups. --- 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">