🐛 修复 BUG
This commit is contained in:
@@ -30,10 +30,10 @@
|
||||
<label class="mdui-textfield-label">{:lang($val.title)}{$val.tip ? '(' . lang($val.tip) . ')' : ''}</label>
|
||||
{switch $val.type}
|
||||
{case text}
|
||||
<input class="mdui-textfield-input" type="{$val.input_type}" name="{$val.name}" value="{$val.value}" autocomplete="off" placeholder="{$val.title}"/>
|
||||
<input class="mdui-textfield-input" type="{$val.input_type}" name="{$val.name}" value="{$val.value}" autocomplete="off" placeholder="{:lang($val.title)}"/>
|
||||
{/case}
|
||||
{case textarea}
|
||||
<textarea class="mdui-textfield-input" rows="6" name="{$val.name}" autocomplete="off" placeholder="{$val.title}">{$val.value}</textarea>
|
||||
<textarea class="mdui-textfield-input" rows="6" name="{$val.name}" autocomplete="off" placeholder="{:lang($val.title)}">{$val.value}</textarea>
|
||||
{/case}
|
||||
{case bool}
|
||||
<label class="mdui-switch">
|
||||
|
||||
@@ -136,8 +136,8 @@ return [
|
||||
'Upload allowed exts tip' => '逗号隔开',
|
||||
'Path naming rule' => '文件路径命名规则',
|
||||
'File naming rule' => '文件命名规则',
|
||||
'Path naming variable cross reference table' => '路径命名变量对照表',
|
||||
'File naming variable cross reference table' => '文件命名变量对照表',
|
||||
'Path naming variable cross reference table' => '<a href="javascript:void(0)" mdui-dialog="{target: \'#path-var\'}">路径命名变量对照表</a>',
|
||||
'File naming variable cross reference table' => '<a href="javascript:void(0)" mdui-dialog="{target: \'#file-var\'}">文件命名变量对照表</a>',
|
||||
'User initial quota' => '用户初始配额容量',
|
||||
'User initial quota tip' => '单位:b,默认1073741824:1G,最大18位',
|
||||
'Mail send mode' => '邮件发送方式',
|
||||
@@ -147,6 +147,7 @@ return [
|
||||
'Mail smtp password' => 'SMTP密码',
|
||||
'Mail smtp port' => 'SMTP端口',
|
||||
'Mail form email' => '发件人邮箱',
|
||||
'Icp number' => '备案号',
|
||||
'Soft delete' => '软删除',
|
||||
'Soft delete tip' => '删除图片时不删除源文件,不建议开启',
|
||||
'Open gallery' => '开启画廊',
|
||||
|
||||
@@ -121,8 +121,8 @@ INSERT INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `
|
||||
(NULL, 'upload', 'text', 'number', 'upload_single_num', 'Upload single num', NULL, '10', ''),
|
||||
(NULL, 'upload', 'text', 'number', 'same_ip_day_max_upload', 'Same ip day max upload', 'Same ip day max upload tip', '0', ''),
|
||||
(NULL, 'upload', 'text', 'text', 'upload_allowed_exts', 'Upload allowed exts', 'Upload allowed exts tip', 'jpg,jpeg,gif,png,ico', ''),
|
||||
(NULL, 'upload', 'text', 'text', 'path_naming_rule', 'Path naming rule', '<a href="javascript:void(0)" mdui-dialog="{target: \'#path-var\'}">Path naming variable cross reference table</a>', '{Y}/{m}/{d}', ''),
|
||||
(NULL, 'upload', 'text', 'text', 'file_naming_rule', 'File naming rule', '<a href="javascript:void(0)" mdui-dialog="{target: \'#file-var\'}">File naming variable cross reference table</a>', '{uniqid}', ''),
|
||||
(NULL, 'upload', 'text', 'text', 'path_naming_rule', 'Path naming rule', 'Path naming variable cross reference table', '{Y}/{m}/{d}', ''),
|
||||
(NULL, 'upload', 'text', 'text', 'file_naming_rule', 'File naming rule', 'File naming variable cross reference table', '{uniqid}', ''),
|
||||
(NULL, 'user', 'text', 'text', 'user_initial_quota', 'User initial quota', 'User initial quota tip', '1073741824', ''),
|
||||
(NULL, 'mail', 'select', 'text', 'mail_send_mode', 'Mail send mode', NULL, 'smtp', '{\"smtp\":\"SMTP\"}'),
|
||||
(NULL, 'mail', 'select', 'text', 'mail_smtp_secure', 'Mail smtp secure', NULL, 'none', '{\"none\":\"None\",\"tls\":\"TLS\",\"ssl\":\"SSL\"}'),
|
||||
|
||||
Reference in New Issue
Block a user