From 2e82033bb3e9a45a3caf9438a2a2cd9a5fe0f1d7 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 18 Apr 2013 19:05:30 -0700 Subject: [PATCH] Forum admin GUI cleanup --- e107_plugins/forum/forum_admin_class.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/e107_plugins/forum/forum_admin_class.php b/e107_plugins/forum/forum_admin_class.php index 4027feb93..e6b85132d 100755 --- a/e107_plugins/forum/forum_admin_class.php +++ b/e107_plugins/forum/forum_admin_class.php @@ -363,8 +363,8 @@ class forumAdmin { $text .= "
- ".ADMIN_EDIT_ICON." - ".ADMIN_DELETE_ICON." + ".ADMIN_EDIT_ICON." + ".ADMIN_DELETE_ICON."
"; } @@ -409,12 +409,14 @@ class forumAdmin } else { - $sub_img = count($subList[$forum['forum_parent']][$forum['forum_id']]) ? IMAGE_sub : IMAGE_nosub; + //$sub_img = count($subList[$forum['forum_parent']][$forum['forum_id']]) ? IMAGE_sub : IMAGE_nosub; + $sub_img = ADMIN_DOWN_ICON; + $sub_total = count($subList[$forum['forum_parent']][$forum['forum_id']]); $text .= "
- ".ADMIN_EDIT_ICON." - ".ADMIN_DELETE_ICON." -   ".$sub_img." (".count($subList[$forum['forum_parent']][$forum['forum_id']]).") + ".ADMIN_EDIT_ICON." + ".ADMIN_DELETE_ICON." + ".$sub_img."
"; }