- Patch #172961 by webernet: code style fixes.

6.x
Dries Buytaert 2007-09-05 18:24:25 +00:00
parent b0493c003c
commit 73bcf5f0f4
1 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ function theme_aggregator_page_item($item) {
$source = ''; $source = '';
if (isset($item->ftitle) && isset($item->fid)) { if (isset($item->ftitle) && isset($item->fid)) {
$source = l($item->ftitle, "aggregator/sources/$item->fid", array('attributes' => array('class' => 'feed-item-source'))) . ' -'; $source = l($item->ftitle, "aggregator/sources/$item->fid", array('attributes' => array('class' => 'feed-item-source'))) .' -';
} }
if (date('Ymd', $item->timestamp) == date('Ymd')) { if (date('Ymd', $item->timestamp) == date('Ymd')) {
@ -297,7 +297,7 @@ function aggregator_page_rss() {
$output .= "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; $output .= "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
$output .= "<rss version=\"2.0\">\n"; $output .= "<rss version=\"2.0\">\n";
$output .= format_rss_channel(variable_get('site_name', 'Drupal') . ' ' . t('aggregator'), url('aggregator' . $url, array('absolute' => TRUE)), variable_get('site_name', 'Drupal') . ' - ' . t('aggregated feeds') . $title, $items); $output .= format_rss_channel(variable_get('site_name', 'Drupal') .' '. t('aggregator'), url('aggregator'. $url, array('absolute' => TRUE)), variable_get('site_name', 'Drupal') .' - '. t('aggregated feeds') . $title, $items);
$output .= "</rss>\n"; $output .= "</rss>\n";
drupal_set_header('Content-Type: application/rss+xml; charset=utf-8'); drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');
@ -374,7 +374,7 @@ function theme_aggregator_feed($feed) {
$updated = l($updated, 'admin/content/aggregator'); $updated = l($updated, 'admin/content/aggregator');
} }
$output .= '<div class="feed-updated"><em>'. t('Updated:') . "</em> $updated</div>"; $output .= '<div class="feed-updated"><em>'. t('Updated:') ."</em> $updated</div>";
$output .= "</div>\n"; $output .= "</div>\n";
return $output; return $output;