array ( 'name' => 'web_site_status', 'title' => '站点开关', 'type' => 'radio', 'options' => array ( 1 => '开启', 0 => '关闭', ), 'tip' => '站点关闭后前台将不能访问', 'value' => '1', 'extend' => '', ), 1 => array ( 'name' => 'site_url_mode', 'title' => 'URL模式', 'type' => 'radio', 'options' => array ( 1 => '数字', 2 => '标识', ), 'value' => '2', 'tip' => '标识模式需修改伪静态:
index/lists的键值改为/c/[:catdir]$
index/shows的键值改为/d/[:catdir]/[:id]$', 'extend' => '', ), 2 => array ( 'name' => 'site_name', 'title' => '站点名称', 'type' => 'text', 'value' => 'XTU骁途 - 全球领先的相机品牌', 'rule' => 'required', 'extend' => '', ), 3 => array ( 'name' => 'site_title', 'title' => '站点标题', 'type' => 'text', 'value' => 'XTU骁途 - 全球领先的相机品牌', 'extend' => '', ), 4 => array ( 'name' => 'site_keyword', 'title' => '站点关键词', 'type' => 'text', 'value' => 'XTU骁途 - 全球领先的相机品牌', 'extend' => '', ), 5 => array ( 'name' => 'site_description', 'title' => '站点描述', 'type' => 'textarea', 'value' => 'XTU骁途 - 全球领先的相机品牌', 'extend' => '', ), 6 => array ( 'name' => 'rewrite', 'title' => '伪静态', 'type' => 'array', 'value' => array ( 'index/index' => '/$', 'index/lists' => '/c/[:catdir]$', 'index/shows' => '/d/[:catdir]/[:id]$', 'tags/index' => '/tag/[:tag]$', 'search/index' => '/search$', ), 'tip' => '', 'extend' => '', ), 7 => array ( 'name' => 'site_cache_time', 'title' => '缓存时间', 'type' => 'text', 'value' => '3600', 'tip' => '单页和详情页有效', 'extend' => '', ), 8 => array ( 'name' => 'site_recycle', 'title' => '回收站', 'type' => 'radio', 'options' => array ( 1 => '开启', 0 => '关闭', ), 'tip' => '开启后,误删的文章可以恢复,反之不可还原', 'value' => '0', 'extend' => '', ), 9 => array ( 'name' => 'site_searchtype', 'title' => '搜索方式', 'type' => 'radio', 'options' => array ( 'local' => '本地搜索', 'xunsearch' => '迅搜全文搜索', 'meilisearch' => 'meilisearch', ), 'tip' => '使用迅搜或Meili搜索需要安装对应搜索插件', 'value' => 'local', 'extend' => '', ), 10 => array ( 'name' => 'xunsearch_project_name', 'title' => 'Xunsearch 项目名称', 'type' => 'text', 'value' => 'cms', 'visible' => 'site_searchtype=xunsearch', 'tip' => '如多个CMS共用Xunsearch服务,必须每个CMS的配置中设置不同的项目名称', 'extend' => '', ), 11 => array ( 'name' => 'meilisearch_project_name', 'title' => 'Meilisearch 项目名称', 'type' => 'text', 'value' => 'cms', 'visible' => 'site_searchtype=meilisearch', 'tip' => '如多个CMS共用Meilisearch服务,必须每个CMS的配置中设置不同的项目名称', 'extend' => '', ), 12 => array ( 'name' => 'category_auth', 'title' => '栏目授权', 'type' => 'radio', 'options' => array ( 1 => '开启', 0 => '关闭', ), 'tip' => '开启后,可在【栏目授权】单独给管理员分配可管理的内容栏目', 'value' => '0', 'extend' => '', ), 13 => array ( 'name' => 'site_weburlpush', 'title' => '站长推送', 'type' => 'radio', 'options' => array ( 1 => '开启', 0 => '关闭', ), 'tip' => '如果开启百度站长+神马搜索推送,将在文章发布时自动进行推送(需要安装推送插件)', 'value' => '0', 'extend' => '', ), 14 => array ( 'name' => 'site_getwords', 'title' => '中文分词', 'type' => 'radio', 'options' => array ( 1 => '开启', 0 => '关闭', ), 'tip' => '开启后,会将内容分词提取到关键词中(需要安装中文分词插件)', 'value' => '0', 'extend' => '', ), 15 => array ( 'name' => 'denied_contribute_groups', 'title' => '禁止投稿的会员组', 'type' => 'text', 'value' => '', 'tip' => '', 'extend' => 'class="form-control layui-input selectpage" data-source="user.group/index" data-multiple="true"', ), 16 => array ( 'name' => 'daily_contribute_limit', 'title' => '每日投稿条数', 'type' => 'text', 'value' => '5', 'tip' => '', 'extend' => '', ), 17 => array ( 'name' => 'is_contribute_audit', 'title' => '是否开启投稿审核', 'type' => 'radio', 'options' => array ( 1 => '开启', 0 => '关闭', ), 'tip' => '', 'value' => '1', 'extend' => '', ), 18 => array ( 'name' => 'contribute_verify', 'title' => '投稿身份验证', 'type' => 'radio', 'options' => array ( 1 => '开启', 0 => '关闭', ), 'tip' => '开启后,用户投稿必须验证邮箱或手机', 'value' => '1', 'extend' => '', ), 19 => array ( 'name' => 'autolinks', 'title' => '关键字链接', 'type' => 'textarea', 'value' => '百度|https://www.baidu.com/ 腾讯|https://www.qq.com/', 'tip' => '每行1组以"关键词|(半角竖线)链接"形式填写, 可用第2个竖线追加参数:n代表nofollow标记, e代表external nofollow标记, b代表本窗口打开.
例: google|http://www.google.com|n 即此链接带nofollow(默认新窗口打开)', 'extend' => '', ), 20 => array ( 'name' => 'site_logo_light', 'title' => '浅色Logo', 'type' => 'image', 'value' => '/uploads/20260811/79751d5219c2ade723c86cae52e140df.png', 'tip' => '用于普通/浅色导航栏显示,建议上传透明背景 PNG 或 WebP。', 'extend' => '', ), 21 => array ( 'name' => 'site_logo_dark', 'title' => '深色Logo', 'type' => 'image', 'value' => '/uploads/20260811/79751d5219c2ade723c86cae52e140df.png', 'tip' => '用于深色/滚动状态导航栏显示,留空时默认使用浅色Logo。', 'extend' => '', ), );