phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/setup setup.inc.php,1.8,1.9 tables_curre


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/setup setup.inc.php,1.8,1.9 tables_current.inc.php,1.6,1.7 tables_update.inc.php,1.5,1.6
Date: Thu, 05 Dec 2002 23:56:02 -0500

Update of /cvsroot/phpgroupware/sitemgr/setup
In directory subversions:/tmp/cvs-serv29901/setup

Modified Files:
        setup.inc.php tables_current.inc.php tables_update.inc.php 
Log Message:
blockmanager replaces blockconfig.inc.php


Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/setup/setup.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** setup.inc.php       5 Dec 2002 22:15:00 -0000       1.8
--- setup.inc.php       6 Dec 2002 04:56:00 -0000       1.9
***************
*** 13,59 ****
  
        $setup_info['sitemgr']['name']      = 'sitemgr';
!       $setup_info['sitemgr']['title']     = 'SiteMgr Web Content Manager'; // 
note to mr_e: left for 0.9.14, need to go into the lang-file for HEAD
!       $setup_info['sitemgr']['version']   = '0.9.14.005';
        $setup_info['sitemgr']['app_order'] = 8;
        $setup_info['sitemgr']['tables']    = 
array('phpgw_sitemgr_pages','phpgw_sitemgr_pages_lang','phpgw_sitemgr_categories_lang','phpgw_sitemgr_blocks','phpgw_sitemgr_preferences');
        $setup_info['sitemgr']['enable']    = 1;
-       $setup_info['sitemgr']['description'] =
-               '<u>Overview</u><br>
-               This program will generate a dynamic web site with discrete 
sections that various
-               phpGroupWare users may edit, if the administrator gives them 
permission to do so.
-               In effect, the generated website can have sections which 
independent departments are
-               in charge of maintaining.  The site administrator can choose a 
theme and create headers,
-               footers, and sidebars to enforce a sitewide look and feel.  
Site sections can be viewable
-               public (viewable by anonymous users) or private (viewable by 
specified users and groups only).
-               <p>
-               <u>Background</u><br>
-               Team 10 in the UC Irvine Systems Design Course, ICS 125, chose 
this as their project.
-               Seek3r served as the project\'s "customer" and the team wrote 
extensive requirements and
-               design documents followed by the actual coding of the project.  
The course is ten weeks
-               long, but coding doesn\'t start until part-way through week 6, 
so version 1.0 of sitemgr
-               was programmed in an intensive 3 weeks.';
-       
-       $setup_info['sitemgr']['author'] = array(
-               array (
-                       'name'  => 'Tina Alinaghian',
-                       'email' => 'address@hidden'
-               ), array(
-                       'name'  => 'Austin Lee',
-                       'email' => 'address@hidden'
-               ), array(
-                       'name'  => 'Siu Leung',
-                       'email' => 'address@hidden'
-               ), array(
-                       'name'  => 'Fang Ming Lo',
-                       'email' => 'address@hidden'
-               ), array(
-                       'name'  => 'Patrick Walsh',
-                       'email' => 'address@hidden'
-               ));
-       
-       $setup_info['sitemgr']['maintainer'] = array(
-               'name'  => 'Patrick Walsh',
-               'email' => 'address@hidden'
-       );
  
        /* The hooks this app includes, needed for hooks registration */
--- 13,21 ----
  
        $setup_info['sitemgr']['name']      = 'sitemgr';
!       $setup_info['sitemgr']['title']     = 'SiteMgr Web Content Manager';
!       $setup_info['sitemgr']['version']   = '0.9.14.006';
        $setup_info['sitemgr']['app_order'] = 8;
        $setup_info['sitemgr']['tables']    = 
array('phpgw_sitemgr_pages','phpgw_sitemgr_pages_lang','phpgw_sitemgr_categories_lang','phpgw_sitemgr_blocks','phpgw_sitemgr_preferences');
        $setup_info['sitemgr']['enable']    = 1;
  
        /* The hooks this app includes, needed for hooks registration */

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/setup/tables_current.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** tables_current.inc.php      5 Dec 2002 22:15:00 -0000       1.6
--- tables_current.inc.php      6 Dec 2002 04:56:00 -0000       1.7
***************
*** 57,61 ****
                                'pos' => array('type' => 'int', 'precision' => 
4),
                                'filename' => array('type' => 'varchar', 
'precision' => 300),
!                               'title' => array('type' => 'varchar', 
'precision' => 256)
                        ),
                        'pk' => array('block_id'),
--- 57,64 ----
                                'pos' => array('type' => 'int', 'precision' => 
4),
                                'filename' => array('type' => 'varchar', 
'precision' => 300),
!                               'title' => array('type' => 'varchar', 
'precision' => 256),
!                               'description' => array('type' => 'varchar', 
'precision' => 256),
!                               'view' => array('type' => 'int', 'precision' => 
4),
!                               'actif' => array('type' => 'int', 'precision' 
=> 2)
                        ),
                        'pk' => array('block_id'),

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/setup/tables_update.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** tables_update.inc.php       5 Dec 2002 22:15:00 -0000       1.5
--- tables_update.inc.php       6 Dec 2002 04:56:00 -0000       1.6
***************
*** 223,227 ****
        }       
  
!     $test[] = '0.9.14.004';
        function sitemgr_upgrade0_9_14_004()
        {
--- 223,227 ----
        }       
  
!       $test[] = '0.9.14.004';
        function sitemgr_upgrade0_9_14_004()
        {
***************
*** 233,236 ****
  
                return $setup_info['sitemgr']['currentver'];                    
         
!       }                                                                       
     
  ?>
--- 233,251 ----
  
                return $setup_info['sitemgr']['currentver'];                    
         
!       }
! 
!       $test[] = '0.9.14.005';
!       function sitemgr_upgrade0_9_14_005()
!       {
!               global $setup_info,$phpgw_setup;
!               $setup_info['sitemgr']['currentver'] = '0.9.14.006';
! 
!               $phpgw_setup->oProc->AddColumn('phpgw_sitemgr_blocks',
!                       'description', array('type' => 'varchar', 'precision' 
=> 256));
!               $phpgw_setup->oProc->AddColumn('phpgw_sitemgr_blocks',
!                       'view', array('type' => 'int', 'precision' => 4));
!               $phpgw_setup->oProc->AddColumn('phpgw_sitemgr_blocks',
!                       'actif', array('type' => 'int', 'precision' => 2));
!               return $setup_info['sitemgr']['currentver'];
!       }
  ?>





reply via email to

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