phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgroupware login.php,1.83,1.84


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgroupware login.php,1.83,1.84
Date: Thu, 17 Oct 2002 20:22:21 -0400

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

Modified Files:
        login.php 
Log Message:
update msgbox to use xslt

Index: login.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/login.php,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -r1.83 -r1.84
*** login.php   15 Oct 2002 00:11:16 -0000      1.83
--- login.php   18 Oct 2002 00:21:54 -0000      1.84
***************
*** 34,40 ****
        $GLOBALS['phpgw_info']['server']['template_dir'] = PHPGW_SERVER_ROOT . 
'/phpgwapi/templates/' . $GLOBALS['phpgw_info']['login_template_set'];
        $GLOBALS['phpgw']->template = CreateObject('phpgwapi.Template', 
$GLOBALS['phpgw_info']['server']['template_dir']);
        $GLOBALS['phpgw']->template->set_file('phpgw', 'phpgw.tpl');
        $GLOBALS['phpgw']->template->set_file('login','login.tpl');
-       $GLOBALS['phpgw']->template->set_file('msgbox', 'msgbox.tpl');
  
        // This is used for system downtime, to prevent new logins.
--- 34,40 ----
        $GLOBALS['phpgw_info']['server']['template_dir'] = PHPGW_SERVER_ROOT . 
'/phpgwapi/templates/' . $GLOBALS['phpgw_info']['login_template_set'];
        $GLOBALS['phpgw']->template = CreateObject('phpgwapi.Template', 
$GLOBALS['phpgw_info']['server']['template_dir']);
+       $GLOBALS['phpgw']->xslttpl = 
CreateObject('phpgwapi.xslttemplates',$GLOBALS['phpgw_info']['server']['template_dir']);
        $GLOBALS['phpgw']->template->set_file('phpgw', 'phpgw.tpl');
        $GLOBALS['phpgw']->template->set_file('login','login.tpl');
  
        // This is used for system downtime, to prevent new logins.
***************
*** 238,245 ****
        }
        check_logoutcode();
!       $GLOBALS['phpgw']->common->msgbox('', False,'phpgw_login_msgbox');
!       
        
$GLOBALS['phpgw']->template->set_block('phpgw','phpgw_main_basic_start','phpgw_main_start');
        
$GLOBALS['phpgw']->template->set_block('phpgw','phpgw_main_basic_end','phpgw_main_end');
        
$GLOBALS['phpgw']->template->set_var('phpgw_head_charset',lang('charset'));
        
$GLOBALS['phpgw']->template->set_var('phpgw_head_description','phpGroupWare - 
Login Page');
--- 238,247 ----
        }
        check_logoutcode();
! 
        
$GLOBALS['phpgw']->template->set_block('phpgw','phpgw_main_basic_start','phpgw_main_start');
        
$GLOBALS['phpgw']->template->set_block('phpgw','phpgw_main_basic_end','phpgw_main_end');
+ 
+       
$GLOBALS['phpgw']->template->set_var('phpgw_login_msgbox',$GLOBALS['phpgw']->common->msgbox('',False));
+ 
        
$GLOBALS['phpgw']->template->set_var('phpgw_head_charset',lang('charset'));
        
$GLOBALS['phpgw']->template->set_var('phpgw_head_description','phpGroupWare - 
Login Page');





reply via email to

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