- #22154: Change : in aggregator block IDs to -, the colon is an illegal character and causes problems in CSS.
parent
0d134850d9
commit
ec4c655f5a
|
@ -201,11 +201,11 @@ function aggregator_block($op, $delta = 0, $edit = array()) {
|
||||||
if ($op == 'list') {
|
if ($op == 'list') {
|
||||||
$result = db_query('SELECT cid, title FROM {aggregator_category} ORDER BY title');
|
$result = db_query('SELECT cid, title FROM {aggregator_category} ORDER BY title');
|
||||||
while ($category = db_fetch_object($result)) {
|
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');
|
$result = db_query('SELECT fid, title FROM {aggregator_feed} ORDER BY fid');
|
||||||
while ($feed = db_fetch_object($result)) {
|
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') {
|
else if ($op == 'configure') {
|
||||||
|
|
|
@ -201,11 +201,11 @@ function aggregator_block($op, $delta = 0, $edit = array()) {
|
||||||
if ($op == 'list') {
|
if ($op == 'list') {
|
||||||
$result = db_query('SELECT cid, title FROM {aggregator_category} ORDER BY title');
|
$result = db_query('SELECT cid, title FROM {aggregator_category} ORDER BY title');
|
||||||
while ($category = db_fetch_object($result)) {
|
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');
|
$result = db_query('SELECT fid, title FROM {aggregator_feed} ORDER BY fid');
|
||||||
while ($feed = db_fetch_object($result)) {
|
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') {
|
else if ($op == 'configure') {
|
||||||
|
|
Loading…
Reference in New Issue