phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: setup applications.php,1.18,1.19 applist.php,1.8


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup applications.php,1.18,1.19 applist.php,1.8,1.9 config.php,1.75,1.76 index.php,1.110,1.111 lang.php,1.38,1.39 ldap.php,1.53,1.54 ldapexport.php,1.5,1.6 ldapimport.php,1.8,1.9 ldapmodify.php,1.8,1.9 manageheader.php,1.41,1.42 schematoy.php,1.9,1.10 setup_demo.php,1.28,1.29 sqltoarray.php,1.11,1.12
Date: Sun, 11 Aug 2002 19:55:00 -0400

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

Modified Files:
        applications.php applist.php config.php index.php lang.php 
        ldap.php ldapexport.php ldapimport.php ldapmodify.php 
        manageheader.php schematoy.php setup_demo.php sqltoarray.php 
Log Message:
Add copy of old template class so setup can work for now.



Index: applications.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/applications.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** applications.php    29 Apr 2002 19:49:23 -0000      1.18
--- applications.php    11 Aug 2002 23:54:57 -0000      1.19
***************
*** 42,46 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',
--- 42,46 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',

Index: applist.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/applist.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** applist.php 3 Mar 2002 21:52:52 -0000       1.8
--- applist.php 11 Aug 2002 23:54:57 -0000      1.9
***************
*** 31,35 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head'   => 'head.tpl',
--- 31,35 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head'   => 'head.tpl',

Index: config.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/config.php,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -r1.75 -r1.76
*** config.php  29 Apr 2002 19:49:23 -0000      1.75
--- config.php  11 Aug 2002 23:54:57 -0000      1.76
***************
*** 32,36 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',
--- 32,36 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',
***************
*** 166,170 ****
        while(list(,$cfg_app) = each($cfg_apps))
        {
!               $t = 
CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir($cfg_app));
  
                $t->set_unknowns('keep');
