From 558684e32769d9dbd0d27a6feb3bbb9cf9aa22d7 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 30 Aug 2011 10:37:35 -0700 Subject: Abstracted source name code and added a source name listing to the moderation index. (Eventum #33). --- htdocs/moderate/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'htdocs/moderate/index.php') diff --git a/htdocs/moderate/index.php b/htdocs/moderate/index.php index 908c43b..7d35eb0 100644 --- a/htdocs/moderate/index.php +++ b/htdocs/moderate/index.php @@ -28,12 +28,13 @@ $posts->query(); if ($posts->valid()) { foreach ($posts as $id => $post) { printf("

%s

" - . "%s %s
", + . "%s %s - %s", $GLOBALS['CONFIG']['urlroot'], $id, $post->getName(), $post->getCreated(), - $post->getEmail(), $post->getEmail()); + $post->getEmail(), $post->getEmail(), + $post->getSourceName()); } } else { -- cgit v1.2.3