egroupware/addressbook/inc/hook_help.inc.php

42 lines
1.6 KiB
PHP
Raw Normal View History

2002-11-30 03:22:23 +01:00
<?php
/**************************************************************************\
* phpGroupWare - Addressbook hook_help *
* http://www.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$ */
2002-12-01 04:28:30 +01:00
include(PHPGW_SERVER_ROOT.'/'.'addressbook'.'/setup/setup.inc.php');
2002-11-30 03:22:23 +01:00
2002-12-01 04:28:30 +01:00
$GLOBALS['phpgw']->help->set_params(array('app_name' => 'addressbook',
'title' => lang('addressbook'),
'app_version' => $setup_info['addressbook']['version']));
2002-11-30 03:22:23 +01:00
$GLOBALS['phpgw']->help->data[] = array
(
'text' => lang('owerview'),
2002-12-01 04:28:30 +01:00
'link' => $GLOBALS['phpgw']->help->check_help_file('overview.php'),
2002-11-30 03:22:23 +01:00
'lang_link_statustext' => lang('owerview')
);
2002-12-23 01:57:08 +01:00
$GLOBALS['phpgw']->help->data[] = array
(
'text' => lang('list'),
'link' => $GLOBALS['phpgw']->help->check_help_file('list.php'),
'lang_link_statustext' => lang('list')
);
2002-12-01 04:28:30 +01:00
$GLOBALS['phpgw']->help->data[] = array
(
'text' => lang('add'),
'link' => $GLOBALS['phpgw']->help->check_help_file('add.php'),
'lang_link_statustext' => lang('add')
);
2002-11-30 03:22:23 +01:00
$GLOBALS['phpgw']->help->draw();
?>