aboutsummaryrefslogtreecommitdiffstats
path: root/rss/rss.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2005-11-23 06:11:45 +0000
committerJim Hu <jimhu@users.sourceforge.net>2005-11-23 06:11:45 +0000
commit839214cca1024b8fa61ae3964454e4c421040956 (patch)
treee4da16b1fee4777542315901fb01c79a11dc8844 /rss/rss.php
parent4b0f35a6f25c7b712142f8a5fe1906b7aae7d1e0 (diff)
downloadphpicalendar-839214cca1024b8fa61ae3964454e4c421040956.tar.gz
phpicalendar-839214cca1024b8fa61ae3964454e4c421040956.tar.bz2
phpicalendar-839214cca1024b8fa61ae3964454e4c421040956.zip
use lang var instead of english 'all day'
Diffstat (limited to 'rss/rss.php')
-rw-r--r--rss/rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/rss/rss.php b/rss/rss.php
index 25f46d7..2f147d8 100644
--- a/rss/rss.php
+++ b/rss/rss.php
@@ -159,7 +159,7 @@ $uid_arr = array();
}else{
$uid_arr[$uid] = "$dayofweek" ;
}
- $event_start = "All Day";
+ $event_start = $lang['l_all_day'];
}else{
$event_start = @$val["event_start"];
$event_start = date ($timeFormat, @strtotime ("$event_start"));
@@ -225,7 +225,7 @@ foreach ($uid_arr as $uid=>$date_range){
$temp = explode("+",$date_range);
$date_range = $temp[0].'-'.array_pop($temp);
}
- $rss = str_replace("<uid>$uid</uid>\n<event_start>all day</event_start>","<uid>$uid</uid>\n<event_start>$date_range</event_start>", $rss);
+ $rss = str_replace("<uid>$uid</uid>\n<event_start>".$lang['l_all_day']."</event_start>","<uid>$uid</uid>\n<event_start>$date_range</event_start>", $rss);
}
header ("Content-Type: text/xml");

© 2014-2024 Faster IT GmbH | imprint | privacy policy