phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] calendar/inc hook_home_week.inc.php, 1.4 hook_home_ye


From: powerstat
Subject: [Phpgroupware-cvs] calendar/inc hook_home_week.inc.php, 1.4 hook_home_year.inc.php, 1.4 hook_home.inc.php, 1.40 hook_deleteaccount.inc.php, 1.5 hook_preferences.inc.php, 1.24 hook_add_def_pref.inc.php, 1.2 hook_manual.inc.php, 1.5 hook_home_planner.inc.php, 1.3 hook_settings.inc.php, 1.3 hook_home_day.inc.php, 1.4 hook_admin.inc.php, 1.13 hook_email.inc.php, 1.6 hook_home_month.inc.php, 1.4
Date: Wed, 11 May 2005 14:00:00 +0200

Update of calendar/inc

Modified Files:
     Branch: MAIN
            hook_home_week.inc.php lines: +11 -14
            hook_home_year.inc.php lines: +11 -14
            hook_home.inc.php lines: +15 -14
            hook_deleteaccount.inc.php lines: +10 -11
            hook_preferences.inc.php lines: +12 -12
            hook_add_def_pref.inc.php lines: +10 -12
            hook_manual.inc.php lines: +11 -13
            hook_home_planner.inc.php lines: +11 -14
            hook_settings.inc.php lines: +12 -15
            hook_home_day.inc.php lines: +11 -14
            hook_admin.inc.php lines: +12 -12
            hook_email.inc.php lines: +11 -14
            hook_home_month.inc.php lines: +11 -14

Log Message:
Added phpdocs

====================================================
Index: calendar/inc/hook_home_week.inc.php
diff -u calendar/inc/hook_home_week.inc.php:1.3 
calendar/inc/hook_home_week.inc.php:1.4
--- calendar/inc/hook_home_week.inc.php:1.3     Sat Oct 26 00:26:51 2002
+++ calendar/inc/hook_home_week.inc.php Wed May 11 12:00:06 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * 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$ */
+       /**
+       * Calendar - home-week hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001-2002,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )

====================================================
Index: calendar/inc/hook_home_year.inc.php
diff -u calendar/inc/hook_home_year.inc.php:1.3 
calendar/inc/hook_home_year.inc.php:1.4
--- calendar/inc/hook_home_year.inc.php:1.3     Sat Oct 26 00:26:51 2002
+++ calendar/inc/hook_home_year.inc.php Wed May 11 12:00:06 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * 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$ */
+       /**
+       * Calendar - home-year hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001-2002,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )

====================================================
Index: calendar/inc/hook_home.inc.php
diff -u calendar/inc/hook_home.inc.php:1.39 calendar/inc/hook_home.inc.php:1.40
--- calendar/inc/hook_home.inc.php:1.39 Sat Nov 23 14:19:33 2002
+++ calendar/inc/hook_home.inc.php      Wed May 11 12:00:06 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * 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$ */
+       /**
+       * Calendar - home hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001-2002,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )
@@ -50,6 +47,10 @@
                {
                        $_page = 'day';
                }
+
+               /**
+               * Include page relevant home hook (day,week,month,year)
+               */
                
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/hook_home_'.$_page.'.inc.php');

                $app_id = $GLOBALS['phpgw']->applications->name2id('calendar');

====================================================
Index: calendar/inc/hook_deleteaccount.inc.php
diff -u calendar/inc/hook_deleteaccount.inc.php:1.4 
calendar/inc/hook_deleteaccount.inc.php:1.5
--- calendar/inc/hook_deleteaccount.inc.php:1.4 Sat Jan 12 01:33:40 2002
+++ calendar/inc/hook_deleteaccount.inc.php     Wed May 11 12:00:06 2005
@@ -1,15 +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$ */
+       /**
+       * Calendar - Delete account hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       */

        // Delete all records for a user
        if(intval($GLOBALS['HTTP_POST_VARS']['new_owner'])==0)

====================================================
Index: calendar/inc/hook_preferences.inc.php
diff -u calendar/inc/hook_preferences.inc.php:1.23 
calendar/inc/hook_preferences.inc.php:1.24
--- calendar/inc/hook_preferences.inc.php:1.23  Sun Mar 30 01:41:37 2003
+++ calendar/inc/hook_preferences.inc.php       Wed May 11 12:00:06 2005
@@ -1,15 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare                                                             *
-  * http://www.phpgroupware.org                                              *
-  * Written by Joseph Engo <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$ */
+       /**
+       * Calendar - Preferences hook
+       *
+       * @author Joseph Engo <address@hidden>
+       * @copyright Copyright (C) 2001-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       */
+
 {
 // Only Modify the $file and $title variables.....
        $title = $appname;
@@ -18,7 +18,7 @@
                'Grant Access'    => 
$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
                'Edit Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app='.$appname.'&cats_level=True&global_cats=True')
        );
-//Do not modify below this line
+// Do not modify below this line
        display_section($appname,$title,$file);
 }
 ?>

