Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
73bcf5f0
Commit
73bcf5f0
authored
Sep 05, 2007
by
Dries
Browse files
- Patch
#172961
by webernet: code style fixes.
parent
b0493c00
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/aggregator/aggregator.pages.inc
View file @
73bcf5f0
...
...
@@ -166,7 +166,7 @@ function theme_aggregator_page_item($item) {
$source
=
''
;
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'
))
{
...
...
@@ -297,7 +297,7 @@ function aggregator_page_rss() {
$output
.
=
"<?xml version=
\"
1.0
\"
encoding=
\"
utf-8
\"
?>
\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
"
;
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'
);
}
$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
"
;
return
$output
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment