template rework: use viewcontact_template.tpl for contact dealing pages
This commit is contained in:
parent
4c1c614fa6
commit
f9c0c1d696
21 changed files with 185 additions and 33 deletions
|
|
@ -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),
|
||||
));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue