summaryrefslogtreecommitdiff
path: root/htdocs/moderate/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/moderate/index.php')
-rw-r--r--htdocs/moderate/index.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/htdocs/moderate/index.php b/htdocs/moderate/index.php
index 454a514..3c0c9ca 100644
--- a/htdocs/moderate/index.php
+++ b/htdocs/moderate/index.php
@@ -34,11 +34,10 @@ $posts->query();
if ($posts->valid()) {
foreach ($posts as $id => $post) {
- printf("<div class=\"post\"><p><a href=\"preview/%s\">%s</a></p>"
- . "<div class=\"options\"><a href=\"approve/%s\">Approve</a>"
- . " <a href=\"reject/%s\">Reject</a></div></div>",
-
- $id, $post->getName(), $id, $id);
+ printf("<div class=\"post\"><p><a href=\"preview/%s.html\">%s</a></p>"
+ . "%s <a href=\"mailto:%s\">%s</a></div>",
+
+ $id, $post->getName(), $post->getCreated(), $post->getEmail(), $post->getEmail());
}
} else {