Skip to content

Commit

Permalink
update 2.18d
Browse files Browse the repository at this point in the history
- แก้ไขปัญหาการใส่ภาพพื้นหลังแชทไม่ได้
  • Loading branch information
popiazaza committed Jul 25, 2020
1 parent 268f8c5 commit 63e3e19
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion th_chat/discuz_plugin_th_chat.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<item id="datatables"><![CDATA[]]></item>
<item id="directory"><![CDATA[th_chat/]]></item>
<item id="copyright"><![CDATA[newz]]></item>
<item id="version"><![CDATA[2.18c]]></item>
<item id="version"><![CDATA[2.18d]]></item>
<item id="__modules">
<item id="0">
<item id="name"><![CDATA[chat]]></item>
Expand Down
4 changes: 2 additions & 2 deletions th_chat/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
loadcache('plugin');
$chat = array();
$config = $_G['cache']['plugin']['th_chat'];
$chat['bgcss'] = 'background:#eaeaea;';
$chat['bgcss'] = 'background: ';
if($config['chat_bg']){
$chat['bgcss'] .= ' url('.$config['chat_bg'].')';
switch($config['chat_bgpos']){
Expand All @@ -27,7 +27,7 @@
}
$chat['bgcss'] .= ' '.$x.' '.$y;
}
$chat['bgcss'] .= ';';
$chat['bgcss'] .= ' #eaeaea;';
$chat['delay'] = intval($config['chat_delay']);
$chat['reload'] = intval($config['chat_reload']);
$chat['guest_show'] = $config['guest_show'];
Expand Down
8 changes: 4 additions & 4 deletions th_chat/template/big.htm
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!--{subtemplate common/header}-->
<!--{if $chat['guest_show']&&!$_G['uid']}-->
{$chat['guest_show']}
<div style="text-align:right;height:20px;"><span id="n_copyright">&copy; <a href="http://2th.me/" target="_blank">2th Chat</a> <strong>2.18c</strong> by <a href="https://www.chaohost.com/client/aff.php?aff=10" target="_blank">ChaoHost</a></span></div>
<div style="text-align:right;height:20px;"><span id="n_copyright">&copy; <a href="http://2th.me/" target="_blank">2th Chat</a> <strong>2.18d</strong> by <a href="https://www.chaohost.com/client/aff.php?aff=10" target="_blank">ChaoHost</a></span></div>
<!--{else}-->
<script src="source/plugin/th_chat/js/jquery-3.5.1.min.js" type="text/javascript"></script>
<script src="source/plugin/th_chat/js/jquery.timeago.js" type="text/javascript"></script>
<script src="source/plugin/th_chat/js/emoji-button-2.12.1.min.js" type="module"></script>
<link rel="stylesheet" type="text/css" href="source/plugin/th_chat/template/th_chat.min.css?v=218c" />
<link rel="stylesheet" type="text/css" href="source/plugin/th_chat/template/th_chat.min.css?v=218d" />
<div style="width:100%;margin:0 auto;">
<style type="text/css">
#nzchatcontent{
Expand All @@ -30,7 +30,7 @@
reload: {$chat['reload']}
};
</script>
<script src="source/plugin/th_chat/js/th_chat.min.js?v=218c" type="text/javascript"></script>
<script src="source/plugin/th_chat/js/th_chat.min.js?v=218d" type="text/javascript"></script>
<div id="nzchat">
<table id="nzchattable">
<tr>
Expand Down Expand Up @@ -84,7 +84,7 @@
<script src="data/cache/common_smilies_var.js?{VERHASH}" type="text/javascript" reload="1"></script>
<script type="text/javascript" reload="1">smilies_show('nzchatsmiliesdiv', 9, 'nzchat');</script>
<input id="nzimgupload" type="file" name="nzimgupload" accept="image/*" data-url="https://www.discuz.in.th/plugin.php?id=th_chat:img">
<div id="nzchatcpy"><span id="n_copyright">&copy; <a href="http://2th.me/" target="_blank">2th Chat</a> <strong>2.18c</strong> by <a href="https://www.chaohost.com/client/aff.php?aff=10" target="_blank">ChaoHost</a></span></div>
<div id="nzchatcpy"><span id="n_copyright">&copy; <a href="http://2th.me/" target="_blank">2th Chat</a> <strong>2.18d</strong> by <a href="https://www.chaohost.com/client/aff.php?aff=10" target="_blank">ChaoHost</a></span></div>
</div>
</div>
<div style="padding-left: 5px" id="nztouid"></div>
Expand Down
8 changes: 4 additions & 4 deletions th_chat/template/discuz.htm
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!--{block return}-->
<!--{if $chat['guest_show']&&!$_G['uid']}-->
{$chat['guest_show']}
<div style="text-align:right;height:20px;"><span id="n_copyright">&copy; <a href="http://2th.me/" target="_blank">2th Chat</a> <strong>2.18c</strong> by <a href="https://www.chaohost.com/client/aff.php?aff=10" target="_blank">ChaoHost</a></span></div>
<div style="text-align:right;height:20px;"><span id="n_copyright">&copy; <a href="http://2th.me/" target="_blank">2th Chat</a> <strong>2.18d</strong> by <a href="https://www.chaohost.com/client/aff.php?aff=10" target="_blank">ChaoHost</a></span></div>
<!--{else}-->
<script src="source/plugin/th_chat/js/jquery-3.5.1.min.js" type="text/javascript"></script>
<script src="source/plugin/th_chat/js/jquery.timeago.js" type="text/javascript"></script>
<script src="source/plugin/th_chat/js/emoji-button-2.12.1.min.js" type="module"></script>
<link rel="stylesheet" type="text/css" href="source/plugin/th_chat/template/th_chat.min.css?v=218c" />
<link rel="stylesheet" type="text/css" href="source/plugin/th_chat/template/th_chat.min.css?v=218d" />
<div style="width:100%;margin:0 auto;">
<style type="text/css">
#nzchatcontent{
Expand All @@ -30,7 +30,7 @@
reload: {$chat['reload']}
};
</script>
<script src="source/plugin/th_chat/js/th_chat.min.js?v=218c" type="text/javascript"></script>
<script src="source/plugin/th_chat/js/th_chat.min.js?v=218d" type="text/javascript"></script>
<div id="nzchat">
<table id="nzchattable">
<tr>
Expand Down Expand Up @@ -84,7 +84,7 @@
<script src="data/cache/common_smilies_var.js?{VERHASH}" type="text/javascript" reload="1"></script>
<script type="text/javascript" reload="1">smilies_show('nzchatsmiliesdiv', 9, 'nzchat');</script>
<input id="nzimgupload" type="file" name="nzimgupload" accept="image/*" data-url="https://www.discuz.in.th/plugin.php?id=th_chat:img">
<div id="nzchatcpy"><span id="n_copyright">&copy; <a href="http://2th.me/" target="_blank">2th Chat</a> <strong>2.18c</strong> by <a href="https://www.chaohost.com/client/aff.php?aff=10" target="_blank">ChaoHost</a></span></div>
<div id="nzchatcpy"><span id="n_copyright">&copy; <a href="http://2th.me/" target="_blank">2th Chat</a> <strong>2.18d</strong> by <a href="https://www.chaohost.com/client/aff.php?aff=10" target="_blank">ChaoHost</a></span></div>
</div>
</div>
<div style="padding-left: 5px" id="nztouid"></div>
Expand Down

0 comments on commit 63e3e19

Please sign in to comment.