--- 166,170 ----
        while(list(,$cfg_app) = each($cfg_apps))
        {
!               $t = 
CreateObject('setup.Template',$GLOBALS['phpgw']->common->get_tpl_dir($cfg_app));
  
                $t->set_unknowns('keep');

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/index.php,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -r1.110 -r1.111
*** index.php   8 May 2002 13:04:27 -0000       1.110
--- index.php   11 Aug 2002 23:54:57 -0000      1.111
***************
*** 32,36 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',
--- 32,36 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',

Index: lang.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/lang.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** lang.php    30 Apr 2002 14:10:30 -0000      1.38
--- lang.php    11 Aug 2002 23:54:57 -0000      1.39
***************
*** 163,167 ****
                {
                        $tpl_root = 
$GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!                       $setup_tpl = 
CreateObject('phpgwapi.Template',$tpl_root);
                        $setup_tpl->set_file(array(
                                'T_head' => 'head.tpl',
--- 163,167 ----
                {
                        $tpl_root = 
$GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!                       $setup_tpl = CreateObject('setup.Template',$tpl_root);
                        $setup_tpl->set_file(array(
                                'T_head' => 'head.tpl',

Index: ldap.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/ldap.php,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -r1.53 -r1.54
*** ldap.php    29 Apr 2002 19:49:24 -0000      1.53
--- ldap.php    11 Aug 2002 23:54:57 -0000      1.54
***************
*** 36,40 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',
--- 36,40 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',

Index: ldapexport.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/ldapexport.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ldapexport.php      4 Mar 2002 02:55:53 -0000       1.5
--- ldapexport.php      11 Aug 2002 23:54:57 -0000      1.6
***************
*** 44,48 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',
--- 44,48 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',

Index: ldapimport.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/ldapimport.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ldapimport.php      14 May 2002 13:43:34 -0000      1.8
--- ldapimport.php      11 Aug 2002 23:54:57 -0000      1.9
***************
*** 44,48 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',
--- 44,48 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',

Index: ldapmodify.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/ldapmodify.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ldapmodify.php      14 May 2002 13:43:34 -0000      1.8
--- ldapmodify.php      11 Aug 2002 23:54:57 -0000      1.9
***************
*** 44,48 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',
--- 44,48 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',

Index: manageheader.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/manageheader.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** manageheader.php    1 May 2002 12:03:32 -0000       1.41
--- manageheader.php    11 Aug 2002 23:54:58 -0000      1.42
***************
*** 69,73 ****
        // added these to let the app work, need to templatize still
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',
--- 69,73 ----
        // added these to let the app work, need to templatize still
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',
***************
*** 123,127 ****
                case 'download':
                        check_form_values();
!                       $header_template = 
CreateObject('phpgwapi.Template','../');
                        $b = CreateObject('phpgwapi.browser');
                        
$b->content_header('header.inc.php','application/octet-stream');
--- 123,127 ----
                case 'download':
                        check_form_values();
!                       $header_template = CreateObject('setup.Template','../');
                        $b = CreateObject('phpgwapi.browser');
                        
$b->content_header('header.inc.php','application/octet-stream');
***************
*** 137,141 ****
                case 'view':
                        check_form_values();
!                       $header_template = 
CreateObject('phpgwapi.Template','../');
                        $GLOBALS['phpgw_setup']->html->show_header('Generated 
header.inc.php', False, 'header');
                        echo '<br>' . lang('Save this text as contents of your 
header.inc.php') . '<br><hr>';
--- 137,141 ----
                case 'view':
                        check_form_values();
!                       $header_template = CreateObject('setup.Template','../');
                        $GLOBALS['phpgw_setup']->html->show_header('Generated 
header.inc.php', False, 'header');
                        echo '<br>' . lang('Save this text as contents of your 
header.inc.php') . '<br><hr>';
***************
*** 153,157 ****
                case 'write config':
                        check_form_values();
!                       $header_template = 
CreateObject('phpgwapi.Template','../');
                        if(is_writeable('../header.inc.php') || 
(!file_exists('../header.inc.php') && is_writeable('../')))
                        {
--- 153,157 ----
                case 'write config':
                        check_form_values();
!                       $header_template = CreateObject('setup.Template','../');
                        if(is_writeable('../header.inc.php') || 
(!file_exists('../header.inc.php') && is_writeable('../')))
                        {

Index: schematoy.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/schematoy.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** schematoy.php       29 Apr 2002 19:49:24 -0000      1.9
--- schematoy.php       11 Aug 2002 23:54:58 -0000      1.10
***************
*** 32,36 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $GLOBALS['setup_tpl'] = CreateObject('phpgwapi.Template',$tpl_root);
        $GLOBALS['setup_tpl']->set_file(array(
                'T_head' => 'head.tpl',
--- 32,36 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $GLOBALS['setup_tpl'] = CreateObject('setup.Template',$tpl_root);
        $GLOBALS['setup_tpl']->set_file(array(
                'T_head' => 'head.tpl',

Index: setup_demo.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/setup_demo.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** setup_demo.php      29 Apr 2002 19:49:24 -0000      1.28
--- setup_demo.php      11 Aug 2002 23:54:58 -0000      1.29
***************
*** 49,53 ****
        {
                $tpl_root = 
$GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!               $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
                $setup_tpl->set_file(array(
                        'T_head'       => 'head.tpl',
--- 49,53 ----
        {
                $tpl_root = 
$GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!               $setup_tpl = CreateObject('setup.Template',$tpl_root);
                $setup_tpl->set_file(array(
                        'T_head'       => 'head.tpl',

Index: sqltoarray.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/sqltoarray.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** sqltoarray.php      29 Apr 2002 19:49:24 -0000      1.11
--- sqltoarray.php      11 Aug 2002 23:54:58 -0000      1.12
***************
*** 30,34 ****
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
  
        $download = get_var('download',Array('GET','POST'));
--- 30,34 ----
  
        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
!       $setup_tpl = CreateObject('setup.Template',$tpl_root);
  
        $download = get_var('download',Array('GET','POST'));





reply via email to

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