From 025e1e039dabfe7489eda7fc5e152d70a5ae2034 Mon Sep 17 00:00:00 2001 From: z Date: Wed, 18 Nov 2020 16:37:13 +0800 Subject: [PATCH] * adjust for setting xuanxuan. --- .../module/setting/ext/view/xuanxuan.html.php | 65 ++++++++++++------- 1 file changed, 41 insertions(+), 24 deletions(-) diff --git a/xuanxuan/module/setting/ext/view/xuanxuan.html.php b/xuanxuan/module/setting/ext/view/xuanxuan.html.php index 7475a4f3ed..ae986babb8 100644 --- a/xuanxuan/module/setting/ext/view/xuanxuan.html.php +++ b/xuanxuan/module/setting/ext/view/xuanxuan.html.php @@ -11,7 +11,7 @@ */ ?> -xuanxuan, 'debug', 0);?> +app->loadLang('client')?> @@ -24,36 +24,45 @@
+ + + + - - - - - - - + + - + + + + + + - + @@ -81,22 +90,22 @@ - - + + + + + + - - - - - - - '> @@ -107,7 +116,15 @@ - + + + + + +
im->version;?>xuanxuan->version;?>
im->turnon;?> im->turnonList, $turnon) : zget($lang->im->turnonList, $config->xuanxuan->turnon);?>
im->version;?>xuanxuan->version;?>
im->key;?> - xuanxuan, 'key', '');?> - + + xuanxuan, 'key', '');?> + + xuanxuan, 'key', ''), "class='form-control' readonly='readonly' $style") : zget($config->xuanxuan, 'key', '');?> + + im->errorKey : $lang->im->defaultKey;?> + im->createKey, '', 'onclick="createKey()"') : '';?>
im->debug;?>im->debugStatus, $debug) : zget($lang->im->debugStatus, $debug);?>im->backendLang;?>langs, $config->xuanxuan->backendLang, "class='form-control'") : zget($config->langs, $config->xuanxuan->backendLang, '');?>
im->xxdServer;?> im->xxdServerTip;?>im->xxdServerTip;?>
im->pollingInterval;?>xuanxuan, 'pollingInterval', 60), " class='form-control'") : zget($config->xuanxuan, 'pollingInterval', 60) . $lang->im->secs;?>im->xxdPollIntTip;?>
im->xxd->ip;?>xuanxuan, 'ip', '0.0.0.0'), "class='form-control' placeholder='{$lang->im->placeholder->xxd->ip}'") : zget($config->xuanxuan, 'ip', '0.0.0.0');?>xuanxuan, 'ip', '0.0.0.0'), "class='form-control' placeholder='{$lang->im->placeholder->xxd->ip}'") : zget($config->xuanxuan, 'ip', '0.0.0.0');?>
im->xxdIsHttps;?>im->xxd->aes;?> - - im->httpsOptions, $https, "class='checkbox'") : $lang->im->httpsOptions[$https];?> + xuanxuan, 'aes', 'on');?> + im->aesOptions, $aes, "class='checkbox'") : zget($lang->im->aesOptions, $aes);?> + im->xxdAESTip;?>
im->xxd->https;?> + xuanxuan, 'https', 'off');?> + im->httpsOptions, $https, "class='checkbox'") : zget($lang->im->httpsOptions, $https);?>
im->xxdIsHttps;?>im->httpsOptions, $https, '');?>
im->xxd->sslcrt;?> xuanxuan, 'sslcrt', ''), "placeholder='{$lang->im->placeholder->xxd->sslcrt}' class='form-control'");?>xuanxuan, 'sslkey', ''), "placeholder='{$lang->im->placeholder->xxd->sslkey}' class='form-control'");?>
im->debug;?> + xuanxuan, 'debug', 0);?> + im->debugStatus, $debug) : zget($lang->im->debugStatus, $debug);?> +
im->xxd->os;?> im->osList, zget($config->xuanxuan, $os), "class='form-control chosen'");?>