diff options
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/admin_aside.tpl | 1 | ||||
-rwxr-xr-x | view/tpl/admin_security.tpl | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/view/tpl/admin_aside.tpl b/view/tpl/admin_aside.tpl index 0a77ef73c..ab190fc95 100755 --- a/view/tpl/admin_aside.tpl +++ b/view/tpl/admin_aside.tpl @@ -16,6 +16,7 @@ <li><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li> <li><a href='{{$admin.users.0}}'>{{$admin.users.1}}<span id='pending-update' title='{{$h_pending}}'></span></a></li> <li><a href='{{$admin.channels.0}}'>{{$admin.channels.1}}</a></li> + <li><a href='{{$admin.security.0}}'>{{$admin.security.1}}</a></li> <li><a href='{{$admin.queue.0}}'>{{$admin.queue.1}}</a></li> <li><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li> <li><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li> diff --git a/view/tpl/admin_security.tpl b/view/tpl/admin_security.tpl new file mode 100755 index 000000000..691db2d88 --- /dev/null +++ b/view/tpl/admin_security.tpl @@ -0,0 +1,31 @@ +<div class="generic-content-wrapper-styled" id='adminpage'> + <h1>{{$title}} - {{$page}}</h1> + + <form action="{{$baseurl}}/admin/security" method="post"> + + <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> + + + {{include file="field_checkbox.tpl" field=$block_public}} + + + {{include file="field_textarea.tpl" field=$whitelisted_sites}} + {{include file="field_textarea.tpl" field=$blacklisted_sites}} + + {{include file="field_textarea.tpl" field=$whitelisted_channels}} + {{include file="field_textarea.tpl" field=$blacklisted_channels}} + + + {{include file="field_checkbox.tpl" field=$embed_coop}} + + {{include file="field_textarea.tpl" field=$embed_allow}} + {{include file="field_textarea.tpl" field=$embed_deny}} + + + <div class="admin-submit-wrapper" > + <input type="submit" name="submit" class="admin-submit" value="{{$submit}}" /> + </div> + + </form> + +</div> |