From a6d96bf1b71b197ed72aca0189e71713e9ebe350 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 16 Nov 2022 07:15:35 -0500 Subject: [PATCH] Replace remaining references to contact_template.tpl by contact/entry.tpl --- view/templates/contact_drop_confirm.tpl | 4 ++-- view/templates/directory_header.tpl | 2 +- view/templates/nogroup-template.tpl | 6 +----- view/templates/profile/contacts.tpl | 2 +- view/theme/frio/theme.php | 2 +- 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/view/templates/contact_drop_confirm.tpl b/view/templates/contact_drop_confirm.tpl index bb4d3a10cb..df5e14ad57 100644 --- a/view/templates/contact_drop_confirm.tpl +++ b/view/templates/contact_drop_confirm.tpl @@ -1,8 +1,8 @@

{{$l10n.header}}

-{{include file="contact_template.tpl" no_contacts_checkbox=True}} +{{include file="contact/entry.tpl" no_contacts_checkbox=True}} {{include file="confirm.tpl"}} -
\ No newline at end of file +
diff --git a/view/templates/directory_header.tpl b/view/templates/directory_header.tpl index 7ee38a64a5..8c05b48692 100644 --- a/view/templates/directory_header.tpl +++ b/view/templates/directory_header.tpl @@ -22,7 +22,7 @@
{{foreach $contacts as $contact}} - {{include file="contact_template.tpl"}} + {{include file="contact/entry.tpl"}} {{/foreach}}
diff --git a/view/templates/nogroup-template.tpl b/view/templates/nogroup-template.tpl index 27626396c0..8f1c939bb2 100644 --- a/view/templates/nogroup-template.tpl +++ b/view/templates/nogroup-template.tpl @@ -2,12 +2,8 @@

{{$header}}

{{foreach $contacts as $contact}} - {{include file="contact_template.tpl"}} + {{include file="contact/entry.tpl"}} {{/foreach}}
{{$paginate nofilter}} - - - - diff --git a/view/templates/profile/contacts.tpl b/view/templates/profile/contacts.tpl index 7e2ae9e83d..615ab1e0fb 100644 --- a/view/templates/profile/contacts.tpl +++ b/view/templates/profile/contacts.tpl @@ -10,7 +10,7 @@ {{if $contacts}}
{{foreach $contacts as $contact}} - {{include file="contact_template.tpl"}} + {{include file="contact/entry.tpl"}} {{/foreach}}
{{else}} diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php index 1079a08c86..498ef69f24 100644 --- a/view/theme/frio/theme.php +++ b/view/theme/frio/theme.php @@ -179,7 +179,7 @@ function frio_contact_photo_menu(App $a, &$args) // Add to pm link a new key with the value 'modal'. // Later we can make conditions in the corresponding templates (e.g. - // contact_template.tpl) + // contact/entry.tpl) if (strpos($pmlink, 'message/new/' . $cid) !== false) { $args['menu']['pm'][3] = 'modal'; } -- 2.39.5