diff --git a/upload/template/default/touch/forum/discuzcode.htm b/upload/template/default/touch/forum/discuzcode.htm
index 24200f5a83fc888e6c915ad4480f34da73d6a20f..ead8c46ae1e80f857bedd4670a433222bad78208 100644
--- a/upload/template/default/touch/forum/discuzcode.htm
+++ b/upload/template/default/touch/forum/discuzcode.htm
@@ -17,8 +17,9 @@ $message
}
function tpl_codedisp($code) {
+ $randomid = 'code_'.random(3);
}
-
+{lang discuzcode_copyclipboard}
{eval
}
@@ -96,16 +97,16 @@ $mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$att
$aidencode = packaids($attach);
$is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G['forum_thread']['archiveid'] : '';
$pluginhook = !empty($_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach['aid']]) ? $_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach['aid']] : '';
+$guestviewthumb = !empty($_G['setting']['guestviewthumb']['flag']) && !$_G['uid'];
+$mobileguestviewthumburl = $guestviewthumb ? ($attach['attachimg'] && $_G['setting']['showimages'] && (((!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid'])) || ($guestviewthumb)) ? getforumimg($attach['aid'], 0, $_G['setting']['guestviewthumb']['width'], $_G['setting']['guestviewthumb']['height'], 1) : '') : '';
}
-
-
-
-
- $pluginhook
-
-
-
+
+
+
+ $pluginhook
+
+
@@ -159,4 +160,4 @@ $mobileguestviewthumburl = $guestviewthumb ? ($attach['attachimg'] && $_G['setti
+}-->
\ No newline at end of file