Commit 3269eb2e authored by Dries's avatar Dries

- Patch #504074 by Bojhan, tic2000, royroy, catch, keith.smith et al: improved...

- Patch #504074 by Bojhan, tic2000, royroy, catch, keith.smith et al: improved form description of teaser length setting.
parent 2ea8bd98
......@@ -117,7 +117,7 @@ function aggregator_form_aggregator_admin_form_alter(&$form, $form_state) {
'#title' => t('Length of trimmed description'),
'#default_value' => 600,
'#options' => drupal_map_assoc(array(0, 200, 400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000), '_aggregator_characters'),
'#description' => t("The maximum number of characters used in the trimmed version of a description. Drupal will use this setting to determine at which offset long descriptions should be trimmed. Note that this setting will only affect new or updated content and will not affect existing teasers.")
'#description' => t("The maximum number of characters used in the trimmed version of content.")
);
}
......
......@@ -187,7 +187,7 @@ function node_type_form(&$form_state, $type = NULL) {
'#title' => t('Length of trimmed posts'),
'#default_value' => variable_get('teaser_length_' . $type->type, 600),
'#options' => drupal_map_assoc(array(0, 200, 400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000), '_node_characters'),
'#description' => t("The maximum number of characters used in the trimmed version of a post. Drupal will use this setting to determine at which offset long posts should be trimmed. The trimmed version of a post is typically used as a teaser when displaying the post on the main page, in XML feeds, etc. To disable teasers, set to 'Unlimited'.")
'#description' => t("The maximum number of characters used in the trimmed version of content.")
);
$form['old_type'] = array(
'#type' => 'value',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment