From b374e762b222c3c9ff3e34cd35a7e9f682d9b5fc Mon Sep 17 00:00:00 2001 From: popiazaza Date: Sat, 25 Jul 2020 21:34:11 +0700 Subject: [PATCH] update 2.18e MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - แก้ไขปัญหาการกระซิบถึงคนที่ยังไม่แชทไม่ได้ - แก้ไขให้อัปโหลดภาพใช้ได้กับ PHP 5.3+ --- th_chat/discuz_plugin_th_chat.xml | 2 +- th_chat/include.php | 5 ----- th_chat/online.php | 2 +- th_chat/template/big.htm | 10 +++++----- th_chat/template/discuz.htm | 10 +++++----- 5 files changed, 12 insertions(+), 17 deletions(-) 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['grouptitle'].'