phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] demo inc/class.bodemo.inc.php inc/class.menu.in...


From: Sigurd Nes
Subject: [Phpgroupware-cvs] demo inc/class.bodemo.inc.php inc/class.menu.in...
Date: Wed, 27 Dec 2006 11:04:41 +0000

CVSROOT:        /sources/phpgroupware
Module name:    demo
Changes by:     Sigurd Nes <sigurdne>   06/12/27 11:04:41

Modified files:
        inc            : class.bodemo.inc.php class.menu.inc.php 
                         class.sodemo.inc.php class.uidemo.inc.php 
                         hook_help.inc.php hook_manual.inc.php 
                         hook_preferences.inc.php hook_settings.inc.php 
        setup          : tables_current.inc.php 

Log message:
        app prefix in class names

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/demo/inc/class.bodemo.inc.php?cvsroot=phpgroupware&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/demo/inc/class.menu.inc.php?cvsroot=phpgroupware&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/demo/inc/class.sodemo.inc.php?cvsroot=phpgroupware&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/demo/inc/class.uidemo.inc.php?cvsroot=phpgroupware&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/demo/inc/hook_help.inc.php?cvsroot=phpgroupware&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/demo/inc/hook_manual.inc.php?cvsroot=phpgroupware&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/demo/inc/hook_preferences.inc.php?cvsroot=phpgroupware&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/demo/inc/hook_settings.inc.php?cvsroot=phpgroupware&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/demo/setup/tables_current.inc.php?cvsroot=phpgroupware&r1=1.3&r2=1.4

Patches:
Index: inc/class.bodemo.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/inc/class.bodemo.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- inc/class.bodemo.inc.php    23 Nov 2006 13:26:51 -0000      1.5
+++ inc/class.bodemo.inc.php    27 Dec 2006 11:04:41 -0000      1.6
@@ -1,22 +1,22 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: a demo aplication.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage demo
-       * @version $Id: class.bodemo.inc.php,v 1.5 2006/11/23 13:26:51 sigurdne 
Exp $
+       * @version $Id: class.bodemo.inc.php,v 1.6 2006/12/27 11:04:41 sigurdne 
Exp $
        */
 
        /**
         * Description
-        * @package hrm
+        * @package demo
         */
 
-       class bodemo
+       class demo_bodemo
        {
                var $start;
                var $query;
@@ -35,7 +35,7 @@
                        'check_perms'   => True
                );
 
