Add additional column 'Addressbook'

This commit is contained in:
Nathan Gray 2011-02-04 16:19:38 +00:00
parent 7f3baa2639
commit 6a9d8f1b3b
2 changed files with 4 additions and 4 deletions

View File

@ -205,7 +205,7 @@ class addressbook_ui extends addressbook_bo
'filter2_no_lang'=> True, // I set no_lang for filter2 (=dont translate the options)
'lettersearch' => true,
'do_email' => $do_email,
'default_cols' => '!cat_id,contact_created_contact_modified,distribution_list,contact_id',
'default_cols' => '!cat_id,contact_created_contact_modified,distribution_list,contact_id,owner',
'filter2_onchange' => "if(this.value=='add') { add_new_list(document.getElementById(form::name('filter')).value); this.value='';} else this.form.submit();",
'manual' => $do_email ? ' ' : false, // space for the manual icon
);
@ -256,7 +256,7 @@ class addressbook_ui extends addressbook_bo
{
$content['nm']['header_left'] = 'addressbook.index.left';
}
$sel_options['filter'] = $this->get_addressbooks(EGW_ACL_READ,lang('All'));
$sel_options['filter'] = $sel_options['owner'] = $this->get_addressbooks(EGW_ACL_READ,lang('All'));
$sel_options['to'] = array(
'to' => 'To',
'cc' => 'Cc',

File diff suppressed because one or more lines are too long