mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Sitemgr reservations - Add confirmed addressbook option to move confirmed contacts
This commit is contained in:
parent
1109aea63a
commit
90ccc3f8fc
@ -151,7 +151,8 @@ class resources_reserve {
|
||||
$reg_id = registration_bo::save(array(
|
||||
'contact_id' => $contact_id,
|
||||
'timestamp' => time() + ($config['expiry'] * 3600),
|
||||
'post_confirm_hook' => 'resources_reserve::confirm'
|
||||
'post_confirm_hook' => 'resources_reserve::confirm',
|
||||
'sitemgr_version' => $preserve['sitemgr_version']
|
||||
), false);
|
||||
if(is_numeric($reg_id))
|
||||
{
|
||||
|
@ -57,7 +57,14 @@ class module_resources_reservation extends sitemgr_module
|
||||
'rows' => 8,
|
||||
'cols' => 110
|
||||
)
|
||||
)
|
||||
),
|
||||
'confirmed_addressbook' => array(
|
||||
'type' => 'select',
|
||||
'label' => lang('Confirmed addressbook.').' ('.lang('The anonymous user needs add rights for it!').')',
|
||||
'options' => array(
|
||||
'' => lang('None'),
|
||||
)+registration_bo::get_allowed_addressbooks(registration_bo::CONFIRMED)
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user