diff options
author | friendica <info@friendica.com> | 2013-05-08 02:11:17 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-08 02:11:17 -0700 |
commit | cdcbe9772423d5373f6d0d4aa33700446a989340 (patch) | |
tree | 2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/settings_features.tpl | |
parent | 51c27579ba79d32c26052c0d1f1218a16315234b (diff) | |
parent | 5e1980becf69a4c65489bed6f94fa730ec8ef4bf (diff) | |
download | volse-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/settings_features.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/settings_features.tpl | 23 |
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> |