aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/contacts-template.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-08 02:11:17 -0700
committerfriendica <info@friendica.com>2013-05-08 02:11:17 -0700
commitcdcbe9772423d5373f6d0d4aa33700446a989340 (patch)
tree2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/contacts-template.tpl
parent51c27579ba79d32c26052c0d1f1218a16315234b (diff)
parent5e1980becf69a4c65489bed6f94fa730ec8ef4bf (diff)
downloadvolse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.tar.gz
volse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.tar.bz2
volse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.zip
Merge pull request #50 from fabrixxm/newtemplatesystem
New template system
Diffstat (limited to 'view/tpl/contacts-template.tpl')
-rwxr-xr-x[-rw-r--r--]view/tpl/contacts-template.tpl27
1 files changed, 16 insertions, 11 deletions
diff --git a/view/tpl/contacts-template.tpl b/view/tpl/contacts-template.tpl
index ecb342bf4..66f3f5c87 100644..100755
--- a/view/tpl/contacts-template.tpl
+++ b/view/tpl/contacts-template.tpl
@@ -1,25 +1,30 @@
-<h1>$header{{ if $total }} ($total){{ endif }}</h1>
+{{*
+ * AUTOMATICALLY GENERATED TEMPLATE
+ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h1>{{$header}}{{if $total}} ({{$total}}){{/if}}</h1>
-{{ if $finding }}<h4>$finding</h4>{{ endif }}
+{{if $finding}}<h4>{{$finding}}</h4>{{/if}}
<div id="contacts-search-wrapper">
-<form id="contacts-search-form" action="$cmd" method="get" >
-<span class="contacts-search-desc">$desc</span>
-<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="$search" />
-<input type="submit" name="submit" id="contacts-search-submit" value="$submit" />
+<form id="contacts-search-form" action="{{$cmd}}" method="get" >
+<span class="contacts-search-desc">{{$desc}}</span>
+<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="{{$search}}" />
+<input type="submit" name="submit" id="contacts-search-submit" value="{{$submit}}" />
</form>
</div>
<div id="contacts-search-end"></div>
-$tabs
+{{$tabs}}
-{{ for $contacts as $contact }}
- {{ inc contact_template.tpl }}{{ endinc }}
-{{ endfor }}
+{{foreach $contacts as $contact}}
+ {{include file="contact_template.tpl"}}
+{{/foreach}}
<div id="contact-edit-end"></div>
-$paginate
+{{$paginate}}