alecpl
2012-01-01 1c029b9c7c67c9603e9044b65c843300dd73ecb8
program/steps/addressbook/show.inc
@@ -34,13 +34,7 @@
}
// 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') {
@@ -108,7 +102,7 @@
    $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),
@@ -207,8 +201,9 @@
    $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;
}