updated help system

This commit is contained in:
ceb 2002-11-30 01:56:08 +00:00
parent f62568db1c
commit c6ebdf7193
2 changed files with 33 additions and 4 deletions

29
help.php Normal file
View File

@ -0,0 +1,29 @@
<?php
/**************************************************************************\
* phpGroupWare - help *
* start file for the phpGroupWare help system *
* http://www.phpgroupware.org *
* Written by Bettina Gille [ceb@phpgroupware.org] *
* ----------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags'] = array
(
'headonly' => True,
'currentapp' => 'help'
);
include('header.inc.php');
$GLOBALS['phpgw']->help = CreateObject('phpgwapi.help_helper');
$GLOBALS['phpgw']->hooks->process('help',array('help'));
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',$GLOBALS['phpgw']->help->output);
?>

View File

@ -5,13 +5,13 @@
</xsl:template>
<xsl:template match="help_data">
<table cellpadding="0" cellspacing="0" class="portal">
<tr>
<td class="portal_text">
<table cellpadding="0" cellspacing="0" width="100%">
<tr class="th">
<td class="th_text">
<xsl:value-of disable-output-escaping="yes" select="space"/>
<xsl:value-of select="title"/>
</td>
<td valign="middle" align="right" class="portal_text">
<td valign="middle" align="right">
<xsl:apply-templates select="control_link"/>
</td>
</tr>