diff --git a/th_chat/discuz_plugin_th_chat.xml b/th_chat/discuz_plugin_th_chat.xml index 0bb6f2b..ffdebf2 100644 --- a/th_chat/discuz_plugin_th_chat.xml +++ b/th_chat/discuz_plugin_th_chat.xml @@ -14,7 +14,7 @@ - + diff --git a/th_chat/include.php b/th_chat/include.php index 6d86568..a5ba715 100644 --- a/th_chat/include.php +++ b/th_chat/include.php @@ -86,10 +86,5 @@ if(in_array($_G['adminid'],array(1,2,3))){ $chat['editor'] .= 'Clear'; } -if (version_compare(PHP_VERSION, '7.0.0') >= 0) { - $showimgup = true; -}else{ - $showimgup = false; -} $chat['welcometext'] = $config['welcometext']; ?> \ No newline at end of file diff --git a/th_chat/online.php b/th_chat/online.php index 0ddc8f2..5c99735 100644 --- a/th_chat/online.php +++ b/th_chat/online.php @@ -62,7 +62,7 @@ $body_onlinein[$r['groupid']] .= '
-
' . $r['username'] . '
+
' . $r['username'] . '
'.$r['grouptitle'].'