summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-10-07 06:51:43 +0000
committerDries Buytaert <dries@buytaert.net>2005-10-07 06:51:43 +0000
commita1ae4da70b7fa74bc4314c535f0482c4086cab0d (patch)
tree758bba956562f0b41d90bf938616d08bf0091930 /modules/aggregator.module
parente19af57a9a93ee5281d8e1f333eb175467ff961e (diff)
downloadbrdo-a1ae4da70b7fa74bc4314c535f0482c4086cab0d.tar.gz
brdo-a1ae4da70b7fa74bc4314c535f0482c4086cab0d.tar.bz2
- Removing tabs and trailing whitespaces.
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 546634973..2efcf03b0 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -74,22 +74,22 @@ function aggregator_settings() {
$form['aggregator_allowed_html_tags'] = array(
type => 'textfield', title => t('Allowed HTML tags'), size => 80, maxlength => 255,
- default_value => variable_get('aggregator_allowed_html_tags', '<a> <b> <br> <dd> <dl> <dt> <em> <i> <li> <ol> <p> <strong> <u> <ul>'),
+ default_value => variable_get('aggregator_allowed_html_tags', '<a> <b> <br> <dd> <dl> <dt> <em> <i> <li> <ol> <p> <strong> <u> <ul>'),
description => t('The list of tags which are allowed in feeds, i.e., which will not be removed by Drupal.')
);
$form['aggregator_summary_items'] = array(
- type => 'select', title => t('Items shown in sources and categories pages') ,
- default_value => variable_get('aggregator_summary_items', 3), options => $items,
+ type => 'select', title => t('Items shown in sources and categories pages') ,
+ default_value => variable_get('aggregator_summary_items', 3), options => $items,
description => t('The number of items which will be shown with each feed or category in the feed and category summary pages.')
);
$form['aggregator_clear'] = array(
- type => 'select', title => t('Discard news items older than'),
- default_value => variable_get('aggregator_clear', 9676800), options => $period,
+ type => 'select', title => t('Discard news items older than'),
+ default_value => variable_get('aggregator_clear', 9676800), options => $period,
description => t('Older news items will be automatically discarded. Requires crontab.')
);
-
+
$form['aggregator_category_selector'] = array(
type => 'radios', title => t('Category selection type'), default_value => variable_get('aggregator_category_selector', 'check'),
options => array('check' => t('checkboxes'), 'select' => t('multiple selector')),
@@ -708,7 +708,7 @@ function aggregator_form_feed($edit = array()) {
$edit['refresh'] = 3600;
}
-
+
$form['title'] = array(type => 'textfield', title => t('Title'), default_value => $edit['title'], size => 60, maxlength => 64, description => t('The name of the feed; typically the name of the web site you syndicate content from.'));
$form['url'] = array(type => 'textfield', title => t('URL'), default_value => $edit['url'], size => 60, maxlength => 255, description => t('The fully-qualified URL of the feed.'));
$form['refresh'] = array(type => 'select', title => t('Update interval'), default_value => $edit['refresh'], options => $period, description => t('The refresh interval indicating how often you want to update this feed. Requires crontab.'));
@@ -985,13 +985,13 @@ function _aggregator_page_list($sql, $op, $header = '') {
}
$done = true;
$form['categories'][$item->iid] = array(
- type => variable_get('aggregator_category_selector', 'checkboxes'),
+ type => variable_get('aggregator_category_selector', 'checkboxes'),
default_value => $selected, options => $categories,
size => 10, multiple => true
);
}
}
- $output .= '</div>';
+ $output .= '</div>';
$form['submit'] = array(type => 'submit', value => t('Save categories'));
$form['pager'] = array(value => theme('pager', NULL, 20, 0));
$output .= $form['pager'][value];