aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/generic_links_widget.tpl
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2013-05-08 04:23:17 -0400
committerfabrixxm <fabrix.xm@gmail.com>2013-05-08 04:23:17 -0400
commit5e1980becf69a4c65489bed6f94fa730ec8ef4bf (patch)
tree2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/generic_links_widget.tpl
parentc753fa19d289e936131aad706cf31bcfe111b4c1 (diff)
downloadvolse-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/generic_links_widget.tpl')
-rwxr-xr-x[-rw-r--r--]view/tpl/generic_links_widget.tpl17
1 files changed, 11 insertions, 6 deletions
diff --git a/view/tpl/generic_links_widget.tpl b/view/tpl/generic_links_widget.tpl
index f3404f783..c12273c7b 100644..100755
--- a/view/tpl/generic_links_widget.tpl
+++ b/view/tpl/generic_links_widget.tpl
@@ -1,11 +1,16 @@
-<div class="widget{{ if $class }} $class{{ endif }}">
- {{if $title}}<h3>$title</h3>{{endif}}
- {{if $desc}}<div class="desc">$desc</div>{{endif}}
+{{*
+ * AUTOMATICALLY GENERATED TEMPLATE
+ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="widget{{if $class}} {{$class}}{{/if}}">
+ {{if $title}}<h3>{{$title}}</h3>{{/if}}
+ {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
<ul>
- {{ for $items as $item }}
- <li class="tool"><a href="$item.url" class="{{ if $item.selected }}selected{{ endif }}">$item.label</a></li>
- {{ endfor }}
+ {{foreach $items as $item}}
+ <li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
+ {{/foreach}}
</ul>
</div>