| | |
| | | } |
| | | |
| | | // get address book name (for display) |
| | | if ($_SESSION['addressbooks_count'] > 1) { |
| | | $name = $CONTACTS->get_name(); |
| | | if (!$name && $source == 0) { |
| | | $name = rcube_label('personaladrbook'); |
| | | } |
| | | $OUTPUT->set_env('sourcename', $name); |
| | | } |
| | | rcmail_set_sourcename($CONTACTS); |
| | | |
| | | // return raw photo of the given contact |
| | | if ($RCMAIL->action == 'photo') { |
| | |
| | | |
| | | $form = array( |
| | | 'contact' => array( |
| | | 'name' => rcube_label('contactproperties'), |
| | | 'name' => rcube_label('properties'), |
| | | 'content' => array( |
| | | 'email' => array('size' => $i_size, 'render_func' => 'rcmail_render_email_value'), |
| | | 'phone' => array('size' => $i_size), |
| | |
| | | $form_end = '</form>'; |
| | | |
| | | $RCMAIL->output->add_gui_object('editform', 'form'); |
| | | $RCMAIL->output->add_label('addingmember', 'removingmember'); |
| | | |
| | | return $form_start . $table->show() . $form_end; |
| | | return $form_start . html::tag('fieldset', 'contactfieldgroup contactgroups', $table->show()) . $form_end; |
| | | } |
| | | |
| | | |