X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fviewcontacts.php;h=f54a76be4c08f3abd8d64d8ed4939a935fc6cb26;hb=96ed0a77912e049799dc81761f1dbe4a9eec5757;hp=8e261e71151d1e23e706ceabd89026779caa45c7;hpb=b5e857c0e7ccf4ef3d33e5b6d0a4325b693a8e80;p=friendica.git diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index 8e261e7115..f54a76be4c 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -72,7 +72,13 @@ function viewcontacts_content(&$a) { $tpl = get_markup_template("viewcontact_template.tpl"); - $o .= replace_macros($tpl, array( + + $includes = array( + '$contact_template' => 'contact_template.tpl', + ); + $includes = set_template_includes($a->theme['template_engine'], $includes); + + $o .= replace_macros($tpl, $includes + array( '$title' => t('View Contacts'), '$contacts' => $contacts, '$paginate' => paginate($a),