projects
/
Pman.Admin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync
[Pman.Admin]
/
EventView.php
diff --git
a/EventView.php
b/EventView.php
index
a8d733f
..
bf0d1a4
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-14,8
+14,7
@@
class Pman_Admin_EventView extends Pman
$this->jerrAuth();
}
return true;
$this->jerrAuth();
}
return true;
-
-
+
}
function get($id, $opts = Array())
}
function get($id, $opts = Array())
@@
-88,14
+87,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>";
}
}