]> git.mxchange.org Git - friendica.git/blobdiff - mod/viewcontacts.php
Implement Smarty3
[friendica.git] / mod / viewcontacts.php
index 8e261e71151d1e23e706ceabd89026779caa45c7..f54a76be4c08f3abd8d64d8ed4939a935fc6cb26 100644 (file)
@@ -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),