Skip to content

Node.js based forum software built for the modern web

tweaking source copy and removing a bit more commented out html. Moving some items around

Julian Lam8affaac8f0ab
diff --git a/public/language/en-GB/admin/settings/post.json b/public/language/en-GB/admin/settings/post.json
index ed8140a3c7..6a1ab9a2a5 100644
--- a/public/language/en-GB/admin/settings/post.json
+++ b/public/language/en-GB/admin/settings/post.json
@@ -15,7 +15,7 @@
"restrictions-new.post-queue-help": "Enabling new user restrictions will set restrictions on posts created by new users.",
"restrictions.seconds-between": "Seconds between posts",
"restrictions.seconds-between-new": "Seconds between posts for new users",
- "restrictions.rep-threshold": "Reputation threshold before this restriction is lifted",
+ "restrictions.rep-threshold": "Reputation threshold before these restrictions are lifted",
"restrictions.seconds-defore-new": "Seconds before new user can post",
"restrictions.seconds-edit-after": "Number of seconds before users are allowed to edit posts after posting. (0 disabled)",
"restrictions.seconds-delete-after": "Number of seconds before users are allowed to delete posts after posting. (0 disabled)",
diff --git a/src/views/admin/settings/post.tpl b/src/views/admin/settings/post.tpl
index 08fe01fdea..4d56901d91 100644
--- a/src/views/admin/settings/post.tpl
+++ b/src/views/admin/settings/post.tpl
@@ -87,47 +87,36 @@
<div class="col-sm-2 col-xs-12 settings-header">[[admin/settings/post:restrictions-new]]</div>
<div class="col-sm-10 col-xs-12">
<form>
- <!-- <div class="form-group">
- <div class="checkbox">
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
- <input class="mdl-switch__input" type="checkbox" data-field="toggleUserRestrictions">
- <span class="mdl-switch__label"><strong>[[admin/settings/post:restrictions-new.post-queue]]</strong></span>
- </label>
- </div>
- <p class="help-block">
- [[admin/settings/post:restrictions-new.post-queue-help]]
- </p>
- </div> -->
- <div class="form-group">
- <div class="checkbox">
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
- <input class="mdl-switch__input" type="checkbox" data-field="postQueue" data-type="newUserRestrictions">
- <span class="mdl-switch__label"><strong>[[admin/settings/post:restrictions.post-queue]]</strong></span>
- </label>
- </div>
- <p class="help-block">
- [[admin/settings/post:restrictions.post-queue-help]]
- </p>
- </div>
-
<div class="row">
<div class="col-xs-6">
<div class="form-group">
<label for="newbiePostDelay">[[admin/settings/post:restrictions.seconds-between-new]]</label>
- <input id="newbiePostDelay" type="text" class="form-control" value="120" data-field="newbiePostDelay" data-type="newUserRestrictions">
+ <input id="newbiePostDelay" type="text" class="form-control" value="120" data-field="newbiePostDelay">
</div>
</div>
<div class="col-xs-6">
<div class="form-group">
<label for="initialPostDelay">[[admin/settings/post:restrictions.seconds-defore-new]]</label>
- <input id="initialPostDelay" type="text" class="form-control" value="10" data-field="initialPostDelay" data-type="newUserRestrictions">
+ <input id="initialPostDelay" type="text" class="form-control" value="10" data-field="initialPostDelay">
</div>
</div>
</div>
<div class="form-group">
- <label for="newbiePostDelayThreshold">[[admin/settings/post:restrictions.rep-threshold]]</label>
- <input id="newbiePostDelayThreshold" type="text" class="form-control" value="3" data-field="newbiePostDelayThreshold" data-type="newUserRestrictions"">
+ <div class="checkbox">
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
+ <input class="mdl-switch__input" type="checkbox" data-field="postQueue">
+ <span class="mdl-switch__label"><strong>[[admin/settings/post:restrictions.post-queue]]</strong></span>
+ </label>
+ </div>
+ <p class="help-block">
+ [[admin/settings/post:restrictions.post-queue-help]]
+ </p>
+ </div>
+
+ <div class="form-group">
+ <label for="newbiePostDelayThreshold">[[admin/settings/post:restrictions.rep-threshold]]</label>
+ <input id="newbiePostDelayThreshold" type="text" class="form-control" value="3" data-field="newbiePostDelayThreshold">
</div>
</form>
</div>