phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgroupware help.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] phpgroupware help.php
Date: Tue, 20 Feb 2007 13:40:04 +0000

CVSROOT:        /sources/phpgroupware
Module name:    phpgroupware
Changes by:     Sigurd Nes <sigurdne>   07/02/20 13:40:04

Modified files:
        .              : help.php 

Log message:
        Restore some help functionality

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/help.php?cvsroot=phpgroupware&r1=1.4&r2=1.5

Patches:
Index: help.php
===================================================================
RCS file: /sources/phpgroupware/phpgroupware/help.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- help.php    15 Apr 2005 13:19:15 -0000      1.4
+++ help.php    20 Feb 2007 13:40:04 -0000      1.5
@@ -8,7 +8,7 @@
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package phpgroupware
        * @subpackage help
-       * @version $Id: help.php,v 1.4 2005/04/15 13:19:15 powerstat Exp $
+       * @version $Id: help.php,v 1.5 2007/02/20 13:40:04 sigurdne Exp $
        */
 
        /**
@@ -37,6 +37,8 @@
        */
        include_once('header.inc.php');
 
+       $GLOBALS['phpgw_info']['flags']['xslt_app'] = True;
+       
        $GLOBALS['phpgw']->help = CreateObject('phpgwapi.help_helper');
 
        if ($app == 'help')
@@ -48,5 +50,11 @@
                $GLOBALS['phpgw']->hooks->single('help',$app);
        }
 
-       
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',$GLOBALS['phpgw']->help->output);
+       $appname                = lang('Help');
+       $function_msg   = lang('app');
+
+       $GLOBALS['phpgw_info']['flags']['app_header'] = $appname . ' - ' . 
$appname;
+
+       $GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('help' => 
$GLOBALS['phpgw']->help->output));
+
 ?>




reply via email to

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