aboutsummaryrefslogtreecommitdiffstats
path: root/template/standard/html/feed
diff options
context:
space:
mode:
Diffstat (limited to 'template/standard/html/feed')
-rw-r--r--template/standard/html/feed/main.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/template/standard/html/feed/main.php b/template/standard/html/feed/main.php
index 174a841..c8dcc3c 100644
--- a/template/standard/html/feed/main.php
+++ b/template/standard/html/feed/main.php
@@ -7,17 +7,19 @@
# #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+$BLOGMETA_NAME = escapeHTML($BLOGMETA['NAME']);
+
switch($FEED['TYPE']) {
case 'post':
- $title = escapeHTML($BLOGMETA['NAME']).' ['.$Language->template('feed_only_posts').']';
+ $title = $Language->text('feed_name_posts', $BLOGMETA_NAME);
$self = Application::getURL('feed/post/');
break;
case 'page':
- $title = escapeHTML($BLOGMETA['NAME']).' ['.$Language->template('feed_only_pages').']';
+ $title = $Language->text('feed_name_pages', $BLOGMETA_NAME);
$self = Application::getURL('feed/page/');
break;
default:
- $title = escapeHTML($BLOGMETA['NAME']);
+ $title = $Language->text('feed_name_items', $BLOGMETA_NAME);
$self = Application::getURL('feed/');
}
?>
@@ -32,7 +34,7 @@ switch($FEED['TYPE']) {
<atom:link href="<?=$self?>" rel="self" type="application/rss+xml" />
<image>
- <title><?=escapeHTML($BLOGMETA['NAME'])?></title>
+ <title><?=$BLOGMETA_NAME?></title>
<url><?=Application::getTemplateURL('rsrc/logo.png')?></url>
<link><?=$self?></link>
</image>