diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
commit | 5e1980becf69a4c65489bed6f94fa730ec8ef4bf (patch) | |
tree | 2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/abook_edit.tpl | |
parent | c753fa19d289e936131aad706cf31bcfe111b4c1 (diff) | |
download | volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.gz volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.bz2 volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.zip |
remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
Diffstat (limited to 'view/tpl/abook_edit.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/abook_edit.tpl | 81 |
1 files changed, 43 insertions, 38 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index 7f20f3398..9f6556842 100644..100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -1,74 +1,79 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} -<h2>$header</h2> +<h2>{{$header}}</h2> -<h3>$addr</h3> +<h3>{{$addr}}</h3> -{{ if $notself }} +{{if $notself}} <div id="connection-flag-tabs"> -$tabs +{{$tabs}} </div> -{{ endif }} +{{/if}} -{{ if $self }} -<div id="autoperm-desc" class="descriptive-paragraph">$autolbl</div> -{{ endif }} +{{if $self}} +<div id="autoperm-desc" class="descriptive-paragraph">{{$autolbl}}</div> +{{/if}} <div id="contact-edit-wrapper"> -{{ if $notself }} -{{ if $slide }} -<h3>$lbl_slider</h3> +{{if $notself}} +{{if $slide}} +<h3>{{$lbl_slider}}</h3> -$slide +{{$slide}} -{{ endif }} -{{ endif }} +{{/if}} +{{/if}} -<h3>$permlbl</h3> +<h3>{{$permlbl}}</h3> -<form id="abook-edit-form" action="connections/$contact_id" method="post" > -<input type="hidden" name="contact_id" value="$contact_id"> -<input id="contact-closeness-mirror" type="hidden" name="closeness" value="$close" /> +<form id="abook-edit-form" action="connections/{{$contact_id}}" method="post" > +<input type="hidden" name="contact_id" value="{{$contact_id}}"> +<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" /> -{{ if $noperms }} -<div id="noperm-desc" class="descriptive-paragraph">$noperms</div> -{{ endif }} +{{if $noperms}} +<div id="noperm-desc" class="descriptive-paragraph">{{$noperms}}</div> +{{/if}} -{{ if $is_pending }} -{{inc field_checkbox.tpl with $field=$unapproved }}{{endinc}} -{{ endif }} +{{if $is_pending}} +{{include file="field_checkbox.tpl" field=$unapproved}} +{{/if}} <br /> -<b>$quick</b> +<b>{{$quick}}</b> <ul> -{{ if $self }} -<li><span class="fakelink" onclick="connectForum(); $('#abook-edit-form').submit();">$forum</span></li> -<li><span class="fakelink" onclick="connectSoapBox(); $('#abook-edit-form').submit();">$soapbox</span></li> -{{ endif }} -<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">$full</span></li> -<li><span class="fakelink" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">$cautious</span></li> -<li><span class="fakelink" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">$follow</span></li> +{{if $self}} +<li><span class="fakelink" onclick="connectForum(); $('#abook-edit-form').submit();">{{$forum}}</span></li> +<li><span class="fakelink" onclick="connectSoapBox(); $('#abook-edit-form').submit();">{{$soapbox}}</span></li> +{{/if}} +<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">{{$full}}</span></li> +<li><span class="fakelink" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">{{$cautious}}</span></li> +<li><span class="fakelink" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">{{$follow}}</span></li> </ul> -<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">$advanced</div> +<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div> <div id="abook-advanced-panel" style="display: none;"> -<span class="abook-them">$them</span><span class="abook-me">$me</span> +<span class="abook-them">{{$them}}</span><span class="abook-me">{{$me}}</span> <br /> <br /> -{{ for $perms as $prm }} -{{inc field_acheckbox.tpl with $field=$prm }}{{endinc}} -{{ endfor }} +{{foreach $perms as $prm}} +{{include file="field_acheckbox.tpl" field=$prm}} +{{/foreach}} <br /> </div> -<input class="contact-edit-submit" type="submit" name="done" value="$submit" /> +<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" /> </form> </div> |