diff --git a/e107_plugins/chatbox_menu/admin_chatbox.php b/e107_plugins/chatbox_menu/admin_chatbox.php index a5211aa02..9bbcb6b22 100644 --- a/e107_plugins/chatbox_menu/admin_chatbox.php +++ b/e107_plugins/chatbox_menu/admin_chatbox.php @@ -9,8 +9,8 @@ * * * $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/admin_chatbox.php,v $ - * $Revision: 1.9 $ - * $Date: 2009-11-18 01:05:23 $ + * $Revision: 1.10 $ + * $Date: 2010-01-08 23:29:19 $ * $Author: e107coders $ */ @@ -138,7 +138,7 @@ $text .= " ".CHBLAN_32.": - ". r_userclass("cb_mod", $pref['cb_mod'], 'off', "admin, classes")." + ". r_userclass("cb_mod", $pref['cb_mod'], 'off', "nobody,main,admin, classes")." diff --git a/e107_plugins/chatbox_menu/chatbox_menu.php b/e107_plugins/chatbox_menu/chatbox_menu.php index 971bad542..6999ac6c2 100644 --- a/e107_plugins/chatbox_menu/chatbox_menu.php +++ b/e107_plugins/chatbox_menu/chatbox_menu.php @@ -9,8 +9,8 @@ * * * $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/chatbox_menu.php,v $ - * $Revision: 1.17 $ - * $Date: 2009-11-18 01:05:23 $ + * $Revision: 1.18 $ + * $Date: 2010-01-08 23:29:23 $ * $Author: e107coders $ */ @@ -126,7 +126,7 @@ else { $texta = (e_QUERY ? "\n
" : "\n"); } - $texta .= "
"; + $texta .= "
"; if(($pref['anon_post'] == "1" && USER == FALSE)) { @@ -182,6 +182,7 @@ if(!$text = $e107cache->retrieve("nq_chatbox")) { $obj2 = new convert; $cbpost = $sql -> db_getList(); + $text .= "
\n"; foreach($cbpost as $cb) { // get available vars @@ -225,6 +226,7 @@ if(!$text = $e107cache->retrieve("nq_chatbox")) $replace = array($cb_nick,$datestamp,($cb['cb_blocked'] ? CHATBOX_L6 : $cb_message)); $text .= str_replace($search,$replace,$CHATBOXSTYLE); } + $text .= "
"; } else {