diff options
author | Zach Prezkuta <fermion@gmx.com> | 2013-01-06 14:42:51 -0700 |
---|---|---|
committer | Zach Prezkuta <fermion@gmx.com> | 2013-01-06 15:57:11 -0700 |
commit | a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468 (patch) | |
tree | 280d792355cb2e60cf62e8451b6d8afbbfcc7c0d /view/tpl/smarty3/delegate.tpl | |
parent | 61b8ea9e1af74e2056e18b02c170a899de9abd1b (diff) | |
download | volse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.tar.gz volse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.tar.bz2 volse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.zip |
implement Smarty3
Diffstat (limited to 'view/tpl/smarty3/delegate.tpl')
-rw-r--r-- | view/tpl/smarty3/delegate.tpl | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/view/tpl/smarty3/delegate.tpl b/view/tpl/smarty3/delegate.tpl new file mode 100644 index 000000000..cbaa8da86 --- /dev/null +++ b/view/tpl/smarty3/delegate.tpl @@ -0,0 +1,57 @@ +<h3>{{$header}}</h3> + +<div id="delegate-desc" class="delegate-desc">{{$desc}}</div> + +{{if $managers}} +<h3>{{$head_managers}}</h3> + +{{foreach $managers as $x}} + +<div class="contact-block-div"> +<a class="contact-block-link" href="#" > +<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> +</a> +</div> + +{{/foreach}} +<div class="clear"></div> +<hr /> +{{/if}} + + +<h3>{{$head_delegates}}</h3> + +{{if $delegates}} +{{foreach $delegates as $x}} + +<div class="contact-block-div"> +<a class="contact-block-link" href="{{$base}}/delegate/remove/{{$x.uid}}" > +<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> +</a> +</div> + +{{/foreach}} +<div class="clear"></div> +{{else}} +{{$none}} +{{/if}} +<hr /> + + +<h3>{{$head_potentials}}</h3> +{{if $potentials}} +{{foreach $potentials as $x}} + +<div class="contact-block-div"> +<a class="contact-block-link" href="{{$base}}/delegate/add/{{$x.uid}}" > +<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> +</a> +</div> + +{{/foreach}} +<div class="clear"></div> +{{else}} +{{$none}} +{{/if}} +<hr /> + |