mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
44 lines
1.4 KiB
PHP
44 lines
1.4 KiB
PHP
<?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();
|
|
|
|
$app = $HTTP_GET_VARS['app'];
|
|
|
|
if (!$app)
|
|
{
|
|
$app = 'help';
|
|
}
|
|
|
|
$GLOBALS['phpgw_info']['flags'] = array
|
|
(
|
|
'headonly' => True,
|
|
'currentapp' => $app
|
|
);
|
|
include('header.inc.php');
|
|
|
|
$GLOBALS['phpgw']->help = CreateObject('phpgwapi.help_helper');
|
|
|
|
if ($app == 'help')
|
|
{
|
|
$GLOBALS['phpgw']->hooks->process('help',array('manual'));
|
|
}
|
|
else
|
|
{
|
|
$GLOBALS['phpgw']->hooks->single('help',$app);
|
|
}
|
|
|
|
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',$GLOBALS['phpgw']->help->output);
|
|
?>
|