aboutsummaryrefslogtreecommitdiffstats
path: root/event.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-09-25 23:29:10 +0000
committerChad Little <clittle@users.sourceforge.net>2002-09-25 23:29:10 +0000
commit263a43dafb9a0e7cc93a3b1bdd2ba6f68d0fc504 (patch)
tree866a9bf2d01bf67608ebead782bccd4c82f1c834 /event.php
parentf73fafca80535e75215c8f3d179fca8a892fa849 (diff)
downloadphpicalendar-263a43dafb9a0e7cc93a3b1bdd2ba6f68d0fc504.tar.gz
phpicalendar-263a43dafb9a0e7cc93a3b1bdd2ba6f68d0fc504.tar.bz2
phpicalendar-263a43dafb9a0e7cc93a3b1bdd2ba6f68d0fc504.zip
Descriptions / Notes add-in, now supports this in event.php and master_array
Diffstat (limited to 'event.php')
-rw-r--r--event.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/event.php b/event.php
index 0bd5112..1ed8fc3 100644
--- a/event.php
+++ b/event.php
@@ -2,6 +2,9 @@
include "init.inc.php";
$event = stripslashes($event);
+$event = str_replace("\\", "", $event);
+$description = stripslashes($description);
+$description = str_replace("\\", "", $description);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
@@ -22,16 +25,31 @@ $event = stripslashes($event);
<td nowrap width="7" height="18"></td>
<td align="left" valign="top" height="18" class="V12"><?php echo "$event"; ?></td>
</tr>
+
+<?php if ($start) { ?>
<tr height="18">
<td align="right" valign="top" width="80" class="V12">&nbsp;<b><?php echo "$event_start_lang"; ?>:</b></td>
<td width="7" height="18"></td>
<td align="left" valign="top" height="18" class="V12"><?php echo "$start"; ?></td>
</tr>
+<?php } ?>
+
+<?php if ($end) { ?>
<tr height="18">
<td align="right" valign="top" width="80" class="V12">&nbsp;<b><?php echo "$event_end_lang"; ?>:</b></td>
<td width="7" height="18"></td>
<td align="left" valign="top" height="18" class="V12"><?php echo "$end"; ?></td>
</tr>
+<?php } ?>
+
+<?php if ($description) { ?>
+ <tr height="18">
+ <td align="right" valign="top" width="80" class="V12">&nbsp;<b><?php echo "$notes_lang"; ?>:</b></td>
+ <td width="7" height="18"></td>
+ <td align="left" valign="top" height="18" class="V12"><?php echo "$description"; ?></td>
+ </tr>
+<?php } ?>
+
</table>
</td>
</tr>

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