mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +01:00
updated help system
This commit is contained in:
parent
f62568db1c
commit
c6ebdf7193
29
help.php
Normal file
29
help.php
Normal 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);
|
||||||
|
?>
|
@ -5,13 +5,13 @@
|
|||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="help_data">
|
<xsl:template match="help_data">
|
||||||
<table cellpadding="0" cellspacing="0" class="portal">
|
<table cellpadding="0" cellspacing="0" width="100%">
|
||||||
<tr>
|
<tr class="th">
|
||||||
<td class="portal_text">
|
<td class="th_text">
|
||||||
<xsl:value-of disable-output-escaping="yes" select="space"/>
|
<xsl:value-of disable-output-escaping="yes" select="space"/>
|
||||||
<xsl:value-of select="title"/>
|
<xsl:value-of select="title"/>
|
||||||
</td>
|
</td>
|
||||||
<td valign="middle" align="right" class="portal_text">
|
<td valign="middle" align="right">
|
||||||
<xsl:apply-templates select="control_link"/>
|
<xsl:apply-templates select="control_link"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user