From 4b449a7e5d6347603fa3a1ed70d0e9273db2b92b Mon Sep 17 00:00:00 2001
From: Dries Buytaert There are some configuration options added to the main administer » configuration section: There are some configuration options added to the main administer » configuration section: If your hosting company does not allow you to set up crontab entries, you can always ask someone else to set up an entry for you. After all, virtually any Unix/Linux machine with access to the internet can set up a crontab entry to frequently visit %cron-link. For the Unix/Linux crontab itself, use a browser like lynx or wget but make sure the process terminates: either use
Click on a subject to see the comment, the author's name to edit the author's user information, \"edit comment\" to edit the comment, and \"delete comment\" to remove the comment.");
case 'admin/settings/comment': // TODO: THIS IS NEVER USED
- return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. Votes sets up the names in the dropdown menu, and the order in which they appear, using weights. Matrix sets up the value of each user's vote, and threshhold sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshhold' => url('admin/settings/comment/thresholds')));
+ return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. Votes sets up the names in the dropdown menu, and the order in which they appear, using weights. Matrix sets up the value of each user's vote, and threshold sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshold' => url('admin/settings/comment/thresholds')));
case 'admin/settings/comment/votes':
return t('Here is where you set up the name of each type of vote. "Weight" lets you set the order of the drop down menu. Click edit to edit a current vote weight.
Notes:
');
case 'admin/settings/comment/matrix':
@@ -253,7 +253,7 @@ function comment_validate_form($edit) {
if ($edit['mail']) {
if (!valid_email_address($edit['mail'])) {
- form_set_error('mail', t('The e-mail address you specifed is not valid.'));
+ form_set_error('mail', t('The e-mail address you specified is not valid.'));
}
}
else if (variable_get('comment_anonymous', 0) == 2) {
@@ -1172,7 +1172,7 @@ function comment_threshold_settings() {
}
$output .= ''. (isset($fid) ? 'Edit' : 'Add new') .' threshold
';
- $form .= form_textfield(t('Threshhold name'), 'filter', $filter->filter, 32, 64, t('The name of this threshold. Example: "good comments", "+1 comments", "everything".'));
+ $form .= form_textfield(t('Threshold name'), 'filter', $filter->filter, 32, 64, t('The name of this threshold. Example: "good comments", "+1 comments", "everything".'));
$form .= form_textfield(t('Minimum score'), 'minimum', $filter->minimum, 32, 64, t('Show all comments whose score is larger or equal to the provided minimal score. Range: -127 +128'));
if ($fid) {
$form .= form_submit(t('Save threshold'));
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 64f8721d6..1f9fdd060 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -72,13 +72,13 @@ function comment_help($section) {
case 'admin/modules#description':
return t('Enables user to comment on content (nodes).');
case 'admin/settings/comment':
- return t("Comments can be attached to any node. Below are the settings for comments. The display comes in two types, a \"flat list\" where everything is flush to the left side, and comments come in cronological order, and a \"threaded list\" where comments to other comments are placed immediately below and slightly indented forming an outline. They also come in two styles: \"expanded\", where you see both the title and the contents, and \"collapsed\" where you only see the title. To set the default threshold you first have to set up thresholds in the administer » comments » moderation » thresholds area. Preview comment forces a user to look at their comment by clicking on a \"Preview\" button before they can actually add the comment. If \"New comment form\" is enabled then at the bottom of every comment page there will be a form too add a new comment.", array('%threshold' => url('admin/settings/comment/thresholds')));
+ return t("Comments can be attached to any node. Below are the settings for comments. The display comes in two types, a \"flat list\" where everything is flush to the left side, and comments come in chronological order, and a \"threaded list\" where comments to other comments are placed immediately below and slightly indented forming an outline. They also come in two styles: \"expanded\", where you see both the title and the contents, and \"collapsed\" where you only see the title. To set the default threshold you first have to set up thresholds in the administer » comments » moderation » thresholds area. Preview comment forces a user to look at their comment by clicking on a \"Preview\" button before they can actually add the comment. If \"New comment form\" is enabled then at the bottom of every comment page there will be a form too add a new comment.", array('%threshold' => url('admin/settings/comment/thresholds')));
case 'admin/comment':
return t("Below is a list of the latest comments posted your site. Click on a subject to see the comment, the author's name to edit the author's user information , \"edit comment\" to edit the comment, and \"delete comment\" to remove the comment.");
case 'admin/comment/approval':
return t("Below is a list of the comments posted to your site that need approval. To approve a comment click on \"edit comment\" and then change its moderation status to Approved.
Click on a subject to see the comment, the author's name to edit the author's user information, \"edit comment\" to edit the comment, and \"delete comment\" to remove the comment.");
case 'admin/settings/comment': // TODO: THIS IS NEVER USED
- return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. Votes sets up the names in the dropdown menu, and the order in which they appear, using weights. Matrix sets up the value of each user's vote, and threshhold sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshhold' => url('admin/settings/comment/thresholds')));
+ return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. Votes sets up the names in the dropdown menu, and the order in which they appear, using weights. Matrix sets up the value of each user's vote, and threshold sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshold' => url('admin/settings/comment/thresholds')));
case 'admin/settings/comment/votes':
return t('Here is where you set up the name of each type of vote. "Weight" lets you set the order of the drop down menu. Click edit to edit a current vote weight.
Notes:
');
case 'admin/settings/comment/matrix':
@@ -253,7 +253,7 @@ function comment_validate_form($edit) {
if ($edit['mail']) {
if (!valid_email_address($edit['mail'])) {
- form_set_error('mail', t('The e-mail address you specifed is not valid.'));
+ form_set_error('mail', t('The e-mail address you specified is not valid.'));
}
}
else if (variable_get('comment_anonymous', 0) == 2) {
@@ -1172,7 +1172,7 @@ function comment_threshold_settings() {
}
$output .= ''. (isset($fid) ? 'Edit' : 'Add new') .' threshold
';
- $form .= form_textfield(t('Threshhold name'), 'filter', $filter->filter, 32, 64, t('The name of this threshold. Example: "good comments", "+1 comments", "everything".'));
+ $form .= form_textfield(t('Threshold name'), 'filter', $filter->filter, 32, 64, t('The name of this threshold. Example: "good comments", "+1 comments", "everything".'));
$form .= form_textfield(t('Minimum score'), 'minimum', $filter->minimum, 32, 64, t('Show all comments whose score is larger or equal to the provided minimal score. Range: -127 +128'));
if ($fid) {
$form .= form_submit(t('Save threshold'));
diff --git a/modules/statistics.module b/modules/statistics.module
index 71b4dfbfe..11b9ace58 100644
--- a/modules/statistics.module
+++ b/modules/statistics.module
@@ -30,7 +30,7 @@ function statistics_help($section) {
Configuring the statistics module
-
Configuring the statistics module
-
/usr/bin/lynx -source %base_url/cron.php
or /usr/bin/wget -o /dev/null -O /dev/null %cron-link
. Take a look at the example scripts in the scripts
-directory. Make sure to adjust them to fit your needs. A good crontab line to run the cron script once every hour would be:
00 * * * * /home/www/drupal/scripts/cron-lynx.sh
- Note that it is essential to access cron.php
using a browser on the web site's domain; do not run it using command line PHP and avoid using localhost
or 127.0.0.1
or some of the environment varibles will not be set correctly and features may not work as expected.
cron.php
using a browser on the web site's domain; do not run it using command line PHP and avoid using localhost
or 127.0.0.1
or some of the environment variables will not be set correctly and features may not work as expected.
Drupal has a caching mechanism which stores dynamically generated web pages in a database. By caching a web page, Drupal does not have to create the page each time someone wants to view it, instead it takes only one SQL query to display it, reducing response time and the server's load. Only pages requested by \"anonymous\" users are cached.
", array('%base_url' => $base_url, '%cron-link' => "$base_url/cron.php", '%lynx' => 'http://lynx.browser.org', '%wget' => 'http://www.gnu.org/software/wget/wget.html' )); case 'admin/modules#description': @@ -188,7 +188,7 @@ function system_view_general() { } $group = form_select(t('Time zone'), 'date_default_timezone', variable_get('date_default_timezone', 0), $zones, t('Select the default site timezone.')); - $group .= form_radios(t('Use sitewide timezone'), 'sitewide_timezone', variable_get('sitewide_timezone', 0), array(t('Disabled'), t('Enabled')), t('Enable or disable the sidewide timezone feature. Disabled means that users could choose their own timezone.')); + $group .= form_radios(t('Use sitewide timezone'), 'sitewide_timezone', variable_get('sitewide_timezone', 0), array(t('Disabled'), t('Enabled')), t('Enable or disable the sitewide timezone feature. Disabled means that users could choose their own timezone.')); $group .= form_select(t('Date format (short)'), 'date_format_short', variable_get('date_format_short', $dateshort[0]), $dateshortchoices, t('The short format of date display.')); $group .= form_select(t('Date format (medium)'), 'date_format_medium', variable_get('date_format_medium', $datemedium[0]), $datemediumchoices, t('The medium sized date display.')); $group .= form_select(t('Date format (long)'), 'date_format_long', variable_get('date_format_long', $datelong[0]), $datelongchoices, t('Longer date format used for detailed display.')); diff --git a/modules/system/system.module b/modules/system/system.module index affee64f7..21a07ea0b 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -24,7 +24,7 @@ function system_help($section) {If your hosting company does not allow you to set up crontab entries, you can always ask someone else to set up an entry for you. After all, virtually any Unix/Linux machine with access to the internet can set up a crontab entry to frequently visit %cron-link.
For the Unix/Linux crontab itself, use a browser like lynx or wget but make sure the process terminates: either use /usr/bin/lynx -source %base_url/cron.php
or /usr/bin/wget -o /dev/null -O /dev/null %cron-link
. Take a look at the example scripts in the scripts
-directory. Make sure to adjust them to fit your needs. A good crontab line to run the cron script once every hour would be:
00 * * * * /home/www/drupal/scripts/cron-lynx.sh- Note that it is essential to access
cron.php
using a browser on the web site's domain; do not run it using command line PHP and avoid using localhost
or 127.0.0.1
or some of the environment varibles will not be set correctly and features may not work as expected.
+ Note that it is essential to access cron.php
using a browser on the web site's domain; do not run it using command line PHP and avoid using localhost
or 127.0.0.1
or some of the environment variables will not be set correctly and features may not work as expected.
Drupal has a caching mechanism which stores dynamically generated web pages in a database. By caching a web page, Drupal does not have to create the page each time someone wants to view it, instead it takes only one SQL query to display it, reducing response time and the server's load. Only pages requested by \"anonymous\" users are cached.
", array('%base_url' => $base_url, '%cron-link' => "$base_url/cron.php", '%lynx' => 'http://lynx.browser.org', '%wget' => 'http://www.gnu.org/software/wget/wget.html' )); case 'admin/modules#description': @@ -188,7 +188,7 @@ function system_view_general() { } $group = form_select(t('Time zone'), 'date_default_timezone', variable_get('date_default_timezone', 0), $zones, t('Select the default site timezone.')); - $group .= form_radios(t('Use sitewide timezone'), 'sitewide_timezone', variable_get('sitewide_timezone', 0), array(t('Disabled'), t('Enabled')), t('Enable or disable the sidewide timezone feature. Disabled means that users could choose their own timezone.')); + $group .= form_radios(t('Use sitewide timezone'), 'sitewide_timezone', variable_get('sitewide_timezone', 0), array(t('Disabled'), t('Enabled')), t('Enable or disable the sitewide timezone feature. Disabled means that users could choose their own timezone.')); $group .= form_select(t('Date format (short)'), 'date_format_short', variable_get('date_format_short', $dateshort[0]), $dateshortchoices, t('The short format of date display.')); $group .= form_select(t('Date format (medium)'), 'date_format_medium', variable_get('date_format_medium', $datemedium[0]), $datemediumchoices, t('The medium sized date display.')); $group .= form_select(t('Date format (long)'), 'date_format_long', variable_get('date_format_long', $datelong[0]), $datelongchoices, t('Longer date format used for detailed display.')); diff --git a/modules/taxonomy.module b/modules/taxonomy.module index d18185980..ac549c1fd 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -924,7 +924,7 @@ function taxonomy_help($section = 'admin/help#taxonomy') {Taxonomy is the study of classification. Drupal's taxonomy module allows you to define categories which are used to classify content. The module supports hierarchical classification and association between terms, allowing for truly flexible information retrieval and classification. For more details about classification types and insight into the development of the taxonomy.module, see this drupal.org discussion.
Notes
When you create a controlled vocabulary you are creating a set of terms to use for describing content (known as descriptors in indexing lingo). Drupal allows you to describe each node of content (blog, story, etc.) using one or many of these terms. For simple implementations, you might create a set of categories without subcategories, similar to Slashdot's sections. For more complex implementations, you might create a hierarchical list of categories such as Food taxonomy shown above.
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index d18185980..ac549c1fd 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -924,7 +924,7 @@ function taxonomy_help($section = 'admin/help#taxonomy') {Taxonomy is the study of classification. Drupal's taxonomy module allows you to define categories which are used to classify content. The module supports hierarchical classification and association between terms, allowing for truly flexible information retrieval and classification. For more details about classification types and insight into the development of the taxonomy.module, see this drupal.org discussion.
Notes
When you create a controlled vocabulary you are creating a set of terms to use for describing content (known as descriptors in indexing lingo). Drupal allows you to describe each node of content (blog, story, etc.) using one or many of these terms. For simple implementations, you might create a set of categories without subcategories, similar to Slashdot's sections. For more complex implementations, you might create a hierarchical list of categories such as Food taxonomy shown above.
-- cgit v1.2.3