====================================================
Index: calendar/inc/hook_add_def_pref.inc.php
diff -u calendar/inc/hook_add_def_pref.inc.php:1.1 
calendar/inc/hook_add_def_pref.inc.php:1.2
--- calendar/inc/hook_add_def_pref.inc.php:1.1  Fri Jun  8 02:56:18 2001
+++ calendar/inc/hook_add_def_pref.inc.php      Wed May 11 12:00:06 2005
@@ -1,16 +1,14 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * 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$ */
+       /**
+       * Calendar - Preferences 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 calendar
+       * @subpackage hooks
+       * @version $Id$
+       */

   global $pref;
   $pref->change("calendar","weekstarts","Monday");

====================================================
Index: calendar/inc/hook_manual.inc.php
diff -u calendar/inc/hook_manual.inc.php:1.4 
calendar/inc/hook_manual.inc.php:1.5
--- calendar/inc/hook_manual.inc.php:1.4        Mon May 14 00:18:11 2001
+++ calendar/inc/hook_manual.inc.php    Wed May 11 12:00:06 2005
@@ -1,16 +1,14 @@
 <?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$ */
+       /**
+       * Calendar - manual 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 calendar
+       * @subpackage hooks
+       * @version $Id$
+       */

 // Only Modify the $file variable.....
        $file = Array(
@@ -18,6 +16,6 @@
                'Adding'        => 'add.php',
                'Edit/Deleting' => 'edit_delete.php'
        );
-//Do not modify below this line
+// Do not modify below this line
        display_manual_section($appname,$file);
 ?>

====================================================
Index: calendar/inc/hook_home_planner.inc.php
diff -u calendar/inc/hook_home_planner.inc.php:1.2 
calendar/inc/hook_home_planner.inc.php:1.3
--- calendar/inc/hook_home_planner.inc.php:1.2  Sat Nov 23 14:19:33 2002
+++ calendar/inc/hook_home_planner.inc.php      Wed May 11 12:00:06 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar - Planner                                        *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * 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$ */
+       /**
+       * Calendar - home-planner hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001-2002,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )

====================================================
Index: calendar/inc/hook_settings.inc.php
diff -u calendar/inc/hook_settings.inc.php:1.2 
calendar/inc/hook_settings.inc.php:1.3
--- calendar/inc/hook_settings.inc.php:1.2      Sun Mar 30 01:41:37 2003
+++ calendar/inc/hook_settings.inc.php  Wed May 11 12:00:06 2005
@@ -1,19 +1,16 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - Calendar Preferences                                   
   *
-       * http://www.phpgroupware.org                                           
   *
-       * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-       *          http://www.radix.net/~cknudsen                               
   *
-       * Modified by Mark Peters <address@hidden>                       *
-       * Modified by Ralf Becker <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$ */
+       /**
+       * Calendar - settings hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @author Ralf Becker <address@hidden>
+       * @copyright Copyright (C) 2001-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        create_check_box('show default view on main 
screen','mainscreen_showevents');


====================================================
Index: calendar/inc/hook_home_day.inc.php
diff -u calendar/inc/hook_home_day.inc.php:1.3 
calendar/inc/hook_home_day.inc.php:1.4
--- calendar/inc/hook_home_day.inc.php:1.3      Sat Oct 26 00:26:51 2002
+++ calendar/inc/hook_home_day.inc.php  Wed May 11 12:00:06 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * 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$ */
+       /**
+       * Calendar - home-day hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001-2002,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )

====================================================
Index: calendar/inc/hook_admin.inc.php
diff -u calendar/inc/hook_admin.inc.php:1.12 
calendar/inc/hook_admin.inc.php:1.13
--- calendar/inc/hook_admin.inc.php:1.12        Wed Feb  2 23:05:58 2005
+++ calendar/inc/hook_admin.inc.php     Wed May 11 12:00:06 2005
@@ -1,15 +1,15 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare                                                          
   *
-       * http://www.phpgroupware.org                                           
   *
-       * Written by Joseph Engo <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$ */
+       /**
+       * Calendar - Admin hook
+       *
+       * @author Joseph Engo <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 calendar
+       * @subpackage hooks
+       * @version $Id$
+       */
+
        {

 // Only Modify the $file and $title variables.....
@@ -20,7 +20,7 @@
                        'Calendar Holiday Management'   => 
$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uiholiday.admin'),
                        'Global categories'                             => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname='
 . $appname . '&global_cats=True')
                );
-//Do not modify below this line
+// Do not modify below this line
                display_section($appname,$file);
        }
 ?>

====================================================
Index: calendar/inc/hook_email.inc.php
diff -u calendar/inc/hook_email.inc.php:1.5 calendar/inc/hook_email.inc.php:1.6
--- calendar/inc/hook_email.inc.php:1.5 Sun Nov 24 10:34:28 2002
+++ calendar/inc/hook_email.inc.php     Wed May 11 12:00:06 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * 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$ */
+       /**
+       * Calendar - EMail hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001-2002,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        global $calendar_id;


====================================================
Index: calendar/inc/hook_home_month.inc.php
diff -u calendar/inc/hook_home_month.inc.php:1.3 
calendar/inc/hook_home_month.inc.php:1.4
--- calendar/inc/hook_home_month.inc.php:1.3    Sat Oct 26 00:26:51 2002
+++ calendar/inc/hook_home_month.inc.php        Wed May 11 12:00:06 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * 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$ */
+       /**
+       * Calendar - home-month hook
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001-2002,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @subpackage hooks
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )






reply via email to

[Prev in Thread] Current Thread [Next in Thread]