diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-05-24 17:08:38 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-05-24 17:08:38 -0700 |
commit | a39f9512f0efd3ec3e0a31df656e25dd3f824f6d (patch) | |
tree | 70e797cc9b1f8978f73799fc0d181e9005859530 /htdocs/moderate | |
parent | b41edfdbeb371f3259da1470a5533523939b42a0 (diff) |
Working on moderation approve/reject
Diffstat (limited to 'htdocs/moderate')
-rw-r--r-- | htdocs/moderate/index.php | 9 |
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 { |