phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] email/inc hook_login.inc.php, 1.3 hook_manual.inc.php


From: powerstat
Subject: [Phpgroupware-cvs] email/inc hook_login.inc.php, 1.3 hook_manual.inc.php, 1.11 functions.inc.php, 1.120 class.boaction.inc.php, 1.20 hook_email_add_def_pref.inc.php, 1.8 hook_notifywindow.inc.php, 1.14 hook_home.inc.php, 1.59 hook_admin.inc.php, 1.10 hook_preferences.inc.php, 1.17 hook_settings.inc.php, 1.6 hook_notifywindow_simple.inc.php, 1.12
Date: Wed, 11 May 2005 16:08:00 +0200

Update of email/inc

Modified Files:
     Branch: MAIN
            hook_login.inc.php lines: +10 -0
            hook_manual.inc.php lines: +11 -13
            functions.inc.php lines: +11 -14
            class.boaction.inc.php lines: +18 -17
            hook_email_add_def_pref.inc.php lines: +10 -0
            hook_notifywindow.inc.php lines: +9 -11
            hook_home.inc.php lines: +9 -11
            hook_admin.inc.php lines: +10 -12
            hook_preferences.inc.php lines: +10 -11
            hook_settings.inc.php lines: +9 -12
            hook_notifywindow_simple.inc.php lines: +9 -11

Log Message:
Added phpdocs

====================================================
Index: email/inc/hook_login.inc.php
diff -u email/inc/hook_login.inc.php:1.2 email/inc/hook_login.inc.php:1.3
--- email/inc/hook_login.inc.php:1.2    Thu Dec 30 23:13:50 2004
+++ email/inc/hook_login.inc.php        Wed May 11 14:08:27 2005
@@ -1,4 +1,14 @@
 <?php
+       /**
+       * EMail - Login 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 email
+       * @subpackage hooks
+       * @version $Id$
+       */
+
        $sql  = 'DELETE FROM phpgw_anglemail ';
        $sql .= "WHERE account_id='" . 
intval($GLOBALS['phpgw_info']["user"]["account_id"]) . "'";
     $GLOBALS['phpgw']->db->query($sql, __LINE__, __FILE__);

====================================================
Index: email/inc/hook_manual.inc.php
diff -u email/inc/hook_manual.inc.php:1.10 email/inc/hook_manual.inc.php:1.11
--- email/inc/hook_manual.inc.php:1.10  Sun Mar 13 23:22:44 2005
+++ email/inc/hook_manual.inc.php       Wed May 11 14:08:27 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$ */
+       /**
+       * EMail - Manual 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 email
+       * @subpackage hooks
+       * @version $Id$
+       */

        $file = Array(
                'Viewing'       => 'viewing.php',
@@ -18,6 +16,6 @@
                'Composing/Saving/Deleting'     => 'other.php',
                'Notes'         => 'notes.php'
        );
-//Do not modify below this line
+// Do not modify below this line
        display_manual_section($appname,$file);
 ?>

====================================================
Index: email/inc/functions.inc.php
diff -u email/inc/functions.inc.php:1.119 email/inc/functions.inc.php:1.120
--- email/inc/functions.inc.php:1.119   Sun Mar 13 23:22:44 2005
+++ email/inc/functions.inc.php Wed May 11 14:08:27 2005
@@ -1,17 +1,15 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - E-Mail                                                 
        *
-       * http://www.phpgroupware.org                                           
        *
-       * Based on Aeromail by Mark Cushman <address@hidden>                    
*
-       *          http://the.cushman.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.                                           
                *
