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.86,1.87


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgroupware login.php,1.86,1.87
Date: Sat, 19 Oct 2002 16:44:43 -0400

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

Modified Files:
        login.php 
Log Message:
added theme_selection

Index: login.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/login.php,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -r1.86 -r1.87
*** login.php   19 Oct 2002 14:33:05 -0000      1.86
--- login.php   19 Oct 2002 20:44:40 -0000      1.87
***************
*** 34,37 ****
--- 34,42 ----
        $GLOBALS['phpgw_info']['server']['template_dir'] = PHPGW_SERVER_ROOT . 
'/phpgwapi/templates/' . $GLOBALS['phpgw_info']['login_template_set'];
  
+       if (!$GLOBALS['phpgw_info']['login_theme'])
+       {
+               $GLOBALS['phpgw_info']['login_theme'] = 'submarine';
+       }
+ 
        $GLOBALS['phpgw']->xslttpl = 
CreateObject('phpgwapi.xslttemplates',$GLOBALS['phpgw_info']['server']['template_dir']);
        $GLOBALS['phpgw']->xslttpl->add_file(array('login'));
***************
*** 39,43 ****
        $data = array
        (
!               'login_theme'                           => 
'phpgwapi/templates/' . $GLOBALS['phpgw_info']['login_template_set'] . 
'/css/submarine.css',
                'phpgw_head_charset'            => lang('charset'),
                'phpgw_head_website_title'      => 
$GLOBALS['phpgw_info']['server']['site_title']
--- 44,49 ----
        $data = array
        (
!               'phpgw_theme'                           => 
'phpgwapi/templates/' . $GLOBALS['phpgw_info']['login_template_set'] . 
'/css/phpgw.css',
!               'login_theme'                           => 
'phpgwapi/templates/' . $GLOBALS['phpgw_info']['login_template_set'] . '/css/' 
. $GLOBALS['phpgw_info']['login_theme'] . '.css',
                'phpgw_head_charset'            => lang('charset'),
                'phpgw_head_website_title'      => 
$GLOBALS['phpgw_info']['server']['site_title']





reply via email to

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