aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-16 19:36:47 +0000
committerMario <mario@mariovavti.com>2021-08-17 09:58:42 +0200
commit2deb75de8d86803922cea949c16e1b21a486ca6d (patch)
tree266f1d88f06895eb7cc2c23c2eb093afd577b362 /view/tpl
parent6bcd24ab90a3aee3fe9841220ff0be02159d7c3d (diff)
downloadvolse-hubzilla-2deb75de8d86803922cea949c16e1b21a486ca6d.tar.gz
volse-hubzilla-2deb75de8d86803922cea949c16e1b21a486ca6d.tar.bz2
volse-hubzilla-2deb75de8d86803922cea949c16e1b21a486ca6d.zip
remove redundant closing div tag
(cherry picked from commit 87cf2039adc41583cd56cf2b8b3d7639e2f02303)
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/admin_site.tpl30
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;
});
-
+
}
});
});