Replace remaining references to contact_template.tpl by contact/entry.tpl

This commit is contained in:
Hypolite Petovan 2022-11-16 07:15:35 -05:00
parent 293f147867
commit a6d96bf1b7
5 changed files with 6 additions and 10 deletions

View file

@ -1,8 +1,8 @@
<h1>{{$l10n.header}}</h1> <h1>{{$l10n.header}}</h1>
{{include file="contact_template.tpl" no_contacts_checkbox=True}} {{include file="contact/entry.tpl" no_contacts_checkbox=True}}
{{include file="confirm.tpl"}} {{include file="confirm.tpl"}}
<div class="clear"></div> <div class="clear"></div>

View file

@ -22,7 +22,7 @@
<div id="directory-search-end"></div> <div id="directory-search-end"></div>
{{foreach $contacts as $contact}} {{foreach $contacts as $contact}}
{{include file="contact_template.tpl"}} {{include file="contact/entry.tpl"}}
{{/foreach}} {{/foreach}}
<div class="directory-end"></div> <div class="directory-end"></div>

View file

@ -2,12 +2,8 @@
<h1>{{$header}}</h1> <h1>{{$header}}</h1>
{{foreach $contacts as $contact}} {{foreach $contacts as $contact}}
{{include file="contact_template.tpl"}} {{include file="contact/entry.tpl"}}
{{/foreach}} {{/foreach}}
<div id="contact-edit-end"></div> <div id="contact-edit-end"></div>
{{$paginate nofilter}} {{$paginate nofilter}}

View file

@ -10,7 +10,7 @@
{{if $contacts}} {{if $contacts}}
<div id="viewcontact_wrapper-{{$id}}"> <div id="viewcontact_wrapper-{{$id}}">
{{foreach $contacts as $contact}} {{foreach $contacts as $contact}}
{{include file="contact_template.tpl"}} {{include file="contact/entry.tpl"}}
{{/foreach}} {{/foreach}}
</div> </div>
{{else}} {{else}}

View file

@ -179,7 +179,7 @@ function frio_contact_photo_menu(App $a, &$args)
// Add to pm link a new key with the value 'modal'. // Add to pm link a new key with the value 'modal'.
// Later we can make conditions in the corresponding templates (e.g. // Later we can make conditions in the corresponding templates (e.g.
// contact_template.tpl) // contact/entry.tpl)
if (strpos($pmlink, 'message/new/' . $cid) !== false) { if (strpos($pmlink, 'message/new/' . $cid) !== false) {
$args['menu']['pm'][3] = 'modal'; $args['menu']['pm'][3] = 'modal';
} }