-       
\**************************************************************************/
-
-       /* $Id$ */
+       /**
+       * EMail
+       *
+       * @author Mark C3ushman <address@hidden>
+       * @copyright Copyright (C) xxxx Mark C3ushman
+       * @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 email
+       * @version $Id$
+       * @internal Based on Aeromail http://the.cushman.net/
+       */

        $d1 = strtolower(substr(APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )
@@ -31,5 +29,4 @@
        this is undesirable - turn it off.
        */
        set_magic_quotes_runtime(0);
-
 ?>

====================================================
Index: email/inc/class.boaction.inc.php
diff -u email/inc/class.boaction.inc.php:1.19 
email/inc/class.boaction.inc.php:1.20
--- email/inc/class.boaction.inc.php:1.19       Sun Mar 13 23:22:43 2005
+++ email/inc/class.boaction.inc.php    Wed May 11 14:08:27 2005
@@ -1,22 +1,23 @@
 <?php
-       
/**************************************************************************\
-       * AngleMail - email BO Class for Message Actions                        
                *
-       * http://www.anglemail.org                                              
                        *
-       * Written by Angelo (Angles) Puglisi <address@hidden>           *
-       * Copyright (C) 2001, 2002 Angelo Tony Puglisi (Angles)                 
        *
-       * --------------------------------------------                          
                        *
-       *  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$ */
+       /**
+       * EMail - Message Actions
+       *
+       * @author Angelo (Angles) Puglisi <address@hidden>
+       * @copyright Copyright (C) 2001-2002 Angelo Tony Puglisi (Angles)
+       * @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 email
+       * @version $Id$
+       * @internal Based on AngleMail http://www.anglemail.org/
+       */

-       /*!
-       @class boaction
-       @abstract Processes client side requests for actions like deleting or 
moving mail, getting attachments and
-       for viewing html mail. Also contains code for an alternative to the 
redirect as a way to go to the next page view.
+       /**
+       * Message Actions
+       *
+       * Processes client side requests for actions like deleting or moving 
mail,
+       * getting attachments and for viewing html mail. Also contains code for 
an
+       * alternative to the redirect as a way to go to the next page view.
+       * @package email
        */
        class boaction
        {

====================================================
Index: email/inc/hook_email_add_def_pref.inc.php
diff -u email/inc/hook_email_add_def_pref.inc.php:1.7 
email/inc/hook_email_add_def_pref.inc.php:1.8
--- email/inc/hook_email_add_def_pref.inc.php:1.7       Thu Mar 13 21:16:06 2003
+++ email/inc/hook_email_add_def_pref.inc.php   Wed May 11 14:08:27 2005
@@ -1,4 +1,14 @@
 <?php
+       /**
+       * EMail - 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 email
+       * @subpackage hooks
+       * @version $Id$
+       */
+
   global $pref;
   $pref->change("email","mainscreen_showmail","True");
   $pref->change("email","use_trash_folder","False");

====================================================
Index: email/inc/hook_notifywindow.inc.php
diff -u email/inc/hook_notifywindow.inc.php:1.13 
email/inc/hook_notifywindow.inc.php:1.14
--- email/inc/hook_notifywindow.inc.php:1.13    Sun Mar 13 23:22:44 2005
+++ email/inc/hook_notifywindow.inc.php Wed May 11 14:08:27 2005
@@ -1,15 +1,13 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - E-Mail                                                 
   *
-       * 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$ */
+       /**
+       * EMail - Notify window 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 email
+       * @subpackage hooks
+       * @version $Id$
+       */

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

====================================================
Index: email/inc/hook_home.inc.php
diff -u email/inc/hook_home.inc.php:1.58 email/inc/hook_home.inc.php:1.59
--- email/inc/hook_home.inc.php:1.58    Sun Mar 13 23:22:44 2005
+++ email/inc/hook_home.inc.php Wed May 11 14:08:27 2005
@@ -1,15 +1,13 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - E-Mail                                                    *
-  * 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$ */
+       /**
+       * EMail - Home 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 email
+       * @subpackage hooks
+       * @version $Id$
+       */

        $d1 = 
strtolower(substr($GLOBALS['phpgw_info']['server']['app_inc'],0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )

====================================================
Index: email/inc/hook_admin.inc.php
diff -u email/inc/hook_admin.inc.php:1.9 email/inc/hook_admin.inc.php:1.10
--- email/inc/hook_admin.inc.php:1.9    Sun Mar 13 23:22:44 2005
+++ email/inc/hook_admin.inc.php        Wed May 11 14:08:27 2005
@@ -1,16 +1,14 @@
 <?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$ */
+       /**
+       * EMail - Admin hook
+       *
+       * @author Joseph Engo <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 email
+       * @subpackage hooks
+       * @version $Id$
+       */
 {
 // Only Modify the $file and $title variables.....
        $title = $appname;

====================================================
Index: email/inc/hook_preferences.inc.php
diff -u email/inc/hook_preferences.inc.php:1.16 
email/inc/hook_preferences.inc.php:1.17
--- email/inc/hook_preferences.inc.php:1.16     Sun Mar 13 23:22:44 2005
+++ email/inc/hook_preferences.inc.php  Wed May 11 14:08:27 2005
@@ -1,16 +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.                                              *
-  \**************************************************************************/
+       /**
+       * EMail - Preferences hook
+       *
+       * @author Joseph Engo <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 email
+       * @subpackage hooks
+       * @version $Id$
+       */

-  /* $Id$ */
 {
        $title = $appname;
        $file = Array(

====================================================
Index: email/inc/hook_settings.inc.php
diff -u email/inc/hook_settings.inc.php:1.5 email/inc/hook_settings.inc.php:1.6
--- email/inc/hook_settings.inc.php:1.5 Sun Mar 13 23:22:44 2005
+++ email/inc/hook_settings.inc.php     Wed May 11 14:08:27 2005
@@ -1,16 +1,13 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - E-Mail Preferences Handlers                            
   *
-       * 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$ */
-
+       /**
+       * EMail - Settings 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 email
+       * @subpackage hooks
+       * @version $Id$
+       */

        list(,$acctnum) = explode('/',$_GET['prefix']);


====================================================
Index: email/inc/hook_notifywindow_simple.inc.php
diff -u email/inc/hook_notifywindow_simple.inc.php:1.11 
email/inc/hook_notifywindow_simple.inc.php:1.12
--- email/inc/hook_notifywindow_simple.inc.php:1.11     Sun Mar 13 23:22:44 2005
+++ email/inc/hook_notifywindow_simple.inc.php  Wed May 11 14:08:27 2005
@@ -1,15 +1,13 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - E-Mail                                                      
                                        *
-  * 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$ */
+       /**
+       * EMail - Simple notify window 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 email
+       * @subpackage hooks
+       * @version $Id$
+       */

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






reply via email to

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