diff options
author | Malf Furious <m@lfurio.us> | 2016-03-11 22:25:00 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-03-27 20:16:32 -0400 |
commit | 3bd0d2779534221af0db22e5b5bc86faaa3b2957 (patch) | |
tree | f51a1466cdadae7a8768e68607caf38bb76cc57e /app/view | |
parent | 2bf97f71f42bc68b076114834cc65466e9133b9c (diff) | |
download | scrott-3bd0d2779534221af0db22e5b5bc86faaa3b2957.tar.gz scrott-3bd0d2779534221af0db22e5b5bc86faaa3b2957.zip |
Populate admin setting fields on page load
Added logic to set initial state of fields on the setting modal's admin tab
Diffstat (limited to '')
-rw-r--r-- | app/view/common/setting.modal.view.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 0735e3f..909eead 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -95,21 +95,21 @@ <label>HTTP(S)</label> <div class="radio"> <label> - <input type="radio" name="input[settSSL]" value="force" /> + <input type="radio" name="input[settSSL]" value="force" <?=$mod->common_settingAdminSettSSLChecked['force']?> <?=$mod->common_settingAdminSettSSLDisabled?> /> Always Force SSL </label> </div> <div class="radio"> <label> - <input type="radio" name="input[settSSL]" value="neither" /> + <input type="radio" name="input[settSSL]" value="neither" <?=$mod->common_settingAdminSettSSLChecked['neither']?> <?=$mod->common_settingAdminSettSSLDisabled?> /> Neither </label> </div> <div class="radio"> <label> - <input type="radio" name="input[settSSL]" value="forbid" /> + <input type="radio" name="input[settSSL]" value="forbid" <?=$mod->common_settingAdminSettSSLChecked['forbid']?> <?=$mod->common_settingAdminSettSSLDisabled?> /> Always Forbid SSL </label> </div> @@ -118,7 +118,7 @@ <label>Access</label> <div class="checkbox"> <label> - <input type="checkbox" name="input[allowPublicSignup]" value="true" /> Allow anyone to create an account + <input type="checkbox" name="input[allowPublicSignup]" value="true" <?=$mod->common_settingAdminAllowPublicSignupChecked?> /> Allow anyone to create an account </label> </div> |