mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-10 19:34:25 +02:00
Refactor widgets
- Move widget templates to subfolder - Add new generic filter widget templates to replace category, network and filer filters - Update styles
This commit is contained in:
parent
6cc376020e
commit
71ae8d07a6
37 changed files with 260 additions and 308 deletions
|
@ -26,7 +26,7 @@ class ContactBlock
|
|||
/**
|
||||
* Get HTML for contact block
|
||||
*
|
||||
* @template contact_block.tpl
|
||||
* @template widget/contacts.tpl
|
||||
* @hook contact_block_end (contacts=>array, output=>string)
|
||||
* @return string
|
||||
*/
|
||||
|
@ -102,7 +102,7 @@ class ContactBlock
|
|||
DBA::close($contact_ids_stmt);
|
||||
}
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('contact_block.tpl');
|
||||
$tpl = Renderer::getMarkupTemplate('widget/contacts.tpl');
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
'$contacts' => $contacts_title,
|
||||
'$nickname' => $profile['nickname'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue