mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
update
This commit is contained in:
parent
4eeea78a68
commit
de9637797d
@ -11,9 +11,12 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$phpgw_flags = Array(
|
$phpgw_flags = Array
|
||||||
'currentapp' => 'manual'
|
(
|
||||||
|
'headonly' => True,
|
||||||
|
'currentapp' => 'addressbook'
|
||||||
);
|
);
|
||||||
|
|
||||||
$phpgw_info['flags'] = $phpgw_flags;
|
$phpgw_info['flags'] = $phpgw_flags;
|
||||||
include('../../../header.inc.php');
|
include('../../../header.inc.php');
|
||||||
$font = $phpgw_info['theme']['font'];
|
$font = $phpgw_info['theme']['font'];
|
||||||
|
27
addressbook/inc/hook_help.inc.php
Normal file
27
addressbook/inc/hook_help.inc.php
Normal 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();
|
||||||
|
?>
|
@ -43,18 +43,22 @@
|
|||||||
$setup_info['addressbook']['tables'][] = 'phpgw_addressbook_servers';
|
$setup_info['addressbook']['tables'][] = 'phpgw_addressbook_servers';
|
||||||
|
|
||||||
/* The hooks this app includes, needed for hooks registration */
|
/* The hooks this app includes, needed for hooks registration */
|
||||||
$setup_info['addressbook']['hooks'][] = 'about';
|
$setup_info['addressbook']['hooks'] = array
|
||||||
$setup_info['addressbook']['hooks'][] = 'admin';
|
(
|
||||||
$setup_info['addressbook']['hooks'][] = 'add_def_pref';
|
'admin',
|
||||||
$setup_info['addressbook']['hooks'][] = 'config_validate';
|
'add_def_pref',
|
||||||
$setup_info['addressbook']['hooks'][] = 'home';
|
'config_validate',
|
||||||
$setup_info['addressbook']['hooks'][] = 'manual';
|
'home',
|
||||||
$setup_info['addressbook']['hooks'][] = 'deleteaccount';
|
'manual',
|
||||||
$setup_info['addressbook']['hooks'][] = 'notifywindow';
|
'deleteaccount',
|
||||||
$setup_info['addressbook']['hooks'][] = 'preferences';
|
'notifywindow',
|
||||||
|
'preferences',
|
||||||
|
'help'
|
||||||
|
);
|
||||||
|
|
||||||
/* Dependencies for this app to work */
|
/* Dependencies for this app to work */
|
||||||
$setup_info['addressbook']['depends'][] = array(
|
$setup_info['addressbook']['depends'][] = array
|
||||||
|
(
|
||||||
'appname' => 'phpgwapi',
|
'appname' => 'phpgwapi',
|
||||||
'versions' => Array('0.9.15', '0.9.16')
|
'versions' => Array('0.9.15', '0.9.16')
|
||||||
);
|
);
|
||||||
|
@ -555,16 +555,16 @@
|
|||||||
if($yours)
|
if($yours)
|
||||||
{
|
{
|
||||||
$filter_obj = array(
|
$filter_obj = array(
|
||||||
array('none',lang('Show all')),
|
array('none',lang('show all')),
|
||||||
array('yours',lang('Only yours')),
|
array('yours',lang('only yours')),
|
||||||
array('private',lang('private'))
|
array('private',lang('only private'))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$filter_obj = array(
|
$filter_obj = array(
|
||||||
array('none',lang('Show all')),
|
array('none',lang('show all')),
|
||||||
array('private',lang('private'))
|
array('private',lang('only private'))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
for($index=0; $index<$indexlimit; $index++)
|
for($index=0; $index<$indexlimit; $index++)
|
||||||
@ -625,7 +625,7 @@
|
|||||||
array
|
array
|
||||||
(
|
(
|
||||||
'key' => 'private',
|
'key' => 'private',
|
||||||
'lang' => lang('private')
|
'lang' => lang('only private')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user