aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/settings_features.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/settings_features.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/settings_features.tpl')
-rwxr-xr-x[-rw-r--r--]view/tpl/settings_features.tpl23
1 files changed, 14 insertions, 9 deletions
diff --git a/view/tpl/settings_features.tpl b/view/tpl/settings_features.tpl
index fd65abebb..797d3da2c 100644..100755
--- a/view/tpl/settings_features.tpl
+++ b/view/tpl/settings_features.tpl
@@ -1,19 +1,24 @@
-<h1>$title</h1>
+{{*
+ * AUTOMATICALLY GENERATED TEMPLATE
+ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h1>{{$title}}</h1>
<form action="settings/features" method="post" autocomplete="off">
-<input type='hidden' name='form_security_token' value='$form_security_token'>
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
-{{ for $features as $f }}
-<h3 class="settings-heading">$f.0</h3>
+{{foreach $features as $f}}
+<h3 class="settings-heading">{{$f.0}}</h3>
-{{ for $f.1 as $fcat }}
- {{ inc $field_yesno with $field=$fcat }}{{endinc}}
-{{ endfor }}
-{{ endfor }}
+{{foreach $f.1 as $fcat}}
+ {{include file="{{$field_yesno}}" field=$fcat}}
+{{/foreach}}
+{{/foreach}}
<div class="settings-submit-wrapper" >
-<input type="submit" name="submit" class="settings-features-submit" value="$submit" />
+<input type="submit" name="submit" class="settings-features-submit" value="{{$submit}}" />
</div>
</form>