mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-01 00:08:53 +02:00
ACP "Posts" Changes
- Seperate section for "Post Length" settings - New section for settings that only apply to new users - Changed order of some settings under "posting restrctions" and "new user restrictions" - Uncapitalized words that shouldn't have been capitalized
This commit is contained in:
committed by
Julian Lam
parent
b7714179f6
commit
c72864888d
@@ -6,21 +6,25 @@
|
||||
"sorting.most-votes": "Most Votes",
|
||||
"sorting.most-posts": "Most Posts",
|
||||
"sorting.topic-default": "Default Topic Sorting",
|
||||
"length": "Post Length",
|
||||
"restrictions": "Posting Restrictions",
|
||||
"restrictions-new": "New User Restrictions",
|
||||
"restrictions.post-queue": "Enable post queue",
|
||||
"restrictions-new.post-queue": "Enable new user restrictions",
|
||||
"restrictions.post-queue-help": "Enabling post queue will put the posts of new users in a queue for approval.",
|
||||
"restrictions.seconds-between": "Seconds between Posts",
|
||||
"restrictions.seconds-between-new": "Seconds between Posts for New Users",
|
||||
"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.seconds-defore-new": "Seconds before new user can post",
|
||||
"restrictions.seconds-edit-after": "Number of seconds users are allowed to edit posts after posting. (0 disabled)",
|
||||
"restrictions.seconds-delete-after": "Number of seconds users are allowed to delete posts after posting. (0 disabled)",
|
||||
"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)",
|
||||
"restrictions.replies-no-delete": "Number of replies after users are disallowed to delete their own topics. (0 disabled)",
|
||||
"restrictions.min-title-length": "Minimum Title Length",
|
||||
"restrictions.max-title-length": "Maximum Title Length",
|
||||
"restrictions.min-post-length": "Minimum Post Length",
|
||||
"restrictions.max-post-length": "Maximum Post Length",
|
||||
"restrictions.days-until-stale": "Days until Topic is considered stale",
|
||||
"restrictions.days-until-stale": "Days until topic is considered stale",
|
||||
"restrictions.stale-help": "If a topic is considered \"stale\", then a warning will be shown to users who attempt to reply to that topic.",
|
||||
"timestamp": "Timestamp",
|
||||
"timestamp.cut-off": "Date cut-off (in days)",
|
||||
|
||||
@@ -24,10 +24,127 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-2 col-xs-12 settings-header">[[admin/settings/post:length]]</div>
|
||||
<div class="col-sm-10 col-xs-12">
|
||||
<form>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="minimumTitleLength">[[admin/settings/post:restrictions.min-title-length]]</label>
|
||||
<input id="minimumTitleLength" type="text" class="form-control" value="3" data-field="minimumTitleLength">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="maximumTitleLength">[[admin/settings/post:restrictions.max-title-length]]</label>
|
||||
<input id="maximumTitleLength" type="text" class="form-control" value="255" data-field="maximumTitleLength">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="minimumPostLength">[[admin/settings/post:restrictions.min-post-length]]</label>
|
||||
<input id="minimumPostLength" type="text" class="form-control" value="8" data-field="minimumPostLength">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="maximumPostLength">[[admin/settings/post:restrictions.max-post-length]]</label>
|
||||
<input id="maximumPostLength" type="text" class="form-control" value="32767" data-field="maximumPostLength">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-2 col-xs-12 settings-header">[[admin/settings/post:restrictions]]</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="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="postDelay">[[admin/settings/post:restrictions.seconds-between]]</label>
|
||||
<input id="postDelay" type="text" class="form-control" value="10" data-field="postDelay">
|
||||
</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">
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- <div class="col-xs-6">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
<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">
|
||||
</div> -->
|
||||
<div class="form-group">
|
||||
<label for="postEditDuration">[[admin/settings/post:restrictions.seconds-edit-after]]</label>
|
||||
<input id="postEditDuration" type="text" class="form-control" value="0" data-field="postEditDuration">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="postDeleteDuration">[[admin/settings/post:restrictions.seconds-delete-after]]</label>
|
||||
<input id="postDeleteDuration" type="text" class="form-control" value="0" data-field="postDeleteDuration">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="preventTopicDeleteAfterReplies">[[admin/settings/post:restrictions.replies-no-delete]]</label>
|
||||
<input id="preventTopicDeleteAfterReplies" type="text" class="form-control" value="0" data-field="preventTopicDeleteAfterReplies">
|
||||
</div>
|
||||
<!-- <div class="form-group">
|
||||
<label for="minimumTitleLength">[[admin/settings/post:restrictions.min-title-length]]</label>
|
||||
<input id="minimumTitleLength" type="text" class="form-control" value="3" data-field="minimumTitleLength">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="maximumTitleLength">[[admin/settings/post:restrictions.max-title-length]]</label>
|
||||
<input id="maximumTitleLength" type="text" class="form-control" value="255" data-field="maximumTitleLength">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="minimumPostLength">[[admin/settings/post:restrictions.min-post-length]]</label>
|
||||
<input id="minimumPostLength" type="text" class="form-control" value="8" data-field="minimumPostLength">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="maximumPostLength">[[admin/settings/post:restrictions.max-post-length]]</label>
|
||||
<input id="maximumPostLength" type="text" class="form-control" value="32767" data-field="maximumPostLength">
|
||||
</div> -->
|
||||
<div class="form-group">
|
||||
<label for="topicStaleDays">[[admin/settings/post:restrictions.days-until-stale]]</label>
|
||||
<input id="topicStaleDays" type="text" class="form-control" value="60" data-field="topicStaleDays">
|
||||
<p class="help-block">
|
||||
[[admin/settings/post:restrictions.stale-help]]
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<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="postQueue">
|
||||
<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">
|
||||
@@ -39,10 +156,10 @@
|
||||
[[admin/settings/post:restrictions.post-queue-help]]
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<!-- <div class="form-group">
|
||||
<label for="postDelay">[[admin/settings/post:restrictions.seconds-between]]</label>
|
||||
<input id="postDelay" type="text" class="form-control" value="10" data-field="postDelay">
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="form-group">
|
||||
@@ -52,16 +169,20 @@
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<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">
|
||||
<label for="initialPostDelay">[[admin/settings/post:restrictions.seconds-defore-new]]</label>
|
||||
<input id="initialPostDelay" type="text" class="form-control" value="10" data-field="initialPostDelay">
|
||||
<!-- <label for="newbiePostDelayThreshold">[[admin/settings/post:restrictions.rep-threshold]]</label>
|
||||
<input id="newbiePostDelayThreshold" type="text" class="form-control" value="3" data-field="newbiePostDelayThreshold"> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<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">
|
||||
<label for="newbiePostDelayThreshold">[[admin/settings/post:restrictions.rep-threshold]]</label>
|
||||
<input id="newbiePostDelayThreshold" type="text" class="form-control" value="3" data-field="newbiePostDelayThreshold">
|
||||
<!-- <label for="initialPostDelay">[[admin/settings/post:restrictions.seconds-defore-new]]</label>
|
||||
<input id="initialPostDelay" type="text" class="form-control" value="10" data-field="initialPostDelay"> -->
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<!-- <div class="form-group">
|
||||
<label for="postEditDuration">[[admin/settings/post:restrictions.seconds-edit-after]]</label>
|
||||
<input id="postEditDuration" type="text" class="form-control" value="0" data-field="postEditDuration">
|
||||
</div>
|
||||
@@ -95,7 +216,7 @@
|
||||
<p class="help-block">
|
||||
[[admin/settings/post:restrictions.stale-help]]
|
||||
</p>
|
||||
</div>
|
||||
</div> -->
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user