From 078a60bced4c574dd9670df06f5b97631c182f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Tue, 20 Sep 2005 21:54:08 +0000 Subject: [PATCH] hoks for calendar ui --- resources/inc/class.resources_hooks.inc.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/resources/inc/class.resources_hooks.inc.php b/resources/inc/class.resources_hooks.inc.php index 60131e4eca..6a2e7c5dbb 100644 --- a/resources/inc/class.resources_hooks.inc.php +++ b/resources/inc/class.resources_hooks.inc.php @@ -107,11 +107,13 @@ class resources_hooks function calendar_resources($args) { return array( - 'widget' => 'resources_select', // widget to use for the selection of resources - 'info' => 'resources.bo_resources.get_calendar_info', // info method, returns array with id, type & name for a given id - 'max_quantity' => 'useable', // if set, key for max. quantity in array returned by info method - 'new_status' => 'resources.bo_resources.get_calendar_new_status', // method returning the status for new items, else 'U' is used - 'type' => 'r', // one char type-identifiy for this resources + 'widget' => 'resources_select',// widget to use for the selection of resources + 'info' => 'resources.bo_resources.get_calendar_info',// info method, returns array with id, type & name for a given id + 'max_quantity' => 'useable',// if set, key for max. quantity in array returned by info method + 'new_status' => 'resources.bo_resources.get_calendar_new_status',// method returning the status for new items, else 'U' is used + 'type' => 'r',// one char type-identifiy for this resources + 'icon' => 'calicon',//icon + 'participants_header' => lang('resources'), // header of participants from this type ); } }