Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6f8a93
)
MDL-25901 rss: do not copyright html tag
author
Dan Poltawski
<dan@moodle.com>
Thu, 6 Jun 2013 03:21:19 +0000
(11:21 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Thu, 6 Jun 2013 03:21:19 +0000
(11:21 +0800)
They copyright field does not permit html, it should be plain text
lib/rsslib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/rsslib.php
b/lib/rsslib.php
index
6046e66
..
17157bb
100644
(file)
--- a/
lib/rsslib.php
+++ b/
lib/rsslib.php
@@
-269,7
+269,7
@@
function rss_standard_header($title = NULL, $link = NULL, $description = NULL) {
$result .= rss_full_tag('language', 2, false, substr($USER->lang,0,2));
}
$today = getdate();
- $result .= rss_full_tag('copyright', 2, false, '
©
'. $today['year'] .' '. format_string($site->fullname));
+ $result .= rss_full_tag('copyright', 2, false, '
(c)
'. $today['year'] .' '. format_string($site->fullname));
/*
if (!empty($USER->email)) {
$result .= rss_full_tag('managingEditor', 2, false, fullname($USER));