EventView.php
authorAlan Knowles <alan@roojs.com>
Tue, 9 Oct 2018 07:06:24 +0000 (15:06 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 9 Oct 2018 07:06:24 +0000 (15:06 +0800)
EventView.php

index 761756e..af1300f 100644 (file)
@@ -72,6 +72,9 @@ class Pman_Admin_EventView extends Pman
         }
         echo '<PRE>' . htmlspecialchars(print_r(json_decode(file_get_contents($file)), true)) . '</PRE>';
         
+        if (!empty($ev->remarks)) {
+            echo "<HR><H2>Remarks:</H2>";
+        }
         echo '<BR/><PRE>'. htmlspecialchars($ev->remarks) . '</PRE>';
         
         $json = json_decode($ev->remarks, JSON_PRETTY_PRINT);