diff --git a/Rocksolid_Light/common/themes/style.css b/Rocksolid_Light/common/themes/style.css
index 31f70b7..50db005 100644
--- a/Rocksolid_Light/common/themes/style.css
+++ b/Rocksolid_Light/common/themes/style.css
@@ -781,6 +781,23 @@ textarea.configuration {
font-size: 0.6em;
}
+/* POST */
+.post_rate_limit_notice {
+ text-align: left;
+ font-size: 1.0em;
+}
+
+.post_rate_limit_notice_limit_reached {
+ text-align: center;
+ font-size: 1.0em;
+}
+
+.post_new_user_notice {
+ font-size: 0.9em;
+ font-style: italic;
+ color: var(--color-highlight);
+}
+
/* Grouplist */
/* grouplist.php */
diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php
index cdafcf1..f7ded28 100644
--- a/Rocksolid_Light/rocksolid/post.php
+++ b/Rocksolid_Light/rocksolid/post.php
@@ -308,15 +308,18 @@ if ($type == "post") {
// Does user have their own rate limit?
$new_user_notice = '';
+ $is_new = false;
$rate_limit = get_user_config($name, 'rate_limit');
if (($rate_limit !== FALSE) && ($rate_limit > 0)) {
$is_new = get_user_config($name, 'new_account');
if ($is_new == true) {
$create_date = get_user_config($name, 'created');
if (isset($OVERRIDES['new_account_life']) && $create_date > (time() - ($OVERRIDES['new_account_life'] * 3600))) { // Account is new
+ $is_new = ($create_date - (time() - ($OVERRIDES['new_account_life'] * 3600))) / 60; // Time left before is NOT new
$CONFIG['rate_limit'] = $rate_limit;
- $new_user_notice = '
(posting is limited for ' . $OVERRIDES['new_account_life'] . ' hour(s) after account creation)
';
+ $new_user_notice = '
' . $text_post["button_back"] . ' ' . $text_post["button_back2"] . ' ' . group_display_name($returngroup) . '
'; + echo '