aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-29 22:43:49 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-29 22:43:49 +0200
commitca9491d343cd03acfb0bb48017df48ca8ffb761d (patch)
treed8b1d082a68c12285bafa57c8d9da5a5086a9a31 /view/tpl
parent96ae569eafe8bec574ad3f34a0bd3717ba924d75 (diff)
downloadvolse-hubzilla-ca9491d343cd03acfb0bb48017df48ca8ffb761d.tar.gz
volse-hubzilla-ca9491d343cd03acfb0bb48017df48ca8ffb761d.tar.bz2
volse-hubzilla-ca9491d343cd03acfb0bb48017df48ca8ffb761d.zip
move trusted directory servers to security and implement in backend
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/admin_security.tpl5
-rw-r--r--view/tpl/admin_site.tpl3
2 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/admin_security.tpl b/view/tpl/admin_security.tpl
index 3cc23f5b2..29c6bcb34 100644
--- a/view/tpl/admin_security.tpl
+++ b/view/tpl/admin_security.tpl
@@ -17,7 +17,7 @@
{{include file="field_checkbox.tpl" field=$inline_pdf}}
{{include file="field_textarea.tpl" field=$allowed_email}}
- {{include file="field_textarea.tpl" field=$not_allowed_email}}
+ {{include file="field_textarea.tpl" field=$not_allowed_email}}
{{include file="field_textarea.tpl" field=$whitelisted_sites}}
{{include file="field_textarea.tpl" field=$blacklisted_sites}}
@@ -27,6 +27,9 @@
{{include file="field_textarea.tpl" field=$embed_allow}}
{{include file="field_textarea.tpl" field=$embed_deny}}
+ {{if $trusted_directory_servers}}
+ {{include file="field_textarea.tpl" field=$trusted_directory_servers}}
+ {{/if}}
<div class="admin-submit-wrapper">
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl
index 0e5b91376..bad68361b 100644
--- a/view/tpl/admin_site.tpl
+++ b/view/tpl/admin_site.tpl
@@ -24,9 +24,6 @@
{{if $directory_server}}
{{include file="field_select.tpl" field=$directory_server}}
{{/if}}
- {{if $trusted_directory_servers}}
- {{include file="field_textarea.tpl" field=$trusted_directory_servers}}
- {{/if}}
<div class="submit">
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}" />