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) 'filter2_no_lang'=> True, // I set no_lang for filter2 (=dont translate the options)
'lettersearch' => true, 'lettersearch' => true,
'do_email' => $do_email, '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();", '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 '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'; $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( $sel_options['to'] = array(
'to' => 'To', 'to' => 'To',
'cc' => 'Cc', 'cc' => 'Cc',

File diff suppressed because one or more lines are too long