This commit is contained in:
ceb 2002-11-30 02:22:23 +00:00
parent 4eeea78a68
commit de9637797d
4 changed files with 52 additions and 18 deletions

View File

@ -11,9 +11,12 @@
/* $Id$ */
$phpgw_flags = Array(
'currentapp' => 'manual'
$phpgw_flags = Array
(
'headonly' => True,
'currentapp' => 'addressbook'
);
$phpgw_info['flags'] = $phpgw_flags;
include('../../../header.inc.php');
$font = $phpgw_info['theme']['font'];

View File

@ -0,0 +1,27 @@
<?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$ */
$app_id = $GLOBALS['phpgw']->applications->name2id('addressbook');
$GLOBALS['phpgw']->help->set_params(array('app_id' => $app_id,
'app_name' => 'addressbook',
'title' => lang('addressbook')));
$GLOBALS['phpgw']->help->data[] = array
(
'text' => lang('owerview'),
'link' => $GLOBALS['phpgw']->help->check_help_file('addressbook.php'),
'lang_link_statustext' => lang('owerview')
);
$GLOBALS['phpgw']->help->draw();
?>

View File

@ -43,18 +43,22 @@
$setup_info['addressbook']['tables'][] = 'phpgw_addressbook_servers';
/* The hooks this app includes, needed for hooks registration */
$setup_info['addressbook']['hooks'][] = 'about';
$setup_info['addressbook']['hooks'][] = 'admin';
$setup_info['addressbook']['hooks'][] = 'add_def_pref';
$setup_info['addressbook']['hooks'][] = 'config_validate';
$setup_info['addressbook']['hooks'][] = 'home';
$setup_info['addressbook']['hooks'][] = 'manual';
$setup_info['addressbook']['hooks'][] = 'deleteaccount';
$setup_info['addressbook']['hooks'][] = 'notifywindow';
$setup_info['addressbook']['hooks'][] = 'preferences';
$setup_info['addressbook']['hooks'] = array
(
'admin',
'add_def_pref',
'config_validate',
'home',
'manual',
'deleteaccount',
'notifywindow',
'preferences',
'help'
);
/* Dependencies for this app to work */
$setup_info['addressbook']['depends'][] = array(
$setup_info['addressbook']['depends'][] = array
(
'appname' => 'phpgwapi',
'versions' => Array('0.9.15', '0.9.16')
);

View File

@ -555,16 +555,16 @@
if($yours)
{
$filter_obj = array(
array('none',lang('Show all')),
array('yours',lang('Only yours')),
array('private',lang('private'))
array('none',lang('show all')),
array('yours',lang('only yours')),
array('private',lang('only private'))
);
}
else
{
$filter_obj = array(
array('none',lang('Show all')),
array('private',lang('private'))
array('none',lang('show all')),
array('private',lang('only private'))
);
}
for($index=0; $index<$indexlimit; $index++)
@ -625,7 +625,7 @@
array
(
'key' => 'private',
'lang' => lang('private')
'lang' => lang('only private')
)
);