123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?php
- $menu = [
- [
- 'name' => 'cms',
- 'title' => 'CMS管理',
- 'sublist' => [
- [
- 'name' => 'cms/config',
- 'title' => '站点配置',
- 'icon' => 'fa fa-gears',
- 'ismenu' => 1,
- 'weigh' => '22',
- 'sublist' => [
- ['name' => 'cms/config/index', 'title' => '修改'],
- ],
- ],
- [
- 'name' => 'cms/statistics',
- 'title' => '统计控制台',
- 'icon' => 'fa fa-bar-chart',
- 'ismenu' => 1,
- 'weigh' => '21',
- 'sublist' => [
- ['name' => 'cms/statistics/index', 'title' => '查看'],
- ],
- ],
- [
- 'name' => 'cms/channel',
- 'title' => '栏目管理',
- 'icon' => 'fa fa-list',
- 'weigh' => '20',
- 'sublist' => [
- ['name' => 'cms/channel/index', 'title' => '查看'],
- ['name' => 'cms/channel/add', 'title' => '添加'],
- ['name' => 'cms/channel/edit', 'title' => '修改'],
- ['name' => 'cms/channel/del', 'title' => '删除'],
- ['name' => 'cms/channel/multi', 'title' => '批量更新'],
- ['name' => 'cms/channel/admin', 'title' => '栏目授权', 'remark' => '分配管理员可管理的栏目数据,此功能需要先开启站点配置栏目授权开关'],
- ],
- 'remark' => '用于管理网站的分类,可进行无限级分类,注意只有类型为列表的才可以添加文章'
- ],
- [
- 'name' => 'cms/archives',
- 'title' => '内容管理',
- 'icon' => 'fa fa-file-text-o',
- 'weigh' => '19',
- 'sublist' => [
- ['name' => 'cms/archives/index', 'title' => '查看'],
- ['name' => 'cms/archives/content', 'title' => '副表管理', 'remark' => '用于管理模型副表的数据列表,不建议在此进行删除操作'],
- ['name' => 'cms/archives/add', 'title' => '添加'],
- ['name' => 'cms/archives/edit', 'title' => '修改'],
- ['name' => 'cms/archives/del', 'title' => '删除'],
- ['name' => 'cms/archives/multi', 'title' => '批量更新'],
- ['name' => 'cms/archives/move', 'title' => '移动'],
- ['name' => 'cms/archives/special', 'title' => '专题'],
- ["name" => "cms/archives/recyclebin", "title" => "回收站"],
- ["name" => "cms/archives/restore", "title" => "还原"],
- ["name" => "cms/archives/destroy", "title" => "真实删除"],
- ]
- ],
- [
- 'name' => 'cms/modelx',
- 'title' => '模型管理',
- 'icon' => 'fa fa-th',
- 'weigh' => '18',
- 'sublist' => [
- ['name' => 'cms/modelx/index', 'title' => '查看'],
- ['name' => 'cms/modelx/add', 'title' => '添加'],
- ['name' => 'cms/modelx/edit', 'title' => '修改'],
- ['name' => 'cms/modelx/del', 'title' => '删除'],
- ['name' => 'cms/modelx/duplicate', 'title' => '复制'],
- ['name' => 'cms/modelx/multi', 'title' => '批量更新']
- ],
- 'remark' => '在线添加修改删除模型,管理模型字段和相关模型数据'
- ],
- [
- 'name' => 'cms/fields',
- 'title' => '字段管理',
- 'icon' => 'fa fa-fields',
- 'ismenu' => 0,
- 'sublist' => [
- ['name' => 'cms/fields/index', 'title' => '查看'],
- ['name' => 'cms/fields/add', 'title' => '添加'],
- ['name' => 'cms/fields/edit', 'title' => '修改'],
- ['name' => 'cms/fields/del', 'title' => '删除'],
- ['name' => 'cms/fields/duplicate', 'title' => '复制'],
- ['name' => 'cms/fields/multi', 'title' => '批量更新'],
- ],
- 'remark' => '用于管理模型或表单的字段,进行相关的增删改操作,灰色为主表字段无法修改'
- ],
- [
- 'name' => 'cms/tag',
- 'title' => '标签管理',
- 'icon' => 'fa fa-tags',
- 'weigh' => '17',
- 'sublist' => [
- ['name' => 'cms/tag/index', 'title' => '查看'],
- ['name' => 'cms/tag/add', 'title' => '添加'],
- ['name' => 'cms/tag/edit', 'title' => '修改'],
- ['name' => 'cms/tag/del', 'title' => '删除'],
- ['name' => 'cms/tag/multi', 'title' => '批量更新'],
- ],
- 'remark' => '用于管理文章关联的标签,标签的添加在添加文章时自动维护,无需手动添加标签'
- ],
- [
- 'name' => 'cms/block',
- 'title' => '区块管理',
- 'icon' => 'fa fa-th-large',
- 'weigh' => '16',
- 'sublist' => [
- ['name' => 'cms/block/index', 'title' => '查看'],
- ['name' => 'cms/block/add', 'title' => '添加'],
- ['name' => 'cms/block/edit', 'title' => '修改'],
- ['name' => 'cms/block/del', 'title' => '删除'],
- ['name' => 'cms/block/multi', 'title' => '批量更新'],
- ],
- 'remark' => '用于管理站点的自定义区块内容,常用于广告、JS脚本、焦点图、片段代码等'
- ],
- [
- 'name' => 'cms/page',
- 'title' => '单页管理',
- 'icon' => 'fa fa-file',
- 'weigh' => '15',
- 'sublist' => [
- ['name' => 'cms/page/index', 'title' => '查看'],
- ['name' => 'cms/page/add', 'title' => '添加'],
- ['name' => 'cms/page/edit', 'title' => '修改'],
- ['name' => 'cms/page/del', 'title' => '删除'],
- ['name' => 'cms/page/multi', 'title' => '批量更新'],
- ["name" => "cms/page/recyclebin", "title" => "回收站"],
- ["name" => "cms/page/restore", "title" => "还原"],
- ["name" => "cms/page/destroy", "title" => "真实删除"],
- ],
- 'remark' => '用于管理网站的单页面,可任意创建修改删除单页面'
- ],
- [
- 'name' => 'cms/comment',
- 'title' => '评论管理',
- 'icon' => 'fa fa-comment',
- 'weigh' => '14',
- 'sublist' => [
- ['name' => 'cms/comment/index', 'title' => '查看'],
- ['name' => 'cms/comment/add', 'title' => '添加'],
- ['name' => 'cms/comment/edit', 'title' => '修改'],
- ['name' => 'cms/comment/del', 'title' => '删除'],
- ['name' => 'cms/comment/multi', 'title' => '批量更新'],
- ["name" => "cms/comment/recyclebin", "title" => "回收站"],
- ["name" => "cms/comment/restore", "title" => "还原"],
- ["name" => "cms/comment/destroy", "title" => "真实删除"],
- ],
- 'remark' => '用于管理用户在网站上发表的评论,可任意修改或隐藏评论'
- ],
- [
- 'name' => 'cms/diyform',
- 'title' => '自定义表单管理',
- 'icon' => 'fa fa-list',
- 'weigh' => '13',
- 'sublist' => [
- ['name' => 'cms/diyform/index', 'title' => '查看'],
- ['name' => 'cms/diyform/add', 'title' => '添加'],
- ['name' => 'cms/diyform/edit', 'title' => '修改'],
- ['name' => 'cms/diyform/del', 'title' => '删除'],
- ['name' => 'cms/diyform/multi', 'title' => '批量更新'],
- ],
- 'remark' => '可在线创建自定义表单,管理表单字段和数据列表'
- ],
- [
- 'name' => 'cms/diydata',
- 'title' => '自定义表单数据管理',
- 'icon' => 'fa fa-list',
- 'ismenu' => 0,
- 'weigh' => '12',
- 'sublist' => [
- ['name' => 'cms/diydata/index', 'title' => '查看'],
- ['name' => 'cms/diydata/add', 'title' => '添加'],
- ['name' => 'cms/diydata/edit', 'title' => '修改'],
- ['name' => 'cms/diydata/del', 'title' => '删除'],
- ['name' => 'cms/diydata/multi', 'title' => '批量更新'],
- ['name' => 'cms/diydata/import', 'title' => '导入'],
- ],
- 'remark' => '可在线管理自定义表单的数据列表'
- ],
- [
- 'name' => 'cms/order',
- 'title' => '订单管理',
- 'icon' => 'fa fa-cny',
- 'ismenu' => 1,
- 'weigh' => '11',
- 'sublist' => [
- ['name' => 'cms/order/index', 'title' => '查看'],
- ['name' => 'cms/order/add', 'title' => '添加'],
- ['name' => 'cms/order/edit', 'title' => '修改'],
- ['name' => 'cms/order/del', 'title' => '删除'],
- ['name' => 'cms/order/multi', 'title' => '批量更新'],
- ],
- 'remark' => '可在线管理付费查看所产生的订单'
- ],
- [
- 'name' => 'cms/special',
- 'title' => '专题管理',
- 'icon' => 'fa fa-newspaper-o',
- 'ismenu' => 1,
- 'weigh' => '10',
- 'sublist' => [
- ['name' => 'cms/special/index', 'title' => '查看'],
- ['name' => 'cms/special/add', 'title' => '添加'],
- ['name' => 'cms/special/edit', 'title' => '修改'],
- ['name' => 'cms/special/del', 'title' => '删除'],
- ['name' => 'cms/special/multi', 'title' => '批量更新'],
- ["name" => "cms/special/recyclebin", "title" => "回收站"],
- ["name" => "cms/special/restore", "title" => "还原"],
- ["name" => "cms/special/destroy", "title" => "真实删除"],
- ],
- 'remark' => '可在线管理专题列表'
- ],
- [
- 'name' => 'cms/builder',
- 'title' => '标签生成器',
- 'icon' => 'fa fa-code',
- 'ismenu' => 1,
- 'weigh' => '10',
- 'sublist' => [
- ['name' => 'cms/builder/index', 'title' => '生成'],
- ['name' => 'cms/builder/parse', 'title' => '解析'],
- ],
- 'remark' => '可在线生成CMS模板标签并进行渲染标签'
- ],
- [
- 'name' => 'cms/autolink',
- 'title' => '自动链接管理',
- 'icon' => 'fa fa-link',
- 'ismenu' => 1,
- 'weigh' => '11',
- 'sublist' => [
- ['name' => 'cms/autolink/index', 'title' => '修改'],
- ['name' => 'cms/autolink/add', 'title' => '修改'],
- ['name' => 'cms/autolink/edit', 'title' => '修改'],
- ['name' => 'cms/autolink/del', 'title' => '修改'],
- ['name' => 'cms/autolink/multi', 'title' => '批量更新'],
- ],
- 'remark' => '管理文章正文内文本自动追加链接'
- ]
- ]
- ]
- ];
- return $menu;
|