diff options
author | Malf Furious <m@lfurio.us> | 2016-03-11 19:40:59 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-03-27 20:16:32 -0400 |
commit | 2bf97f71f42bc68b076114834cc65466e9133b9c (patch) | |
tree | ee6d6acf503988dee178a718a736980abd193cef /app/view/common/setting.modal.view.php | |
parent | e14bce5a9de98df6d19ea4ce7243bc7b19c7904b (diff) | |
download | scrott-2bf97f71f42bc68b076114834cc65466e9133b9c.tar.gz scrott-2bf97f71f42bc68b076114834cc65466e9133b9c.zip |
Add view for Setting modal, admin tab
Diffstat (limited to 'app/view/common/setting.modal.view.php')
-rw-r--r-- | app/view/common/setting.modal.view.php | 40 |
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> </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> </p> </div> <div class="tab-pane fade" id="settUsersTab"> |