| 1 |
<?php |
<?php |
| 2 |
// $Id: aggregator.processor.inc,v 1.9 2009/06/05 05:28:28 dries Exp $ |
// $Id: aggregator.processor.inc,v 1.10 2009/07/14 10:42:11 dries Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 90 |
|
|
| 91 |
$form['modules']['aggregator']['aggregator_summary_items'] = array( |
$form['modules']['aggregator']['aggregator_summary_items'] = array( |
| 92 |
'#type' => 'select', |
'#type' => 'select', |
| 93 |
'#title' => t('Items shown in sources and categories pages') , |
'#title' => t('Number of items shown in listing pages') , |
| 94 |
'#default_value' => variable_get('aggregator_summary_items', 3), |
'#default_value' => variable_get('aggregator_summary_items', 3), |
| 95 |
'#options' => $items, |
'#options' => $items, |
|
'#description' => t('Number of feed items displayed in feed and category summary pages.'), |
|
| 96 |
); |
); |
| 97 |
|
|
| 98 |
$form['modules']['aggregator']['aggregator_clear'] = array( |
$form['modules']['aggregator']['aggregator_clear'] = array( |
| 100 |
'#title' => t('Discard items older than'), |
'#title' => t('Discard items older than'), |
| 101 |
'#default_value' => variable_get('aggregator_clear', 9676800), |
'#default_value' => variable_get('aggregator_clear', 9676800), |
| 102 |
'#options' => $period, |
'#options' => $period, |
| 103 |
'#description' => t('The length of time to retain feed items before discarding. (Requires a correctly configured <a href="@cron">cron maintenance task</a>.)', array('@cron' => url('admin/reports/status'))), |
'#description' => t('Requires a correctly configured <a href="@cron">cron maintenance task</a>.', array('@cron' => url('admin/reports/status'))), |
| 104 |
); |
); |
| 105 |
|
|
| 106 |
$form['modules']['aggregator']['aggregator_category_selector'] = array( |
$form['modules']['aggregator']['aggregator_category_selector'] = array( |
| 107 |
'#type' => 'radios', |
'#type' => 'radios', |
| 108 |
'#title' => t('Category selection type'), |
'#title' => t('Select categories using'), |
| 109 |
'#default_value' => variable_get('aggregator_category_selector', 'checkboxes'), |
'#default_value' => variable_get('aggregator_category_selector', 'checkboxes'), |
| 110 |
'#options' => array('checkboxes' => t('checkboxes'), |
'#options' => array('checkboxes' => t('checkboxes'), |
| 111 |
'select' => t('multiple selector')), |
'select' => t('multiple selector')), |
| 112 |
'#description' => t('The type of category selection widget displayed on categorization pages. (For a small number of categories, checkboxes are easier to use, while a multiple selector works well with large numbers of categories.)'), |
'#description' => t('For a small number of categories, checkboxes are easier to use, while a multiple selector works well with large numbers of categories.'), |
| 113 |
); |
); |
| 114 |
$form['modules']['aggregator']['aggregator_teaser_length'] = array( |
$form['modules']['aggregator']['aggregator_teaser_length'] = array( |
| 115 |
'#type' => 'select', |
'#type' => 'select', |