projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3814c44
)
EventView.php
author
Alan Knowles
<alan@roojs.com>
Tue, 9 Oct 2018 07:16:00 +0000
(15:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 9 Oct 2018 07:16:00 +0000
(15:16 +0800)
EventView.php
patch
|
blob
|
history
diff --git
a/EventView.php
b/EventView.php
index
a8d733f
..
1d57235
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-88,14
+88,15
@@
class Pman_Admin_EventView extends Pman
}
$filesJ = json_decode(file_get_contents($file));
if (!empty($filesJ->FILES )) {
}
$filesJ = json_decode(file_get_contents($file));
if (!empty($filesJ->FILES )) {
-
- echo '<br /><PRE>Download files</PRE>';
+ echo "<HR><H2>Download files:</H2><ul>";
foreach($filesJ->FILES as $k=>$f){
$ip = $this->baseURL."/Images/events/". $ev->id . '/'. $f->tmp_name;
foreach($filesJ->FILES as $k=>$f){
$ip = $this->baseURL."/Images/events/". $ev->id . '/'. $f->tmp_name;
- echo '<a target="_new" href="'.$ip.'/download">' . htmlspecialchars( $k . ' - ' . $f->name ) . '</a><br/>';
+
+ echo '<li><a target="_new" href="'.$ip.'/download">' . htmlspecialchars( $k . ' - ' . $f->name ) . '</a><br/>';
}
}
+ echo "</ul>";
}
}