diff --git a/xuanxuan/module/my/ext/view/index.xuanxuan.html.hook.php b/xuanxuan/module/block/ext/view/dashboard.xuanxuan.html.hook.php old mode 100644 new mode 100755 similarity index 83% rename from xuanxuan/module/my/ext/view/index.xuanxuan.html.hook.php rename to xuanxuan/module/block/ext/view/dashboard.xuanxuan.html.hook.php index 4436118c7e..7d46845e74 --- a/xuanxuan/module/my/ext/view/index.xuanxuan.html.hook.php +++ b/xuanxuan/module/block/ext/view/dashboard.xuanxuan.html.hook.php @@ -4,13 +4,13 @@ $this->app->loadLang('chat'); $account = $this->app->user->account; $xxInstalled = $this->app->user->account . 'installed'; ?> -xxserver->installed) and $config->xuanxuan->turnon and !isset($config->xxclient->$xxInstalled) and $config->global->flow == 'full' and $moduleName == 'my' and $methodName == 'index'):?> +xxserver->installed) and $config->xuanxuan->turnon and !isset($config->xxclient->$xxInstalled) and $config->global->flow == 'full' ):?> var myModalTrigger = new $.zui.ModalTrigger({custom: 'chat->xxClientConfirm;?>', title: 'chat->zentaoClient;?>'}); var result = myModalTrigger.show(); loadModel('setting')->setItem("system.common.xxclient.{$account}installed", 1);?> -xxserver->noticed) and $this->app->user->admin and $config->global->flow == 'full' and $moduleName == 'my' and $methodName == 'index'):?> +xxserver->noticed) and $this->app->user->admin and $config->global->flow == 'full' and $config->$module->block->initVersion >= '2'):?> var myModalTrigger = new $.zui.ModalTrigger({custom: 'chat->xxServerConfirm;?>', title: 'chat->zentaoClient;?>'}); var result = myModalTrigger.show(); loadModel('setting')->setItem("system.common.xxserver.noticed", 1);?>