aboutsummaryrefslogtreecommitdiffstats
path: root/event.php
diff options
context:
space:
mode:
authorjwangen <jwangen>2002-10-05 22:54:57 +0000
committerjwangen <jwangen>2002-10-05 22:54:57 +0000
commit54a9847b6c7c396cd5413583aee23d5d43649df3 (patch)
tree2cb40dd791fc4789b9fb7de048af90ce531547dc /event.php
parentb0ffa6e457b635b6fe9951b5c6391fdbf952058c (diff)
downloadphpicalendar-54a9847b6c7c396cd5413583aee23d5d43649df3.tar.gz
phpicalendar-54a9847b6c7c396cd5413583aee23d5d43649df3.tar.bz2
phpicalendar-54a9847b6c7c396cd5413583aee23d5d43649df3.zip
Localization fixes in event and month. Adding new localization files from
translators.
Diffstat (limited to 'event.php')
-rw-r--r--event.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/event.php b/event.php
index 4dfbc81..70382f0 100644
--- a/event.php
+++ b/event.php
@@ -63,7 +63,10 @@ $calendar_name2 = str_replace('\\', '', $calendar_name2);
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <?php if (($start) && ($end)) $event_times = ' - <font class="V9">(<i>'.$start.' - '.$end.'</i>)</font>'; ?>
+ <?php
+ if (($start) && ($end)) $event_times = ' - <font class="V9">(<i>'.$start.' - '.$end.'</i>)</font>';
+ if ($start != '' && $end == '' && isset($start, $end)) $event_times = ' - <font class="V9">(<i>'.$start.'</i>)</font>';
+ ?>
<tr>
<td width="1%"><img src="images/spacer.gif" width="6" height="1"></td>
<td align="left" colspan="2" class="V12"><?php echo $event.' '.$event_times.'<br><br>'; ?></td>

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