diff --git a/resources/inc/class.bo_acl.inc.php b/resources/inc/class.bo_acl.inc.php index 3558dca712..9658b73a40 100755 --- a/resources/inc/class.bo_acl.inc.php +++ b/resources/inc/class.bo_acl.inc.php @@ -1,22 +1,17 @@ save_sessiondata(); - $this->cats = $this->egw_cats->return_array('all',$this->start,True,$this->query,$this->sort,'cat_name',True); + $this->cats = $this->egw_cats->return_sorted_array(0,False); } } @@ -78,7 +73,7 @@ class bo_acl */ function get_cats($perm_type) { - $cats = $this->egw_cats->return_sorted_array(0,False,'','','',!$type); + $cats = $this->egw_cats->return_sorted_array(0,False); while (list(,$cat) = @each($cats)) { if($this->is_permitted($cat['id'],$perm_type)) diff --git a/resources/inc/class.bo_resources.inc.php b/resources/inc/class.bo_resources.inc.php index 2732d685e1..733cb98f40 100755 --- a/resources/inc/class.bo_resources.inc.php +++ b/resources/inc/class.bo_resources.inc.php @@ -1,25 +1,20 @@ and * -* Cornelius Weiss * -* ----------------------------------------------- * -* This program is free software; you can redistribute it and/or modify it * -* under the terms of the GNU General Public License as published by the * -* Free Software Foundation; either version 2 of the License, or (at your * -* option) any later version. * -\**************************************************************************/ +/** + * eGroupWare - resources + * + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @package resources + * @link http://www.egroupware.org + * @author Cornelius Weiss + * @author Lukas Weiss + * @version $Id$ + */ -/* $Id$ */ /** * General business object for resources * * @package resources - * @author Cornelius Weiss - * @author Lukas Weiss - * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License */ class bo_resources { diff --git a/resources/inc/class.resources_hooks.inc.php b/resources/inc/class.resources_hooks.inc.php index 1d3fbcad85..c13b754c88 100644 --- a/resources/inc/class.resources_hooks.inc.php +++ b/resources/inc/class.resources_hooks.inc.php @@ -1,25 +1,19 @@ * -* Changes for resources by Cornelius Wei� * -* * -* ------------------------------------------------------- * -* This program is free software; you can redistribute it and/or modify it * -* under the terms of the GNU General Public License as published by the * -* Free Software Foundation; either version 2 of the License, or (at your * -* option) any later version. * -\**************************************************************************/ - -/* $Id$ */ +/** + * eGroupWare - resources + * General hook object for resources + * It encapsulats all the diffent hook methods + * + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @package resources + * @link http://www.egroupware.org + * @version $Id$ + */ /** * General hook object for resources * It encapsulats all the diffent hook methods - * * @package resources - * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License */ class resources_hooks { diff --git a/resources/inc/class.resources_select_widget.inc.php b/resources/inc/class.resources_select_widget.inc.php index 28618fd698..766f73bf9f 100644 --- a/resources/inc/class.resources_select_widget.inc.php +++ b/resources/inc/class.resources_select_widget.inc.php @@ -1,24 +1,19 @@ * -* -------------------------------------------- * -* This program is free software; you can redistribute it and/or modify it * -* under the terms of the GNU General Public License as published by the * -* Free Software Foundation; either version 2 of the License, or (at your * -* option) any later version. * -\**************************************************************************/ - -/* $Id$ */ +/** + * eGroupWare - eTemplate Extension - Resource Select Widgets + * + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @package resources + * @link http://www.egroupware.org + * @author RalfBecker-AT-outdoor-training.de + * @version $Id$ + */ /** -* eTemplate Extension: select a resource -* -* @package resources -* @author RalfBecker-AT-outdoor-training.de -* @license GPL -*/ + * eTemplate Extension: select a resource + * + * @package resources + */ class resources_select_widget { /** diff --git a/resources/inc/class.so_resources.inc.php b/resources/inc/class.so_resources.inc.php index baafd5a8ce..bc9ccfac3e 100755 --- a/resources/inc/class.so_resources.inc.php +++ b/resources/inc/class.so_resources.inc.php @@ -1,27 +1,22 @@ * -* and Lukas Weiss * -* ----------------------------------------------- * -* This program is free software; you can redistribute it and/or modify it * -* under the terms of the GNU General Public License as published by the * -* Free Software Foundation; either version 2 of the License, or (at your * -* option) any later version. * -\**************************************************************************/ +/** + * eGroupWare - resources + * + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @package resources + * @link http://www.egroupware.org + * @author Cornelius Weiss + * @author Lukas Weiss + * @version $Id$ + */ + -/* $Id$ */ - include_once(EGW_INCLUDE_ROOT.'/etemplate/inc/class.so_sql.inc.php'); /** * General storage object for resources * * @package resources - * @author Cornelius Weiss - * @author Lukas Weiss - * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License */ class so_resources extends so_sql { diff --git a/resources/inc/class.ui_acl.inc.php b/resources/inc/class.ui_acl.inc.php index bb9b4ed4c4..e1d17d1d9b 100755 --- a/resources/inc/class.ui_acl.inc.php +++ b/resources/inc/class.ui_acl.inc.php @@ -1,22 +1,17 @@ and * -* Cornelius Weiss * -* ----------------------------------------------- * -* This program is free software; you can redistribute it and/or modify it * -* under the terms of the GNU General Public License as published by the * -* Free Software Foundation; either version 2 of the License, or (at your * -* option) any later version. * -\**************************************************************************/ - -/* $Id$ */ +/** + * eGroupWare - resources + * + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @package resources + * @link http://www.egroupware.org + * @author Cornelius Weiss + * @author Lukas Weiss + * @version $Id$ + */ /** * General userinterface object for resources * * @package resources - * @author Cornelius Weiss - * @author Lukas Weiss - * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License */ class ui_resources { diff --git a/resources/index.php b/resources/index.php index b4d51d4db3..8e44877df8 100755 --- a/resources/index.php +++ b/resources/index.php @@ -1,16 +1,14 @@ * - * ----------------------------------------------- * - * This program is free software; you can redistribute it and/or modify it * - * under the terms of the GNU General Public License as published by the * - * Free Software Foundation; either version 2 of the License, or (at your * - * option) any later version. * - \**************************************************************************/ - + /** + * eGroupWare - resources + * http://www.egroupware.org + * + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @package resources + * @author Cornelius Weiss + * @author Lukas Weiss + * @version $Id$ + */ $GLOBALS['egw_info']['flags'] = array( 'currentapp' => 'resources', diff --git a/resources/setup/setup.inc.php b/resources/setup/setup.inc.php index 551e4f0864..5fea9dbe32 100755 --- a/resources/setup/setup.inc.php +++ b/resources/setup/setup.inc.php @@ -1,17 +1,14 @@ + * @author Lukas Weiss + * @version $Id$ + */ $setup_info['resources']['name'] = 'resources'; $setup_info['resources']['title'] = 'Resources'; diff --git a/resources/sitemgr/class.module_resources.inc.php b/resources/sitemgr/class.module_resources.inc.php index 86d020f3f5..6d68a85436 100755 --- a/resources/sitemgr/class.module_resources.inc.php +++ b/resources/sitemgr/class.module_resources.inc.php @@ -1,25 +1,25 @@ + * @author Lukas Weiss + * @version $Id$ + */ + + require_once (EGW_INCLUDE_ROOT.'/etemplate/inc/class.sitemgr_module.inc.php'); + + class module_resources extends sitemgr_module { - $this->arguments = array(); - $this->properties = array(); - $this->title = lang('Resources'); - $this->description = lang('This module displays the resources app'); - $this->etemplate_method = 'resources.ui_resources.index'; - } -} \ No newline at end of file + function module_resources() + { + $this->arguments = array(); + $this->properties = array(); + $this->title = lang('Resources'); + $this->description = lang('This module displays the resources app'); + $this->etemplate_method = 'resources.ui_resources.index'; + } + } \ No newline at end of file