phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] setup schematoy.php, 1.14 setup_demo.php, 1.34 applis


From: skwashd
Subject: [Phpgroupware-cvs] setup schematoy.php, 1.14 setup_demo.php, 1.34 applist.php, 1.10 manageheader.php, 1.50 sqltoarray.php, 1.13 ldapmodify.php, 1.13 config.php, 1.81 index.php, 1.117 ldapimport.php, 1.13 ldapexport.php, 1.9
Date: Thu, 24 Feb 2005 12:56:01 -0000

Update of setup

Modified Files:
     Branch: MAIN
            schematoy.php lines: +2 -2
            setup_demo.php lines: +2 -2
            applist.php lines: +2 -2
            manageheader.php lines: +5 -5
            sqltoarray.php lines: +2 -2
            ldapmodify.php lines: +2 -2
            config.php lines: +2 -2
            index.php lines: +2 -2
            ldapimport.php lines: +2 -2
            ldapexport.php lines: +2 -2

Log Message:
use api tpl class

====================================================
Index: setup/schematoy.php
diff -u setup/schematoy.php:1.13 setup/schematoy.php:1.14
--- setup/schematoy.php:1.13    Thu Dec 30 09:37:36 2004
+++ setup/schematoy.php Thu Dec 30 11:59:24 2004
@@ -31,7 +31,7 @@
        // Does not return unless user is authorized

        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-       $GLOBALS['setup_tpl'] = CreateObject('setup.Template',$tpl_root);
