summaryrefslogtreecommitdiffstats
path: root/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'app/view')
-rw-r--r--app/view/common/setting.modal.view.php40
1 files changed, 39 insertions, 1 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php
index 90d68f8..0735e3f 100644
--- a/app/view/common/setting.modal.view.php
+++ b/app/view/common/setting.modal.view.php
@@ -87,7 +87,45 @@
<?php if ($mod->getCurrentUser()->admin == 1) { ?>
<div class="tab-pane fade" id="settAdminTab">
- admin schings
+ <p>&nbsp;</p>
+
+ <form method="post" action="<?=$mod->ap()?>">
+ <input type="hidden" name="input[action]" value="common-setting-admin" />
+ <div class="form-group">
+ <label>HTTP(S)</label>
+ <div class="radio">
+ <label>
+ <input type="radio" name="input[settSSL]" value="force" />
+ Always Force SSL
+ </label>
+ </div>
+
+ <div class="radio">
+ <label>
+ <input type="radio" name="input[settSSL]" value="neither" />
+ Neither
+ </label>
+ </div>
+
+ <div class="radio">
+ <label>
+ <input type="radio" name="input[settSSL]" value="forbid" />
+ Always Forbid SSL
+ </label>
+ </div>
+ </div>
+
+ <label>Access</label>
+ <div class="checkbox">
+ <label>
+ <input type="checkbox" name="input[allowPublicSignup]" value="true" /> Allow anyone to create an account
+ </label>
+ </div>
+
+ <button type="submit" class="btn btn-success pull-right">Save</button>
+ </form>
+
+ <p>&nbsp;</p>
</div>
<div class="tab-pane fade" id="settUsersTab">