phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/idots head.inc.php,1.1.2.2,1


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/idots head.inc.php,1.1.2.2,1.1.2.3
Date: Mon, 21 Apr 2003 11:22:52 -0400

Update of /cvsroot/phpgroupware/phpgwapi/templates/idots
In directory subversions:/tmp/cvs-serv28115/idots

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/idots/Attic/head.inc.php,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** head.inc.php        19 Apr 2003 21:10:04 -0000      1.1.2.2
--- head.inc.php        21 Apr 2003 15:22:50 -0000      1.1.2.3
***************
*** 51,54 ****
--- 51,58 ----
        $tpl->set_unknowns('remove');
        $tpl->set_file(array('head' => 'head.tpl'));
+ 
+       $app = $GLOBALS['phpgw_info']['flags']['currentapp'];
+       $app = $app ? ' ['.(isset($GLOBALS['phpgw_info']['apps'][$app]) ? 
$GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app)).']':'';
+ 
        $var = Array (
                'img_icon'      => PHPGW_IMAGES_DIR . '/favicon.ico',
***************
*** 56,60 ****
                'charset'               => lang('charset'),
                'font_family'   => $GLOBALS['phpgw_info']['theme']['font'],
!               'website_title' => 
$GLOBALS['phpgw_info']['server']['site_title'],
                'body_tags'             => $bodyheader,
                'theme_css'             => $theme_css,
--- 60,64 ----
                'charset'               => lang('charset'),
                'font_family'   => $GLOBALS['phpgw_info']['theme']['font'],
!               'website_title' => 
$GLOBALS['phpgw_info']['server']['site_title'].$app,
                'body_tags'             => $bodyheader,
                'theme_css'             => $theme_css,





reply via email to

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