phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] tts index.php, 1.53 viewticket_details.php, 1.48 test


From: powerstat
Subject: [Phpgroupware-cvs] tts index.php, 1.53 viewticket_details.php, 1.48 test.php, 1.3 admin.php, 1.4 newticket.php, 1.34
Date: Tue, 10 May 2005 18:12:00 +0200

Update of tts

Modified Files:
     Branch: MAIN
            index.php lines: +12 -11
            viewticket_details.php lines: +12 -12
            test.php lines: +11 -1
            admin.php lines: +11 -10
            newticket.php lines: +11 -12

Log Message:
Added phpdocs

====================================================
Index: tts/index.php
diff -u tts/index.php:1.52 tts/index.php:1.53
--- tts/index.php:1.52  Tue Mar 22 09:35:38 2005
+++ tts/index.php       Tue May 10 16:12:38 2005
@@ -1,15 +1,12 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - Trouble Ticket System                                  
   *
-       * 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$ */
+       /**
+       * Trouble Ticket System
+       *
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @version $Id$
+       */

        /* Note to self:
        ** Self ... heres the query to use when limiting access to entrys 
within a group
@@ -28,6 +25,10 @@
        $GLOBALS['phpgw_info']['flags']['enable_contacts_class'] = True;
        $GLOBALS['phpgw_info']['flags']['enable_categories_class'] = True;
        $GLOBALS['phpgw_info']['flags']['enable_nextmatchs_class'] = True;
+
+       /**
+        * Include phpgroupware header
+        */
        include('../header.inc.php');

        $GLOBALS['phpgw']->historylog = 
createobject('phpgwapi.historylog','tts');

====================================================
Index: tts/viewticket_details.php
diff -u tts/viewticket_details.php:1.47 tts/viewticket_details.php:1.48
--- tts/viewticket_details.php:1.47     Wed Dec 15 13:57:00 2004
+++ tts/viewticket_details.php  Tue May 10 16:12:38 2005
@@ -1,16 +1,12 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - Trouble Ticket System                                  
   *
-       * 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$
-       // $Source$
+       /**
+       * Trouble Ticket System
+       *
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @version $Id$
+       */

        $GLOBALS['phpgw_info']['flags'] = array('enable_nextmatchs_class' => 
true,
                                                'enable_categories_class' => 
true,
@@ -28,6 +24,10 @@
                $GLOBALS['phpgw_info']['flags']['nonavbar'] = True;
                $GLOBALS['phpgw_info']['flags']['enable_config_class'] = True;
        }
+
+       /**
+        * Include phpgroupware header
+        */
        include('../header.inc.php');

        $GLOBALS['phpgw']->config->read_repository();

====================================================
Index: tts/test.php
diff -u tts/test.php:1.2 tts/test.php:1.3
--- tts/test.php:1.2    Mon Oct 11 09:43:14 2004
+++ tts/test.php        Tue May 10 16:12:38 2005
@@ -1,4 +1,12 @@
 <?php
+       /**
+       * Trouble Ticket System
+       *
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @version $Id$
+       */

 $GLOBALS['phpgw_info']['flags'] = array
 (
@@ -9,10 +17,12 @@
        'enable_browser_class'  => True
 );

+/**
+ * Include phpgroupware header
+ */
 include ('../header.inc.php');

 echo ($GLOBALS['phpgw_info']['user']['preferences']['common']['currency']);

 $GLOBALS['phpgw']->common->phpgw_footer();
-
 ?>
\ No newline at end of file

====================================================
Index: tts/admin.php
diff -u tts/admin.php:1.3 tts/admin.php:1.4
--- tts/admin.php:1.3   Mon Oct 11 09:43:14 2004
+++ tts/admin.php       Tue May 10 16:12:38 2005
@@ -1,15 +1,13 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - TTS                                                       *
-  * 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.                                              *
-  \**************************************************************************/
+       /**
+       * Trouble Ticket System
+       *
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @version $Id$
+       */

-  /* $Id$ */

        $GLOBALS['phpgw_info']['flags'] = array(
                'currentapp'  => 'tts',
@@ -21,6 +19,9 @@
                'enable_nextmatchs_class' => True
        );

+       /**
+        * Include phpgroupware header
+        */
        include('../header.inc.php');

        $option_names = array(lang('Disabled'), lang('Users choice'), 
lang('Force'));

====================================================
Index: tts/newticket.php
diff -u tts/newticket.php:1.33 tts/newticket.php:1.34
--- tts/newticket.php:1.33      Mon Oct 11 15:42:50 2004
+++ tts/newticket.php   Tue May 10 16:12:38 2005
@@ -1,16 +1,12 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - Trouble Ticket System                                  
   *
-       * 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$
-       // $Source$
+       /**
+       * Trouble Ticket System
+       *
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @version $Id$
+       */

        $submit = $_POST['submit'];
        $cancel = $_POST['cancel'];
@@ -28,6 +24,9 @@
        $GLOBALS['phpgw_info']['flags']['enable_categories_class'] = True;
        $GLOBALS['phpgw_info']['flags']['enable_vfs_class'] = True;

+       /**
+        * Include phpgroupware header
+        */
        include('../header.inc.php');

        $GLOBALS['phpgw']->config->read_repository();






reply via email to

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