diff options
author | Mario <mario@mariovavti.com> | 2021-08-16 19:36:47 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-08-16 19:36:47 +0000 |
commit | 87cf2039adc41583cd56cf2b8b3d7639e2f02303 (patch) | |
tree | bbcbb7f329c79b07c6190b81e7e9ab0fc7932932 /view | |
parent | db4109c2a0d10bbbbb3e85e6ba35f820c9aa1e11 (diff) | |
download | volse-hubzilla-87cf2039adc41583cd56cf2b8b3d7639e2f02303.tar.gz volse-hubzilla-87cf2039adc41583cd56cf2b8b3d7639e2f02303.tar.bz2 volse-hubzilla-87cf2039adc41583cd56cf2b8b3d7639e2f02303.zip |
remove redundant closing div tag
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/admin_site.tpl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index 5d51932eb..6882c3b8a 100644 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -1,6 +1,6 @@ <div id="adminpage" class="generic-content-wrapper-styled"> <h1>{{$title}} - {{$page}}</h1> - + <form action="{{$baseurl}}/admin/site" method="post"> <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> @@ -24,11 +24,11 @@ {{if $directory_server}} {{include file="field_select.tpl" field=$directory_server}} {{/if}} - + <div class="submit"> <input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}" /> </div> - + <h3>{{$registration}}</h3> {{include file="field_input.tpl" field=$register_text}} {{include file="field_select_grouped.tpl" field=$role}} @@ -61,11 +61,11 @@ {{include file="field_textarea.tpl" field=$incl}} {{include file="field_textarea.tpl" field=$excl}} {{include file="field_input.tpl" field=$abandon_days}} - + <div class="submit"> - <input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}" /></div> + <input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}" /> </div> - + <h3>{{$advanced}}</h3> {{include file="field_checkbox.tpl" field=$sse_enabled}} {{include file="field_input.tpl" field=$imagick_path}} @@ -80,29 +80,29 @@ {{include file="field_input.tpl" field=$default_expire_days}} {{include file="field_input.tpl" field=$active_expire_days}} - + <div class="submit"> <input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}" /> </div> - + </form> </div> -{{* +{{* COMMENTS for this template: hilmar, 2020.01 script placed at the end *}} <script> $(function(){ - + $("#cnftheme").colorbox({ width: 800, onLoad: function(){ var theme = $("#id_theme :selected").val(); $("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme); - }, + }, onComplete: function(){ - $(this).colorbox.resize(); + $(this).colorbox.resize(); $("#colorbox form").submit(function(e){ var url = $(this).attr('action'); // can't get .serialize() to work... @@ -114,16 +114,16 @@ data[$(this).attr('name')] = $(this).children(":selected").val(); }); console.log(":)", url, data); - + $.post(url, data, function(data) { if(timer) clearTimeout(timer); updateInit(); $.colorbox.close(); }) - + return false; }); - + } }); }); |