Merge pull request #12194 from MrPetovan/bug/12193-contact_template
Replace remaining references to contact_template.tpl by contact/entry.tpl
This commit is contained in:
commit
fa675de710
5 changed files with 6 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
||||||
<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"}}
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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}}
|
||||||
|
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue