Changeset 2729069
- Timestamp:
- 05/24/2022 06:06:40 AM (4 years ago)
- Location:
- eychat
- Files:
-
- 3 added
- 3 edited
-
assets/screenshot-3.png (added)
-
trunk/assets/chath5.php (added)
-
trunk/assets/tip.php (modified) (1 diff)
-
trunk/classes/front.class.php (modified) (4 diffs)
-
trunk/dist/chath5.js (added)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eychat/trunk/assets/tip.php
r2703007 r2729069 1 1 <?php get_header();?> 2 <!DOCTYPE html>3 <html>4 <head>5 <meta charset="utf-8">6 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">7 </head>8 2 <body> 9 3 <div class="layui-row layui-col-space5 layui-hide-xs" id="tip-welcome" style="height:300px;"> -
eychat/trunk/classes/front.class.php
r2721718 r2729069 465 465 public static function init(){ 466 466 $cfg = get_option(EYOUNGCHAT_Admin::$optname); 467 if (empty($cfg['isopen'])) return; 467 468 if (wp_is_mobile()){ 468 if (empty($cfg['mobileopen'])) return;469 // if (empty($cfg['mobileopen'])) return; 469 470 }else{ 470 if (empty($cfg['isopen'])) return;471 // if (empty($cfg['isopen'])) return; 471 472 } 472 473 include_once EYOUNG_CHAT_PATH.'/lang/front.php'; … … 500 501 add_action('wp_ajax_nopriv_eychat_uploadImage', array(__CLASS__, 'uploadImage')); 501 502 add_action('wp_ajax_nopriv_eychat_uploadFile', array(__CLASS__, 'uploadFile')); 502 503 503 504 add_filter('template_include',array(__CLASS__, 'getChatPage'),11); 504 505 add_action('wp_enqueue_scripts', array(__CLASS__,'setLoadScripts')); … … 509 510 wp_enqueue_style( 'eychat_layui_css', EYOUNG_CHAT_URL.EYOUNG_CHAT_JS.'/layui/css/layui.css',12); 510 511 wp_enqueue_style( 'eychat_def_css', EYOUNG_CHAT_URL.EYOUNG_CHAT_JS.'/layui/css/eydef.css',13); 511 wp_enqueue_script('eychat_js', EYOUNG_CHAT_URL.EYOUNG_CHAT_JS.'/layui/layui.js' );512 wp_enqueue_script('eychat_js', EYOUNG_CHAT_URL.EYOUNG_CHAT_JS.'/layui/layui.js',14); 512 513 } 513 514 … … 555 556 556 557 $lang = self::$lg; 557 558 if ($uinfo['st'] == 4){ 559 return EYOUNG_CHAT_PATH . '/assets/tip.php'; 560 }else if ($uinfo['st'] == 1){ 561 return EYOUNG_CHAT_PATH . '/assets/tip.php'; 562 } 563 564 include_once EYOUNG_CHAT_PATH . '/assets/chat.php'; 558 559 if (wp_is_mobile()){ 560 include_once EYOUNG_CHAT_PATH . '/assets/chath5.php'; 561 }else{ 562 if ($uinfo['st'] == 4){ 563 return EYOUNG_CHAT_PATH . '/assets/tip.php'; 564 }else if ($uinfo['st'] == 1){ 565 return EYOUNG_CHAT_PATH . '/assets/tip.php'; 566 } 567 568 include_once EYOUNG_CHAT_PATH . '/assets/chat.php'; 569 } 565 570 return false; 566 571 } -
eychat/trunk/readme.txt
r2722443 r2729069 5 5 Requires at least: 4.8 6 6 Tested up to: 5.9.3 7 Stable tag: 1. 07 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 62 62 1. Ey聊天极简版后台设置截图。 63 63 2. Ey聊天极简版前端用户使用截图。 64 3. Ey聊天极简版移动前端用户使用截图。 64 65 65 66 == Changelog == 67 68 = 1.2 =2022/05/24 69 * 新增手机版 66 70 67 71 = 1.0 =2022/02/18
Note: See TracChangeset
for help on using the changeset viewer.