mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
some more documentation updates
This commit is contained in:
parent
a52d78d66b
commit
1315d99b88
@ -1,22 +1,17 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - resources *
|
||||
* http://www.egroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* 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://www.gnu.org/licenses/gpl.html GNU General Public License
|
||||
* @package resources
|
||||
* @link http://www.egroupware.org
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* ACL business object for resources
|
||||
*
|
||||
* @package resources
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
*/
|
||||
class bo_acl
|
||||
{
|
||||
@ -64,7 +59,7 @@ class bo_acl
|
||||
}
|
||||
}
|
||||
$this->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))
|
||||
|
@ -1,25 +1,20 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - resources - Resource Management System *
|
||||
* http://www.egroupware.org *
|
||||
* Written by Lukas Weiss <wnz_gh05t@users.sourceforge.net> and *
|
||||
* Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* ----------------------------------------------- *
|
||||
* 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 <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
/**
|
||||
* General business object for resources
|
||||
*
|
||||
* @package resources
|
||||
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
*/
|
||||
class bo_resources
|
||||
{
|
||||
|
@ -1,25 +1,19 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - resources hooks *
|
||||
* http://www.eGroupWare.org *
|
||||
* Originally written by Ralf Becker <RalfBecker@outdoor-training.de> *
|
||||
* Changes for resources by Cornelius Wei<EFBFBD><egw@von-und-zu-weiss.de> *
|
||||
* *
|
||||
* ------------------------------------------------------- *
|
||||
* 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
|
||||
{
|
||||
|
@ -1,24 +1,19 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - eTemplate Extension - Resource Select Widgets *
|
||||
* http://www.egroupware.org *
|
||||
* Written by Ralf Becker <RalfBecker@outdoor-training.de> *
|
||||
* -------------------------------------------- *
|
||||
* 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
|
||||
{
|
||||
/**
|
||||
|
@ -1,27 +1,22 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - resources - Resource Management System *
|
||||
* http://www.egroupware.org *
|
||||
* Written by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* and Lukas Weiss <wnz_gh05t@users.sourceforge.net> *
|
||||
* ----------------------------------------------- *
|
||||
* 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 <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @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 <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
*/
|
||||
class so_resources extends so_sql
|
||||
{
|
||||
|
@ -1,22 +1,17 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - resources *
|
||||
* http://www.egroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* 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://www.gnu.org/licenses/gpl.html GNU General Public License
|
||||
* @package resources
|
||||
* @link http://www.egroupware.org
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* ACL userinterface object for resources
|
||||
*
|
||||
* @package resources
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
*/
|
||||
class ui_acl
|
||||
{
|
||||
|
@ -1,25 +1,19 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - resources - Resource Management System *
|
||||
* http://www.egroupware.org *
|
||||
* Written by Lukas Weiss <wnz_gh05t@users.sourceforge.net> and *
|
||||
* Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* ----------------------------------------------- *
|
||||
* 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 <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* General userinterface object for resources
|
||||
*
|
||||
* @package resources
|
||||
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
*/
|
||||
class ui_resources
|
||||
{
|
||||
|
@ -1,16 +1,14 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - resources - Resource Management System *
|
||||
* http://www.egroupware.org *
|
||||
* Written by Lukas Weiss [ichLukas@gmx.net] and *
|
||||
* Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* ----------------------------------------------- *
|
||||
* 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 <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
$GLOBALS['egw_info']['flags'] = array(
|
||||
'currentapp' => 'resources',
|
||||
|
@ -1,17 +1,14 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - resources *
|
||||
* http://www.egroupware.org *
|
||||
* *
|
||||
* Written by Cornelius Weiss [egw@von-und-zu-weiss.de] *
|
||||
* ----------------------------------------------- *
|
||||
* 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
|
||||
* http://www.egroupware.org
|
||||
*
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @package resources
|
||||
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
$setup_info['resources']['name'] = 'resources';
|
||||
$setup_info['resources']['title'] = 'Resources';
|
||||
|
@ -1,25 +1,25 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare SiteMgr - Web Content Management *
|
||||
* http://www.egroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* 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$ */
|
||||
require_once (EGW_INCLUDE_ROOT.'/etemplate/inc/class.sitemgr_module.inc.php');
|
||||
|
||||
class module_resources extends sitemgr_module
|
||||
{
|
||||
function module_resources()
|
||||
/**
|
||||
* eGroupWare - resources
|
||||
* http://www.egroupware.org
|
||||
*
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @package resources
|
||||
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||
* @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';
|
||||
}
|
||||
}
|
||||
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';
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user