diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-18 20:53:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-18 20:53:29 +0000 |
commit | 1827c9841d0505158602d977571f256269d5a797 (patch) | |
tree | 1146b60bd6d07a68fd9482692605d998b1347211 /modules/aggregator/aggregator.admin.inc | |
parent | 1080c01957bd0be876bffaf067e65d709d39c38e (diff) | |
download | brdo-1827c9841d0505158602d977571f256269d5a797.tar.gz brdo-1827c9841d0505158602d977571f256269d5a797.tar.bz2 |
- Patch #486246 by mustafau, alex_b, Berdir, mr.baileys: bring back form for aggregator_allowed_html_tags() because it was accidentically removed.
Diffstat (limited to 'modules/aggregator/aggregator.admin.inc')
-rw-r--r-- | modules/aggregator/aggregator.admin.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/aggregator/aggregator.admin.inc b/modules/aggregator/aggregator.admin.inc index 8570a0d4e..4deaf6085 100644 --- a/modules/aggregator/aggregator.admin.inc +++ b/modules/aggregator/aggregator.admin.inc @@ -395,6 +395,16 @@ function aggregator_admin_refresh_feed($feed) { * @ingroup forms */ function aggregator_admin_form($form, $form_state) { + // Global 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>'), + '#description' => t('A space-separated list of HTML tags allowed in the content of feed items. Disallowed tags are stripped from the content.'), + ); + // Make sure configuration is sane. aggregator_sanitize_configuration(); |