mirror of
https://github.com/friendica/friendica
synced 2025-04-26 02:30:11 +00:00
Move viewcontact_template and contact_template to contact/ folder
This commit is contained in:
parent
891f686dcf
commit
811e144e9e
15 changed files with 14 additions and 14 deletions
|
@ -132,7 +132,7 @@ class BaseSearch extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('viewcontact_template.tpl');
|
||||
$tpl = Renderer::getMarkupTemplate('contact/list.tpl');
|
||||
return Renderer::replaceMacros($tpl, [
|
||||
'title' => $header,
|
||||
'$contacts' => $entries,
|
||||
|
|
|
@ -178,7 +178,7 @@ class Network extends BaseModule
|
|||
} elseif (self::$forumContactId) {
|
||||
$contact = Contact::getById(self::$forumContactId);
|
||||
if (DBA::isResult($contact)) {
|
||||
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('viewcontact_template.tpl'), [
|
||||
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('contact/list.tpl'), [
|
||||
'contacts' => [ModuleContact::getContactTemplateVars($contact)],
|
||||
'id' => DI::args()->get(0),
|
||||
]) . $o;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue