| +-----------------------------------------------------------------------+ $Id: show.inc 543 2007-04-28 18:07:12Z thomasb $ */ // read contact record if (($cid = get_input_value('_cid', RCUBE_INPUT_GPC)) && ($record = $CONTACTS->get_record($cid, true))) $OUTPUT->set_env('cid', $record['ID']); function rcmail_contact_details($attrib) { global $CONTACTS, $OUTPUT; // check if we have a valid result if (!(($result = $CONTACTS->get_result()) && ($record = $result->first()))) { $OUTPUT->show_message('contactnotfound'); return false; } // a specific part is requested if ($attrib['part']) return Q($record[$attrib['part']]); // return the complete address record as table $out = "
%s | %s |