phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgroupware about.php,1.14.2.3,1.14.2.3.2.1


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgroupware about.php,1.14.2.3,1.14.2.3.2.1
Date: Sun, 20 Apr 2003 05:01:02 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        about.php 
Log Message:
getting app-title from phpgw_info/apps now


Index: about.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/about.php,v
retrieving revision 1.14.2.3
retrieving revision 1.14.2.3.2.1
diff -C2 -r1.14.2.3 -r1.14.2.3.2.1
*** about.php   16 Mar 2003 13:47:31 -0000      1.14.2.3
--- about.php   20 Apr 2003 09:01:00 -0000      1.14.2.3.2.1
***************
*** 15,18 ****
--- 15,19 ----
        $GLOBALS['phpgw_info']['flags']['currentapp'] = 'about';
        $GLOBALS['phpgw_info']['flags']['disable_Template_class'] = True;
+       $GLOBALS['phpgw_info']['flags']['noheader'] = True;
        include('header.inc.php');
  
***************
*** 28,32 ****
        include (PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php");
        $info = $setup_info[$app];
!       if (!isset($info['title'])) $info['title'] = lang($info['name']);
        $other_infos = array(
                'author'     => lang('Author'),
--- 29,33 ----
        include (PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php");
        $info = $setup_info[$app];
!       $info['title'] = $GLOBALS['phpgw_info']['apps'][$app]['title'];
        $other_infos = array(
                'author'     => lang('Author'),
***************
*** 36,40 ****
        );
  
!       $s = "<table width='70%' cellpadding='4'>\n<tr><td colspan='2' 
align='center'><img src='$icon'> &nbsp; <b>$info[title]</b></td></tr>";
        
        if ($info['description'])
--- 37,41 ----
        );
  
!       $s = "<table width='70%' cellpadding='4'>\n<tr><td align='right'><img 
src='$icon'></td><td align='left'><b>$info[title]</b></td></tr>";
        
        if ($info['description'])
***************
*** 120,123 ****
--- 121,127 ----
        }
  
+       $title = isset($GLOBALS['phpgw_info']['apps'][$app]) ? 
$GLOBALS['phpgw_info']['apps'][$app]['title'] : 'phpGroupWare';
+       $GLOBALS['phpgw_info']['flags']['app_header'] = lang('About %1',$title);
+       $GLOBALS['phpgw']->common->phpgw_header();
        $tpl->pparse('out','phpgw_about');
        $GLOBALS['phpgw']->common->phpgw_footer();





reply via email to

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