diff options
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/settings_features.tpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/view/tpl/settings_features.tpl b/view/tpl/settings_features.tpl index 0b65e2524..998199c8e 100755 --- a/view/tpl/settings_features.tpl +++ b/view/tpl/settings_features.tpl @@ -1,3 +1,12 @@ +<script> + $(document).ready(function() { + $('#id_techlevel').change(function() { + var techlvl = $('#id_techlevel').val(); + window.location.href='{{$baseurl}}/settings/features?f=&techlevel=' + techlvl; + }); + }); +</script> + <div class="generic-content-wrapper"> <div class="section-title-wrapper"> <h2>{{$title}}</h2> @@ -11,6 +20,12 @@ {{else}} <input type="hidden" name="techlevel" value="{{$techlevel.2}}" /> {{/if}} + + {{if $hiddens}} + {{foreach $hiddens as $k => $v}} + <input type="hidden" name="feature_{{$k}}" value="{{$v}}" /> + {{/foreach}} + {{/if}} <div class="panel-group" id="settings" role="tablist" aria-multiselectable="true"> {{foreach $features as $g => $f}} <div class="panel"> |