phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/linux-at-work.de head.inc.php


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/linux-at-work.de head.inc.php,1.3.2.1.2.2,1.3.2.1.2.3
Date: Mon, 21 Apr 2003 11:22:52 -0400

Update of /cvsroot/phpgroupware/phpgwapi/templates/linux-at-work.de
In directory subversions:/tmp/cvs-serv28115/linux-at-work.de

Modified Files:
      Tag: Version-0_9_16-branch
        head.inc.php 
Log Message:
fixed website-title to include app-name for Home and About too

Index: head.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/phpgwapi/templates/linux-at-work.de/head.inc.php,v
retrieving revision 1.3.2.1.2.2
retrieving revision 1.3.2.1.2.3
diff -C2 -r1.3.2.1.2.2 -r1.3.2.1.2.3
*** head.inc.php        19 Apr 2003 21:10:05 -0000      1.3.2.1.2.2
--- head.inc.php        21 Apr 2003 15:22:50 -0000      1.3.2.1.2.3
***************
*** 64,67 ****
--- 64,70 ----
        }
        
+       $app = $GLOBALS['phpgw_info']['flags']['currentapp'];
+       $app = $app ? ' ['.(isset($GLOBALS['phpgw_info']['apps'][$app]) ? 
$GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app)).']':'';
+ 
        $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
        $tpl->set_unknowns('remove');
***************
*** 73,77 ****
                'font_family'   => $GLOBALS['phpgw_info']['theme']['font'],
                'website_title' => 
$GLOBALS['phpgw_info']['server']['site_title'],
!               'app_name'      => 
$GLOBALS['phpgw_info']['apps'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title'],
                'body_tags'     => $bodyheader,
                'bg_color'      => $GLOBALS['phpgw_info']['theme']['bg_color'],
--- 76,80 ----
                'font_family'   => $GLOBALS['phpgw_info']['theme']['font'],
                'website_title' => 
$GLOBALS['phpgw_info']['server']['site_title'],
!               'app_name'      => $app,
                'body_tags'     => $bodyheader,
                'bg_color'      => $GLOBALS['phpgw_info']['theme']['bg_color'],





reply via email to

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