+       $GLOBALS['setup_tpl'] = CreateObject('phpgwapi.Template',$tpl_root);
        $GLOBALS['setup_tpl']->set_file(array(
                'T_head' => 'head.tpl',
                'T_footer' => 'footer.tpl',

====================================================
Index: setup/setup_demo.php
diff -u setup/setup_demo.php:1.33 setup/setup_demo.php:1.34
--- setup/setup_demo.php:1.33   Thu Dec 30 09:37:36 2004
+++ setup/setup_demo.php        Thu Dec 30 11:59:24 2004
@@ -65,7 +65,7 @@
        if(!get_var('submit',Array('POST')))
        {
                $tpl_root = 
$GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-               $setup_tpl = CreateObject('setup.Template',$tpl_root);
+               $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
                $setup_tpl->set_file(array(
                        'T_head'       => 'head.tpl',
                        'T_footer'     => 'footer.tpl',

====================================================
Index: setup/applist.php
diff -u setup/applist.php:1.9 setup/applist.php:1.10
--- setup/applist.php:1.9       Sun Aug 11 23:54:57 2002
+++ setup/applist.php   Thu Dec 30 11:59:24 2004
@@ -30,7 +30,7 @@
        // Does not return unless user is authorized

        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-       $setup_tpl = CreateObject('setup.Template',$tpl_root);
+       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head'   => 'head.tpl',
                'T_footer' => 'footer.tpl'

====================================================
Index: setup/manageheader.php
diff -u setup/manageheader.php:1.49 setup/manageheader.php:1.50
--- setup/manageheader.php:1.49 Thu Dec 30 09:37:36 2004
+++ setup/manageheader.php      Thu Dec 30 11:59:24 2004
@@ -68,7 +68,7 @@

        // 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 = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'T_head' => 'head.tpl',
                'T_footer' => 'footer.tpl',
@@ -126,7 +126,7 @@
        {
                case 'download':
                        check_form_values();
-                       $header_template = CreateObject('setup.Template','../');
+                       $header_template = 
CreateObject('phpgwapi.Template','../');
                        $b = CreateObject('phpgwapi.browser');
                        
$b->content_header('header.inc.php','application/octet-stream');
                        /*
@@ -140,7 +140,7 @@
                        break;
                case 'view':
                        check_form_values();
-                       $header_template = CreateObject('setup.Template','../');
+                       $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 />';
                        $newheader = 
$GLOBALS['phpgw_setup']->html->generate_header();
@@ -156,7 +156,7 @@
                        break;
                case 'write':
                        check_form_values();
-                       $header_template = CreateObject('setup.Template','../');
+                       $header_template = 
CreateObject('phpgwapi.Template','../');
                        if(is_writeable('../header.inc.php') || 
(!file_exists('../header.inc.php') && is_writeable('../')))
                        {
                                $newheader = 
$GLOBALS['phpgw_setup']->html->generate_header();

====================================================
Index: setup/sqltoarray.php
diff -u setup/sqltoarray.php:1.12 setup/sqltoarray.php:1.13
--- setup/sqltoarray.php:1.12   Sun Aug 11 23:54:58 2002
+++ setup/sqltoarray.php        Thu Dec 30 11:59:24 2004
@@ -29,7 +29,7 @@
        // Does not return unless user is authorized

        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-       $setup_tpl = CreateObject('setup.Template',$tpl_root);
+       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);

        $download = get_var('download',Array('GET','POST'));
        $submit   = get_var('submit',Array('GET','POST'));

====================================================
Index: setup/ldapmodify.php
diff -u setup/ldapmodify.php:1.12 setup/ldapmodify.php:1.13
--- setup/ldapmodify.php:1.12   Thu Dec 30 09:37:36 2004
+++ setup/ldapmodify.php        Thu Dec 30 11:59:24 2004
@@ -45,7 +45,7 @@
        $GLOBALS['phpgw']->db = $GLOBALS['phpgw_setup']->db;

        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-       $setup_tpl = CreateObject('setup.Template',$tpl_root);
+       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',
                'T_head' => 'head.tpl',

====================================================
Index: setup/config.php
diff -u setup/config.php:1.80 setup/config.php:1.81
--- setup/config.php:1.80       Thu Dec 30 09:37:36 2004
+++ setup/config.php    Thu Dec 30 11:59:24 2004
@@ -31,7 +31,7 @@
        }

        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-       $setup_tpl = CreateObject('setup.Template',$tpl_root);
+       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);

        // test if $path lies within the webservers document-root
        //

====================================================
Index: setup/index.php
diff -u setup/index.php:1.116 setup/index.php:1.117
--- setup/index.php:1.116       Thu Dec 30 09:37:36 2004
+++ setup/index.php     Thu Dec 30 11:59:24 2004
@@ -31,7 +31,7 @@
        @set_time_limit(0);

        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-       $setup_tpl = CreateObject('setup.Template',$tpl_root);
+       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array
        (
                'T_head'                => 'head.tpl',

====================================================
Index: setup/ldapimport.php
diff -u setup/ldapimport.php:1.12 setup/ldapimport.php:1.13
--- setup/ldapimport.php:1.12   Thu Dec 30 09:37:36 2004
+++ setup/ldapimport.php        Thu Dec 30 11:59:24 2004
@@ -49,7 +49,7 @@
        $GLOBALS['phpgw']->acl->db = $GLOBALS['phpgw_setup']->db;

        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-       $setup_tpl = CreateObject('setup.Template',$tpl_root);
+       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',
                'T_head' => 'head.tpl',

====================================================
Index: setup/ldapexport.php
diff -u setup/ldapexport.php:1.8 setup/ldapexport.php:1.9
--- setup/ldapexport.php:1.8    Thu Dec 30 09:37:36 2004
+++ setup/ldapexport.php        Thu Dec 30 11:59:24 2004
@@ -46,7 +46,7 @@
        $phpgw->db = $GLOBALS['phpgw_setup']->db;

        $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup');
-       $setup_tpl = CreateObject('setup.Template',$tpl_root);
+       $setup_tpl = CreateObject('phpgwapi.Template',$tpl_root);
        $setup_tpl->set_file(array(
                'ldap'   => 'ldap.tpl',
                'T_head' => 'head.tpl',






reply via email to

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