mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
some more documentation updates
This commit is contained in:
parent
a52d78d66b
commit
1315d99b88
@ -1,22 +1,17 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - resources *
|
* eGroupWare - resources
|
||||||
* http://www.egroupware.org *
|
*
|
||||||
* -------------------------------------------- *
|
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @package resources
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @link http://www.egroupware.org
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
* -------------------------------------------- *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ACL business object for resources
|
* ACL business object for resources
|
||||||
*
|
*
|
||||||
* @package resources
|
* @package resources
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
||||||
*/
|
*/
|
||||||
class bo_acl
|
class bo_acl
|
||||||
{
|
{
|
||||||
@ -64,7 +59,7 @@ class bo_acl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->save_sessiondata();
|
$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)
|
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))
|
while (list(,$cat) = @each($cats))
|
||||||
{
|
{
|
||||||
if($this->is_permitted($cat['id'],$perm_type))
|
if($this->is_permitted($cat['id'],$perm_type))
|
||||||
|
@ -1,25 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - resources - Resource Management System *
|
* eGroupWare - resources
|
||||||
* http://www.egroupware.org *
|
*
|
||||||
* Written by Lukas Weiss <wnz_gh05t@users.sourceforge.net> and *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
* @package resources
|
||||||
* ----------------------------------------------- *
|
* @link http://www.egroupware.org
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* General business object for resources
|
* General business object for resources
|
||||||
*
|
*
|
||||||
* @package 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
|
class bo_resources
|
||||||
{
|
{
|
||||||
|
@ -1,25 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - resources hooks *
|
* eGroupWare - resources
|
||||||
* http://www.eGroupWare.org *
|
* General hook object for resources
|
||||||
* Originally written by Ralf Becker <RalfBecker@outdoor-training.de> *
|
* It encapsulats all the diffent hook methods
|
||||||
* Changes for resources by Cornelius Wei<EFBFBD><egw@von-und-zu-weiss.de> *
|
*
|
||||||
* *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* ------------------------------------------------------- *
|
* @package resources
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @link http://www.egroupware.org
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @version $Id$
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
*/
|
||||||
* option) any later version. *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* General hook object for resources
|
* General hook object for resources
|
||||||
* It encapsulats all the diffent hook methods
|
* It encapsulats all the diffent hook methods
|
||||||
*
|
|
||||||
* @package resources
|
* @package resources
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
||||||
*/
|
*/
|
||||||
class resources_hooks
|
class resources_hooks
|
||||||
{
|
{
|
||||||
|
@ -1,24 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - eTemplate Extension - Resource Select Widgets *
|
* eGroupWare - eTemplate Extension - Resource Select Widgets
|
||||||
* http://www.egroupware.org *
|
*
|
||||||
* Written by Ralf Becker <RalfBecker@outdoor-training.de> *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* -------------------------------------------- *
|
* @package resources
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @link http://www.egroupware.org
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @author RalfBecker-AT-outdoor-training.de
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* eTemplate Extension: select a resource
|
* eTemplate Extension: select a resource
|
||||||
*
|
*
|
||||||
* @package resources
|
* @package resources
|
||||||
* @author RalfBecker-AT-outdoor-training.de
|
*/
|
||||||
* @license GPL
|
|
||||||
*/
|
|
||||||
class resources_select_widget
|
class resources_select_widget
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -1,27 +1,22 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - resources - Resource Management System *
|
* eGroupWare - resources
|
||||||
* http://www.egroupware.org *
|
*
|
||||||
* Written by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* and Lukas Weiss <wnz_gh05t@users.sourceforge.net> *
|
* @package resources
|
||||||
* ----------------------------------------------- *
|
* @link http://www.egroupware.org
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
include_once(EGW_INCLUDE_ROOT.'/etemplate/inc/class.so_sql.inc.php');
|
include_once(EGW_INCLUDE_ROOT.'/etemplate/inc/class.so_sql.inc.php');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* General storage object for resources
|
* General storage object for resources
|
||||||
*
|
*
|
||||||
* @package 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
|
class so_resources extends so_sql
|
||||||
{
|
{
|
||||||
|
@ -1,22 +1,17 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - resources *
|
* eGroupWare - resources
|
||||||
* http://www.egroupware.org *
|
*
|
||||||
* -------------------------------------------- *
|
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @package resources
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @link http://www.egroupware.org
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
* -------------------------------------------- *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ACL userinterface object for resources
|
* ACL userinterface object for resources
|
||||||
*
|
*
|
||||||
* @package resources
|
* @package resources
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
||||||
*/
|
*/
|
||||||
class ui_acl
|
class ui_acl
|
||||||
{
|
{
|
||||||
|
@ -1,25 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - resources - Resource Management System *
|
* eGroupWare - resources
|
||||||
* http://www.egroupware.org *
|
*
|
||||||
* Written by Lukas Weiss <wnz_gh05t@users.sourceforge.net> and *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
* @package resources
|
||||||
* ----------------------------------------------- *
|
* @link http://www.egroupware.org
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* General userinterface object for resources
|
* General userinterface object for resources
|
||||||
*
|
*
|
||||||
* @package 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
|
class ui_resources
|
||||||
{
|
{
|
||||||
|
@ -1,16 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - resources - Resource Management System *
|
* eGroupWare - resources
|
||||||
* http://www.egroupware.org *
|
* http://www.egroupware.org
|
||||||
* Written by Lukas Weiss [ichLukas@gmx.net] and *
|
*
|
||||||
* Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* ----------------------------------------------- *
|
* @package resources
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
$GLOBALS['egw_info']['flags'] = array(
|
$GLOBALS['egw_info']['flags'] = array(
|
||||||
'currentapp' => 'resources',
|
'currentapp' => 'resources',
|
||||||
|
@ -1,17 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare - resources *
|
* eGroupWare - resources
|
||||||
* http://www.egroupware.org *
|
* http://www.egroupware.org
|
||||||
* *
|
*
|
||||||
* Written by Cornelius Weiss [egw@von-und-zu-weiss.de] *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* ----------------------------------------------- *
|
* @package resources
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @version $Id$
|
||||||
* option) any later version. *
|
*/
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$*/
|
|
||||||
|
|
||||||
$setup_info['resources']['name'] = 'resources';
|
$setup_info['resources']['name'] = 'resources';
|
||||||
$setup_info['resources']['title'] = 'Resources';
|
$setup_info['resources']['title'] = 'Resources';
|
||||||
|
@ -1,25 +1,25 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**
|
||||||
* eGroupWare SiteMgr - Web Content Management *
|
* eGroupWare - resources
|
||||||
* http://www.egroupware.org *
|
* http://www.egroupware.org
|
||||||
* -------------------------------------------- *
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
* under the terms of the GNU General Public License as published by the *
|
* @package resources
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||||
* option) any later version. *
|
* @author Lukas Weiss <wnz_gh05t@users.sourceforge.net>
|
||||||
\**************************************************************************/
|
* @version $Id$
|
||||||
|
*/
|
||||||
/* $Id$ */
|
|
||||||
require_once (EGW_INCLUDE_ROOT.'/etemplate/inc/class.sitemgr_module.inc.php');
|
require_once (EGW_INCLUDE_ROOT.'/etemplate/inc/class.sitemgr_module.inc.php');
|
||||||
|
|
||||||
class module_resources extends sitemgr_module
|
class module_resources extends sitemgr_module
|
||||||
{
|
|
||||||
function module_resources()
|
|
||||||
{
|
{
|
||||||
$this->arguments = array();
|
function module_resources()
|
||||||
$this->properties = array();
|
{
|
||||||
$this->title = lang('Resources');
|
$this->arguments = array();
|
||||||
$this->description = lang('This module displays the resources app');
|
$this->properties = array();
|
||||||
$this->etemplate_method = 'resources.ui_resources.index';
|
$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