MDL-8860 - Enabled multilang filter for site title.

This commit is contained in:
nicolasconnault
2007-03-19 04:15:06 +00:00
parent 88e8672ef6
commit f6cb1501e4
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -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));