-               function bodemo($session=False)
+               function demo_bodemo($session=False)
                {
                        $this->currentapp       = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
                        $this->so                       = 
CreateObject($this->currentapp.'.sodemo');

Index: inc/class.menu.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/inc/class.menu.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- inc/class.menu.inc.php      23 Nov 2006 13:26:51 -0000      1.2
+++ inc/class.menu.inc.php      27 Dec 2006 11:04:41 -0000      1.3
@@ -1,22 +1,22 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: a demo aplication.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage core
-       * @version $Id: class.menu.inc.php,v 1.2 2006/11/23 13:26:51 sigurdne 
Exp $
+       * @version $Id: class.menu.inc.php,v 1.3 2006/12/27 11:04:41 sigurdne 
Exp $
        */
 
        /**
         * Description
-        * @package hrm
+        * @package demo
         */
 
-       class menu
+       class demo_menu
        {
                var $sub;
 
@@ -25,7 +25,7 @@
                        'links' => True,
                );
 
-               function menu($sub='')
+               function demo_menu($sub='')
                {
                        $this->sub              = $sub;
                        $this->currentapp       = 
$GLOBALS['phpgw_info']['flags']['currentapp'];

Index: inc/class.sodemo.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/inc/class.sodemo.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- inc/class.sodemo.inc.php    23 Nov 2006 13:26:51 -0000      1.5
+++ inc/class.sodemo.inc.php    27 Dec 2006 11:04:41 -0000      1.6
@@ -1,29 +1,29 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: a demo aplication.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage demo
-       * @version $Id: class.sodemo.inc.php,v 1.5 2006/11/23 13:26:51 sigurdne 
Exp $
+       * @version $Id: class.sodemo.inc.php,v 1.6 2006/12/27 11:04:41 sigurdne 
Exp $
        */
 
        /**
         * Description
-        * @package hrm
+        * @package demo
         */
 
-       class sodemo
+       class demo_sodemo
        {
                var $grants;
                var $db;
                var $db2;
                var $account;
 
-               function sodemo()
+               function demo_sodemo()
                {
                        $this->currentapp               = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
                        $this->account                  = 
$GLOBALS['phpgw_info']['user']['account_id'];

Index: inc/class.uidemo.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/inc/class.uidemo.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- inc/class.uidemo.inc.php    23 Nov 2006 13:26:51 -0000      1.6
+++ inc/class.uidemo.inc.php    27 Dec 2006 11:04:41 -0000      1.7
@@ -1,22 +1,22 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: a demo aplication.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage demo
-       * @version $Id: class.uidemo.inc.php,v 1.6 2006/11/23 13:26:51 sigurdne 
Exp $
+       * @version $Id: class.uidemo.inc.php,v 1.7 2006/12/27 11:04:41 sigurdne 
Exp $
        */
 
        /**
         * Description
-        * @package hrm
+        * @package demo
         */
 
-       class uidemo
+       class demo_uidemo
        {
                var $grants;
                var $start;
@@ -36,7 +36,7 @@
                        'no_access'=> true
                );
 
-               function uidemo()
+               function demo_uidemo()
                {
                        $GLOBALS['phpgw_info']['flags']['xslt_app'] = True;
                        $this->currentapp               = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
@@ -524,7 +524,7 @@
 
                                                if (isset($values['save']) && 
$values['save'])
                                                {
-                                                       
$GLOBALS['phpgw']->session->appsession('session_data','hrm_training_receipt',$receipt);
+                                                       
$GLOBALS['phpgw']->session->appsession('session_data','demo_receipt',$receipt);
                                                        
$GLOBALS['phpgw']->redirect_link('/index.php', array('menuaction'=> 
$this->currentapp.'.uidemo.index', 'output'=> $output));
                                                }
                                        }

Index: inc/hook_help.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/inc/hook_help.inc.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- inc/hook_help.inc.php       10 Nov 2006 15:05:23 -0000      1.1.1.1
+++ inc/hook_help.inc.php       27 Dec 2006 11:04:41 -0000      1.2
@@ -1,14 +1,14 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: A demo application.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage manual
-       * @version $Id: hook_help.inc.php,v 1.1.1.1 2006/11/10 15:05:23 
sigurdne Exp $
+       * @version $Id: hook_help.inc.php,v 1.2 2006/12/27 11:04:41 sigurdne 
Exp $
        */
 
 
@@ -16,11 +16,11 @@
         * Description
         */
 
-       include(PHPGW_SERVER_ROOT.'/'.'hrm'.'/setup/setup.inc.php');
+       include(PHPGW_SERVER_ROOT.'/'.'demo'.'/setup/setup.inc.php');
 
-       $GLOBALS['phpgw']->help->set_params(array('app_name' => 'hrm',
-                                                       'title' => lang('hrm'),
-                                                       'app_version'   => 
$setup_info['hrm']['version']));
+       $GLOBALS['phpgw']->help->set_params(array('app_name' => 'demo',
+                                                       'title' => lang('demo'),
+                                                       'app_version'   => 
$setup_info['demo']['version']));
        $GLOBALS['phpgw']->help->data[] = array
        (
                'text'                                  => lang('overview'),
@@ -32,8 +32,8 @@
        $GLOBALS['phpgw']->help->data[] = array
        (
                'text'                                  => lang('hrm'),
-               'link'                                  => 
$GLOBALS['phpgw']->help->check_help_file('hrm.php'),
-               'lang_link_statustext'  => lang('hrm')
+               'link'                                  => 
$GLOBALS['phpgw']->help->check_help_file('demo.php'),
+               'lang_link_statustext'  => lang('demo')
        );
 
        $GLOBALS['phpgw']->help->data[] = array

Index: inc/hook_manual.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/inc/hook_manual.inc.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- inc/hook_manual.inc.php     10 Nov 2006 15:05:23 -0000      1.1.1.1
+++ inc/hook_manual.inc.php     27 Dec 2006 11:04:41 -0000      1.2
@@ -1,14 +1,14 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: A demo application.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage core
-       * @version $Id: hook_manual.inc.php,v 1.1.1.1 2006/11/10 15:05:23 
sigurdne Exp $
+       * @version $Id: hook_manual.inc.php,v 1.2 2006/12/27 11:04:41 sigurdne 
Exp $
        */
 
        // Only Modify the $file variable.....

Index: inc/hook_preferences.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/inc/hook_preferences.inc.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- inc/hook_preferences.inc.php        10 Nov 2006 15:05:23 -0000      1.1.1.1
+++ inc/hook_preferences.inc.php        27 Dec 2006 11:04:41 -0000      1.2
@@ -1,14 +1,14 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: A demo application.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage core
-       * @version $Id: hook_preferences.inc.php,v 1.1.1.1 2006/11/10 15:05:23 
sigurdne Exp $
+       * @version $Id: hook_preferences.inc.php,v 1.2 2006/12/27 11:04:41 
sigurdne Exp $
        */
 
        $title = $appname;

Index: inc/hook_settings.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/inc/hook_settings.inc.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- inc/hook_settings.inc.php   10 Nov 2006 15:05:23 -0000      1.1.1.1
+++ inc/hook_settings.inc.php   27 Dec 2006 11:04:41 -0000      1.2
@@ -1,14 +1,14 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: A demo application.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage core
-       * @version $Id: hook_settings.inc.php,v 1.1.1.1 2006/11/10 15:05:23 
sigurdne Exp $
+       * @version $Id: hook_settings.inc.php,v 1.2 2006/12/27 11:04:41 
sigurdne Exp $
        */
 
        $this->currentapp                       = 
$GLOBALS['phpgw_info']['flags']['currentapp'];

Index: setup/tables_current.inc.php
===================================================================
RCS file: /sources/phpgroupware/demo/setup/tables_current.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- setup/tables_current.inc.php        19 Nov 2006 20:48:24 -0000      1.3
+++ setup/tables_current.inc.php        27 Dec 2006 11:04:41 -0000      1.4
@@ -1,14 +1,14 @@
 <?php
        /**
-       * phpGroupWare - HRM: a  human resource competence management system.
+       * phpGroupWare - DEMO: A demo application.
        *
        * @author Sigurd Nes <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
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package hrm
+       * @package demo
        * @subpackage setup
-       * @version $Id: tables_current.inc.php,v 1.3 2006/11/19 20:48:24 
sigurdne Exp $
+       * @version $Id: tables_current.inc.php,v 1.4 2006/12/27 11:04:41 
sigurdne Exp $
        */
 
        $phpgw_baseline = array(




reply via email to

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