1
0
Fork 0

template rework: use viewcontact_template.tpl for contact dealing pages

This commit is contained in:
rabuzarus 2015-10-18 17:12:48 +02:00
commit f9c0c1d696
21 changed files with 185 additions and 33 deletions

View file

@ -141,8 +141,8 @@ function dirfind_content(&$a, $prefix = "") {
$entry = array(
'url' => zrl($jj->url),
'name' => htmlentities($jj->name),
'photo' => proxy_url($jj->photo, false, PROXY_SIZE_THUMB),
'tags' => $jj->tags,
'thumb' => proxy_url($jj->photo, false, PROXY_SIZE_THUMB),
'img_hover' => $jj->tags,
'conntxt' => $conntxt,
'connlnk' => $connlnk,
'photo_menu' => $photo_menu,
@ -151,11 +151,11 @@ function dirfind_content(&$a, $prefix = "") {
$entries[] = $entry;
}
$tpl = get_markup_template('match.tpl');
$tpl = get_markup_template('viewcontact_template.tpl');
$o .= replace_macros($tpl,array(
'title' => sprintf( t('People Search - %s'), $search),
'$entries' => $entries,
'$contacts' => $entries,
'$paginate' => paginate($a),
));