| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- <?php
- return array (
- 0 =>
- 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' => '标识模式需修改伪静态:<br><code>index/lists</code>的键值改为<code>/c/[:catdir]$</code><br><code>index/shows</code>的键值改为<code>/d/[:catdir]/[:id]$</code>',
- '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组以"关键词<b class="text-danger">|</b>(半角竖线)链接"形式填写, 可用第2个竖线追加参数:<b class="text-danger">n</b>代表nofollow标记, <b class="text-danger">e</b>代表external nofollow标记, <b class="text-danger">b</b>代表本窗口打开.</br> 例: google<strong>|</strong>http://www.google.com<strong>|</strong>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' => '',
- ),
- );
|