phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] email addressbook.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] email addressbook.php
Date: Wed, 20 Dec 2006 08:23:28 +0000

CVSROOT:        /sources/phpgroupware
Module name:    email
Changes by:     Sigurd Nes <sigurdne>   06/12/20 08:23:28

Modified files:
        .              : addressbook.php 

Log message:
        fix for loading multiple css

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/email/addressbook.php?cvsroot=phpgroupware&r1=1.44&r2=1.45

Patches:
Index: addressbook.php
===================================================================
RCS file: /sources/phpgroupware/email/addressbook.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- addressbook.php     18 Dec 2006 11:02:13 -0000      1.44
+++ addressbook.php     20 Dec 2006 08:23:28 -0000      1.45
@@ -6,7 +6,7 @@
        * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package email
-       * @version $Id: addressbook.php,v 1.44 2006/12/18 11:02:13 sigurdne Exp 
$
+       * @version $Id: addressbook.php,v 1.45 2006/12/20 08:23:28 sigurdne Exp 
$
        */
 
        $GLOBALS['phpgw_info']['flags'] = array(
@@ -27,7 +27,7 @@
        ));
 
        
$GLOBALS['phpgw']->template->set_block('addressbook_list_t','addressbook_list','list');
-       $GLOBALS['phpgw']->template->set_block('addressbook_list_t', 
'theme_stylesheet');
+       $GLOBALS['phpgw']->template->set_block('addressbook_list_t', 
'theme_stylesheet','css');
        $d = CreateObject('phpgwapi.contacts');
        
        //We do it this way so the cats class gets the right rights, alright? - 
skwashd Dec-2005
@@ -44,7 +44,6 @@
        
$GLOBALS['phpgw']->template->set_var('lang_addressbook_action',lang('Address 
book'));
 //     
$GLOBALS['phpgw']->template->set_var('font',$GLOBALS['phpgw_info']['theme']['font']);
 
-
        $template_set = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'];
 
        if(file_exists(PHPGW_SERVER_ROOT . 
'/phpgwapi/templates/{$template_set}/css/' . $template_set . '.css'))
@@ -61,13 +60,10 @@
                foreach ( $theme_styles as $style )
                {
                        $GLOBALS['phpgw']->template->set_var('theme_style', 
$style);
-                       $GLOBALS['phpgw']->template->parse('theme_stylesheets', 
'theme_stylesheet', true);
+                       
$GLOBALS['phpgw']->template->parse('css','theme_stylesheet',True);
                }
        }
 
-
-
-
        $GLOBALS['phpgw']->template->set_var('lang_search',lang('Search'));
        
$GLOBALS['phpgw']->template->set_var('search_action',$GLOBALS['phpgw']->link('/'.$GLOBALS['phpgw_info']['flags']['currentapp'].'/addressbook.php'));
        $GLOBALS['phpgw']->template->set_var('lang_select_cats',lang('Select 
category'));




reply via email to

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