diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-05-06 06:33:45 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-05-06 06:33:45 +0000 |
commit | ec4c655f5a7f1fe2ca17599fdf6bcd006a6163d6 (patch) | |
tree | 4f9d596f8b62a28b5e627f1d99a070191b255dcc /modules/aggregator | |
parent | 0d134850d90943ee1a4e568a46654d77499349d3 (diff) | |
download | brdo-ec4c655f5a7f1fe2ca17599fdf6bcd006a6163d6.tar.gz brdo-ec4c655f5a7f1fe2ca17599fdf6bcd006a6163d6.tar.bz2 |
- #22154: Change : in aggregator block IDs to -, the colon is an illegal character and causes problems in CSS.
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 9b4e8ff81..9e8b98955 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -201,11 +201,11 @@ function aggregator_block($op, $delta = 0, $edit = array()) { if ($op == 'list') { $result = db_query('SELECT cid, title FROM {aggregator_category} ORDER BY title'); while ($category = db_fetch_object($result)) { - $block['category:'. $category->cid]['info'] = t('%title category latest items', array('%title' => theme('placeholder', $category->title))); + $block['category-'. $category->cid]['info'] = t('%title category latest items', array('%title' => theme('placeholder', $category->title))); } $result = db_query('SELECT fid, title FROM {aggregator_feed} ORDER BY fid'); while ($feed = db_fetch_object($result)) { - $block['feed:'. $feed->fid]['info'] = t('%title feed latest items', array('%title' => theme('placeholder', $feed->title))); + $block['feed-'. $feed->fid]['info'] = t('%title feed latest items', array('%title' => theme('placeholder', $feed->title))); } } else if ($op == 'configure') { |