[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] admin/inc hook_admin.inc.php, 1.36 hook_add_def_pref.
From: |
powerstat |
Subject: |
[Phpgroupware-cvs] admin/inc hook_admin.inc.php, 1.36 hook_add_def_pref.inc.php, 1.3 hook_config.inc.php, 1.10 hook_view_user.inc.php, 1.3 hook_acl_manager.inc.php, 1.6 hook_manual.inc.php, 1.6 hook_after_navbar.inc.php, 1.8 hook_sidebox_menu.inc.php, 1.3 class.boaccess_history.inc.php, 1.6 hook_deleteaccount.inc.php, 1.5 |
Date: |
Wed, 11 May 2005 08:59:00 +0200 |
Update of admin/inc
Modified Files:
Branch: MAIN
hook_admin.inc.php lines: +8 -11
hook_add_def_pref.inc.php lines: +10 -0
hook_config.inc.php lines: +16 -12
hook_view_user.inc.php lines: +9 -11
hook_acl_manager.inc.php lines: +9 -11
hook_manual.inc.php lines: +10 -13
hook_after_navbar.inc.php lines: +15 -13
hook_sidebox_menu.inc.php lines: +10 -11
class.boaccess_history.inc.php lines: +13 -10
hook_deleteaccount.inc.php lines: +10 -12
Log Message:
Added phpdocs
====================================================
Index: admin/inc/hook_admin.inc.php
diff -u admin/inc/hook_admin.inc.php:1.35 admin/inc/hook_admin.inc.php:1.36
--- admin/inc/hook_admin.inc.php:1.35 Thu Dec 30 07:38:14 2004
+++ admin/inc/hook_admin.inc.php Wed May 11 06:59:37 2005
@@ -1,15 +1,12 @@
<?php
-
/**************************************************************************\
- * phpGroupWare - administration
*
- * http://www.phpgroupware.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$ */
+ /**
+ * Administration - Admin hook
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
if (! $GLOBALS['phpgw']->acl->check('site_config_access',1,'admin'))
{
====================================================
Index: admin/inc/hook_add_def_pref.inc.php
diff -u admin/inc/hook_add_def_pref.inc.php:1.2
admin/inc/hook_add_def_pref.inc.php:1.3
--- admin/inc/hook_add_def_pref.inc.php:1.2 Sat Sep 1 23:32:40 2001
+++ admin/inc/hook_add_def_pref.inc.php Wed May 11 06:59:37 2005
@@ -1,4 +1,14 @@
<?php
+ /**
+ * Administration - Preferences hook
+ *
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
+
$GLOBALS['pref']->change('common','maxmatchs','15');
$GLOBALS['pref']->change('common','theme','default');
$GLOBALS['pref']->change('common','tz_offset',0);
====================================================
Index: admin/inc/hook_config.inc.php
diff -u admin/inc/hook_config.inc.php:1.9 admin/inc/hook_config.inc.php:1.10
--- admin/inc/hook_config.inc.php:1.9 Thu Dec 30 07:38:14 2004
+++ admin/inc/hook_config.inc.php Wed May 11 06:59:37 2005
@@ -1,17 +1,21 @@
<?php
- /**************************************************************************\
- * phpGroupWare *
- * http://www.phpgroupware.org *
- * Written by Mark Peters <address@hidden> *
- * -------------------------------------------- *
- * 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$ */
+ /**
+ * Administration - Configuration hook
+ *
+ * @author Mark Peters <address@hidden>
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
+ /**
+ * Encryption algorithm
+ *
+ * @param array $config
+ * @return string HTML selecbox options
+ */
function encryptalgo($config)
{
if(@function_exists('mcrypt_list_algorithms'))
====================================================
Index: admin/inc/hook_view_user.inc.php
diff -u admin/inc/hook_view_user.inc.php:1.2
admin/inc/hook_view_user.inc.php:1.3
--- admin/inc/hook_view_user.inc.php:1.2 Tue Sep 4 01:12:13 2001
+++ admin/inc/hook_view_user.inc.php Wed May 11 06:59:37 2005
@@ -1,15 +1,13 @@
<?php
-
/**************************************************************************\
- * phpGroupWare - Administration
*
- * http://www.phpgroupware.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$ */
+ /**
+ * Administration - View user hook
+ *
+ * @copyright Copyright (C) 2001,2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
$GLOBALS['menuData'][] = array(
'description' => 'Login History',
====================================================
Index: admin/inc/hook_acl_manager.inc.php
diff -u admin/inc/hook_acl_manager.inc.php:1.5
admin/inc/hook_acl_manager.inc.php:1.6
--- admin/inc/hook_acl_manager.inc.php:1.5 Thu Dec 30 07:38:14 2004
+++ admin/inc/hook_acl_manager.inc.php Wed May 11 06:59:37 2005
@@ -1,15 +1,13 @@
<?php
-
/**************************************************************************\
- * phpGroupWare
*
- * http://www.phpgroupware.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$ */
+ /**
+ * Administration - ACL manager hook
+ *
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
$GLOBALS['acl_manager']['admin']['site_config_access'] = array(
'name' => 'Deny access to site configuration',
====================================================
Index: admin/inc/hook_manual.inc.php
diff -u admin/inc/hook_manual.inc.php:1.5 admin/inc/hook_manual.inc.php:1.6
--- admin/inc/hook_manual.inc.php:1.5 Mon May 14 00:18:11 2001
+++ admin/inc/hook_manual.inc.php Wed May 11 06:59:37 2005
@@ -1,16 +1,13 @@
<?php
- /**************************************************************************\
- * phpGroupWare - Calendar Holidays *
- * http://www.phpgroupware.org *
- * Written by Mark Peters <address@hidden> *
- * -------------------------------------------- *
- * 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$ */
+ /**
+ * Administration - User manual hook
+ *
+ * @copyright Copyright (C) 2001,2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
// Only Modify the $file variable.....
$file = Array(
@@ -18,6 +15,6 @@
'Session Management' => 'session.php',
'Other' => 'other.php'
);
-//Do not modify below this line
+// Do not modify below this line
display_manual_section($appname,$file);
?>
====================================================
Index: admin/inc/hook_after_navbar.inc.php
diff -u admin/inc/hook_after_navbar.inc.php:1.7
admin/inc/hook_after_navbar.inc.php:1.8
--- admin/inc/hook_after_navbar.inc.php:1.7 Thu Dec 30 07:38:14 2004
+++ admin/inc/hook_after_navbar.inc.php Wed May 11 06:59:37 2005
@@ -1,18 +1,16 @@
<?php
-
/**************************************************************************\
- * phpGroupWare - Admin
*
- * http://www.phpgroupware.org
*
- * This application written by Miles Lott <address@hidden> *
- * --------------------------------------------
*
- * 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.
*
-
\**************************************************************************/
+ /**
+ * Administration - After navigationbar hook
+ *
+ * @author Miles Lott <address@hidden>
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
- /* $Id$ */
-
- /* Check currentapp and API upgrade status */
+ // Check currentapp and API upgrade status
if ($GLOBALS['phpgw_info']['flags']['currentapp'] != 'home' &&
$GLOBALS['phpgw_info']['flags']['currentapp'] != 'welcome' &&
@@ -33,6 +31,10 @@
$_versionfile =
$GLOBALS['phpgw']->common->get_app_dir($app_name) . '/setup/setup.inc.php';
if(file_exists($_versionfile))
{
+
+ /**
+ * Include admins setup
+ */
include($_versionfile);
/* echo '<br>' . $_versionfile . ','; */
$_file_version =
$setup_info[$app_name]['version'];
====================================================
Index: admin/inc/hook_sidebox_menu.inc.php
diff -u admin/inc/hook_sidebox_menu.inc.php:1.2
admin/inc/hook_sidebox_menu.inc.php:1.3
--- admin/inc/hook_sidebox_menu.inc.php:1.2 Thu Dec 30 07:38:14 2004
+++ admin/inc/hook_sidebox_menu.inc.php Wed May 11 06:59:37 2005
@@ -1,16 +1,15 @@
<?php
-
/**************************************************************************\
- * phpGroupWare
*
- * http://www.phpgroupware.org
*
- * Written by Pim Snel <address@hidden>
*
- * --------------------------------------------
*
- * 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.
*
-
\**************************************************************************/
+ /**
+ * Administration - Sidebox menu hook
+ *
+ * @author Pim Snel <address@hidden>
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
- /* $Id$ */
{
/*
====================================================
Index: admin/inc/class.boaccess_history.inc.php
diff -u admin/inc/class.boaccess_history.inc.php:1.5
admin/inc/class.boaccess_history.inc.php:1.6
--- admin/inc/class.boaccess_history.inc.php:1.5 Thu Dec 30 07:38:14 2004
+++ admin/inc/class.boaccess_history.inc.php Wed May 11 06:59:37 2005
@@ -1,16 +1,19 @@
<?php
-
/**************************************************************************\
- * phpGroupWare - Administration
*
- * http://www.phpgroupware.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.
*
-
\**************************************************************************/
+ /**
+ * Administration
+ *
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @version $Id$
+ */
- /* $Id$ */
+ /**
+ * History access business object
+ *
+ * @package admin
+ */
class boaccess_history
{
function boaccess_history()
====================================================
Index: admin/inc/hook_deleteaccount.inc.php
diff -u admin/inc/hook_deleteaccount.inc.php:1.4
admin/inc/hook_deleteaccount.inc.php:1.5
--- admin/inc/hook_deleteaccount.inc.php:1.4 Tue Nov 27 04:53:17 2001
+++ admin/inc/hook_deleteaccount.inc.php Wed May 11 06:59:37 2005
@@ -1,16 +1,14 @@
<?php
- /**************************************************************************\
- * phpGroupWare *
- * http://www.phpgroupware.org *
- * Written by Mark Peters <address@hidden> *
- * -------------------------------------------- *
- * 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$ */
+ /**
+ * Administration - Delete account hook
+ *
+ * @author Mark Peters <address@hidden>
+ * @copyright Copyright (C) 2001,2005 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @package admin
+ * @subpackage hooks
+ * @version $Id$
+ */
if($GLOBALS['HTTP_POST_VARS']['account_id'])
{
- [Phpgroupware-cvs] admin/inc hook_admin.inc.php, 1.36 hook_add_def_pref.inc.php, 1.3 hook_config.inc.php, 1.10 hook_view_user.inc.php, 1.3 hook_acl_manager.inc.php, 1.6 hook_manual.inc.php, 1.6 hook_after_navbar.inc.php, 1.8 hook_sidebox_menu.inc.php, 1.3 class.boaccess_history.inc.php, 1.6 hook_deleteaccount.inc.php, 1.5, powerstat, 2005/05/16
- [Phpgroupware-cvs] admin/inc hook_admin.inc.php, 1.36 hook_add_def_pref.inc.php, 1.3 hook_config.inc.php, 1.10 hook_view_user.inc.php, 1.3 hook_acl_manager.inc.php, 1.6 hook_manual.inc.php, 1.6 hook_after_navbar.inc.php, 1.8 hook_sidebox_menu.inc.php, 1.3 class.boaccess_history.inc.php, 1.6 hook_deleteaccount.inc.php, 1.5, powerstat, 2005/05/16
- [Phpgroupware-cvs] admin/inc hook_admin.inc.php, 1.36 hook_add_def_pref.inc.php, 1.3 hook_config.inc.php, 1.10 hook_view_user.inc.php, 1.3 hook_acl_manager.inc.php, 1.6 hook_manual.inc.php, 1.6 hook_after_navbar.inc.php, 1.8 hook_sidebox_menu.inc.php, 1.3 class.boaccess_history.inc.php, 1.6 hook_deleteaccount.inc.php, 1.5, powerstat, 2005/05/17
- [Phpgroupware-cvs] admin/inc hook_admin.inc.php, 1.36 hook_add_def_pref.inc.php, 1.3 hook_config.inc.php, 1.10 hook_view_user.inc.php, 1.3 hook_acl_manager.inc.php, 1.6 hook_manual.inc.php, 1.6 hook_after_navbar.inc.php, 1.8 hook_sidebox_menu.inc.php, 1.3 class.boaccess_history.inc.php, 1.6 hook_deleteaccount.inc.php, 1.5,
powerstat <=
- Prev by Date:
[Phpgroupware-cvs] property/inc class.soadmin_location.inc.php, 1.11
- Next by Date:
[Phpgroupware-cvs] phpbrain index.php,1.3
- Previous by thread:
[Phpgroupware-cvs] admin/inc hook_admin.inc.php, 1.36 hook_add_def_pref.inc.php, 1.3 hook_config.inc.php, 1.10 hook_view_user.inc.php, 1.3 hook_acl_manager.inc.php, 1.6 hook_manual.inc.php, 1.6 hook_after_navbar.inc.php, 1.8 hook_sidebox_menu.inc.php, 1.3 class.boaccess_history.inc.php, 1.6 hook_deleteaccount.inc.php, 1.5
- Next by thread:
[Phpgroupware-cvs] admin/inc class.uicurrentsessions.inc.php,1.11
- Index(es):