MDL-8860 - Enabled multilang filter for site title.
This commit is contained in:
+2
-2
@@ -145,7 +145,7 @@ function rss_standard_header($title = NULL, $link = NULL, $description = NULL) {
|
||||
|
||||
//Calculate title, link and description
|
||||
if (empty($title)) {
|
||||
$title = $site->fullname;
|
||||
$title = format_string($site->fullname);
|
||||
}
|
||||
if (empty($link)) {
|
||||
$link = $CFG->wwwroot;
|
||||
@@ -170,7 +170,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'] .' '. $site->fullname);
|
||||
$result .= rss_full_tag('copyright', 2, false, '© '. $today['year'] .' '. format_string($site->fullname));
|
||||
/*
|
||||
if (!empty($USER->email)) {
|
||||
$result .= rss_full_tag('managingEditor', 2, false, fullname($USER));
|
||||
|
||||
Reference in New Issue
Block a user