summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-03-17 12:41:54 +0000
committerDries Buytaert <dries@buytaert.net>2009-03-17 12:41:54 +0000
commit4072ea46521512da7ff9f57a21cbeb4c4f7c2cfa (patch)
tree74688064bba20c91dd4dba27fd92ddff5cf812a3 /modules/forum/forum.module
parent917a37fb7e6f8ef522267d004a7ee365dd2cc23e (diff)
downloadbrdo-4072ea46521512da7ff9f57a21cbeb4c4f7c2cfa.tar.gz
brdo-4072ea46521512da7ff9f57a21cbeb4c4f7c2cfa.tar.bz2
- Patch #394374 by cwgordon7, wretched sinner, et al: improved language of comment status. Usability improvement based on testing in Baltimore.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 2b0c23550..b7c678c80 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -17,7 +17,7 @@ function forum_help($path, $arg) {
$output .= '<p>' . t('When administering a forum, note that:') . '</p>';
$output .= '<ul><li>' . t('a forum topic (and all of its comments) may be moved between forums by selecting a different forum while editing a forum topic.') . '</li>';
$output .= '<li>' . t('when moving a forum topic between forums, the <em>Leave shadow copy</em> option creates a link in the original forum pointing to the new location.') . '</li>';
- $output .= '<li>' . t('selecting <em>Read only</em> under <em>Comment settings</em> while editing a forum topic will lock (prevent new comments) on the thread.') . '</li>';
+ $output .= '<li>' . t('selecting <em>Closed</em> under <em>Comment settings</em> while editing a forum topic will lock (prevent new comments) on the thread.') . '</li>';
$output .= '<li>' . t('selecting <em>Disabled</em> under <em>Comment settings</em> while editing a forum topic will hide all existing comments on the thread, and prevent new ones.') . '</li></ul>';
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@forum">Forum module</a>.', array('@forum' => 'http://drupal.org/handbook/modules/forum/')) . '</p>';
return $output;
@@ -933,7 +933,7 @@ function template_preprocess_forum_icon(&$variables) {
$variables['icon'] = $variables['new_posts'] ? 'new' : 'default';
}
- if ($variables['comment_mode'] == COMMENT_NODE_READ_ONLY || $variables['comment_mode'] == COMMENT_NODE_DISABLED) {
+ if ($variables['comment_mode'] == COMMENT_NODE_CLOSED || $variables['comment_mode'] == COMMENT_NODE_HIDDEN) {
$variables['icon'] = 'closed';
}