[geeklog-hg] geeklog: Fixed Moderation page issue where the number of columns...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Jul 1 11:33:48 EDT 2013


changeset 9150:2b06962f3e8a
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/2b06962f3e8a
user: Tom <websitemaster at cogeco.net>
date: Sat Jun 29 11:13:23 2013 -0400
description:
Fixed Moderation page issue where the number of columns for the plugin submission lists was incorrect. Fix for Changeset 910e53286d5d

diffstat:

 public_html/admin/moderation.php |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 518070aa96c2 -r 2b06962f3e8a public_html/admin/moderation.php
--- a/public_html/admin/moderation.php	Fri Jun 28 13:18:39 2013 -0400
+++ b/public_html/admin/moderation.php	Sat Jun 29 11:13:23 2013 -0400
@@ -215,7 +215,7 @@
             array('text' => $LANG29[42], 'field' => 'uid'),
             array('text' => $LANG29[43], 'field' => 'publishfuture')
         );            
-    } else {
+    } elseif ($type == 'story' || $type == 'story_draft') {
         $header_arr = array(      // display 'text' and use table field 'field'
             array('text' => $LANG_ADMIN['edit'], 'field' => 0),
             array('text' => $H[0], 'field' => 1),
@@ -225,6 +225,15 @@
             array('text' => $LANG29[2], 'field' => 'delete'),
             array('text' => $LANG29[1], 'field' => 'approve')
         );            
+    } else {
+        $header_arr = array(      // display 'text' and use table field 'field'
+            array('text' => $LANG_ADMIN['edit'], 'field' => 0),
+            array('text' => $H[0], 'field' => 1),
+            array('text' => $H[1], 'field' => 2),
+            array('text' => $H[2], 'field' => 3),
+            array('text' => $LANG29[2], 'field' => 'delete'),
+            array('text' => $LANG29[1], 'field' => 'approve')
+        );          
     }
 
     $text_arr = array('has_menu' => false,



More information about the geeklog-cvs mailing list