aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-03-16 02:17:57 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-03-16 02:17:57 +0000
commitff83caaeffcca38b69b94c2cd2ee7a4e149e91f3 (patch)
tree089c562e1e881ae9b63c91c152a202e910685f6e /includes
parent281851bf42f3a2503bded854ad593693e224a0b8 (diff)
downloadphpicalendar-ff83caaeffcca38b69b94c2cd2ee7a4e149e91f3.tar.gz
phpicalendar-ff83caaeffcca38b69b94c2cd2ee7a4e149e91f3.tar.bz2
phpicalendar-ff83caaeffcca38b69b94c2cd2ee7a4e149e91f3.zip
additions to language files
Diffstat (limited to 'includes')
-rw-r--r--includes/event.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/event.php b/includes/event.php
index 2d855fa..df47bf7 100644
--- a/includes/event.php
+++ b/includes/event.php
@@ -63,6 +63,18 @@ if (!$event['location'] && $event['url']) {
if (sizeof($attendee) == 0) $attendee = '';
if (sizeof($organizer) == 0) $organizer = '';
+switch ($event['status']){
+ case 'CONFIRMED':
+ $event['status'] = $lang['l_status_confirmed'] ;
+ break;
+ case 'CANCELLED':
+ $event['status'] = $lang['l_status_cancelled'] ;
+ break;
+ case 'TENTATIVE':
+ $event['status'] = $lang['l_status_tentative'] ;
+ break;
+}
+
$page = new Page(BASE.'templates/'.$template.'/event.tpl');
$page->replace_tags(array(

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