frames.inc.php 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. $we7_system_menu = array();
  8. $we7_system_menu['account'] = array(
  9. 'title' => '公众号',
  10. 'icon' => 'wi wi-white-collar',
  11. 'url' => url('home/welcome/platform'),
  12. 'section' => array(
  13. 'platform_plus' => array(
  14. 'title' => '增强功能',
  15. 'menu' => array(
  16. 'platform_reply' => array(
  17. 'title' => '自动回复',
  18. 'url' => url('platform/reply'),
  19. 'icon' => 'wi wi-reply',
  20. 'permission_name' => 'platform_reply',
  21. 'sub_permission' => array(
  22. ),
  23. ),
  24. 'platform_menu' => array(
  25. 'title' => '自定义菜单',
  26. 'url' => url('platform/menu/post'),
  27. 'icon' => 'wi wi-custommenu',
  28. 'permission_name' => 'platform_menu',
  29. ),
  30. 'platform_qr' => array(
  31. 'title' => '二维码/转化链接',
  32. 'url' => url('platform/qr'),
  33. 'icon' => 'wi wi-qrcode',
  34. 'permission_name' => 'platform_qr',
  35. 'sub_permission' => array(
  36. ),
  37. ),
  38. 'platform_mass_task' => array(
  39. 'title' => '定时群发',
  40. 'url' => url('platform/mass'),
  41. 'icon' => 'wi wi-crontab',
  42. 'permission_name' => 'platform_mass_task',
  43. ),
  44. 'platform_material' => array(
  45. 'title' => '素材/编辑器',
  46. 'url' => url('platform/material'),
  47. 'icon' => 'wi wi-redact',
  48. 'permission_name' => 'platform_material',
  49. 'sub_permission' => array(
  50. array(
  51. 'title' => '添加/编辑',
  52. 'url' => url('platform/material-post'),
  53. 'permission_name' => 'material_post',
  54. ),
  55. array(
  56. 'title' => '删除',
  57. 'permission_name' => 'platform_material_delete',
  58. ),
  59. ),
  60. ),
  61. 'platform_site' => array(
  62. 'title' => '微官网-文章',
  63. 'url' => url('site/multi/display'),
  64. 'icon' => 'wi wi-home',
  65. 'permission_name' => 'platform_site',
  66. 'sub_permission' => array(
  67. ),
  68. )
  69. ),
  70. ),
  71. 'platform_module' => array(
  72. 'title' => '应用模块',
  73. 'menu' => array(),
  74. 'is_display' => true,
  75. ),
  76. 'mc' => array(
  77. 'title' => '粉丝',
  78. 'menu' => array(
  79. 'mc_fans' => array(
  80. 'title' => '粉丝管理',
  81. 'url' => url('mc/fans'),
  82. 'icon' => 'wi wi-fansmanage',
  83. 'permission_name' => 'mc_fans',
  84. ),
  85. 'mc_member' => array(
  86. 'title' => '会员管理',
  87. 'url' => url('mc/member'),
  88. 'icon' => 'wi wi-fans',
  89. 'permission_name' => 'mc_member',
  90. )
  91. ),
  92. ),
  93. 'profile' => array(
  94. 'title' => '配置',
  95. 'menu' => array(
  96. 'profile' => array(
  97. 'title' => '参数配置',
  98. 'url' => url('profile/passport'),
  99. 'icon' => 'wi wi-parameter-setting',
  100. 'permission_name' => 'profile_setting',
  101. ),
  102. 'payment' => array(
  103. 'title' => '支付参数',
  104. 'url' => url('profile/payment'),
  105. 'icon' => 'wi wi-pay-setting',
  106. 'permission_name' => 'profile_pay_setting',
  107. ),
  108. 'app_module_link' => array(
  109. 'title' => "数据同步",
  110. 'url' => url('profile/module-link-uniacid'),
  111. 'is_display' => 1,
  112. 'icon' => 'wi wi-data-synchro',
  113. 'permission_name' => 'profile_app_module_link_uniacid',
  114. ),
  115. 'bind_domain' => array(
  116. 'title' => '域名绑定',
  117. 'url' => url('profile/bind-domain'),
  118. 'icon' => 'wi wi-parameter-setting',
  119. 'permission_name' => 'profile_bind_domain',
  120. ),
  121. ),
  122. ),
  123. 'statistics' => array(
  124. 'title' => '统计',
  125. 'menu' => array(
  126. 'app' => array(
  127. 'title' => '访问统计',
  128. 'url' => url('statistics/app'),
  129. 'icon' => 'wi wi-api',
  130. 'permission_name' => 'statistics_app',
  131. ),
  132. ),
  133. ),
  134. ),
  135. );
  136. $we7_system_menu['wxapp'] = array(
  137. 'title' => '小程序',
  138. 'icon' => 'wi wi-small-routine',
  139. 'url' => url('wxapp/display/home'),
  140. 'section' => array(
  141. 'wxapp_entrance' => array(
  142. 'title' => '小程序入口',
  143. 'menu' => array(
  144. 'module_entrance_link' => array(
  145. 'title' => "入口页面",
  146. 'url' => url('wxapp/entrance-link'),
  147. 'is_display' => 1,
  148. 'icon' => 'wi wi-data-synchro',
  149. 'permission_name' => 'wxapp_entrance_link',
  150. ),
  151. ),
  152. 'is_display' => true,
  153. ),
  154. 'wxapp_module' => array(
  155. 'title' => '应用',
  156. 'menu' => array(),
  157. 'is_display' => true,
  158. ),
  159. 'wxapp_profile' => array(
  160. 'title' => '配置',
  161. 'menu' => array(
  162. 'wxapp_module_link' => array(
  163. 'title' => "数据同步",
  164. 'url' => url('wxapp/module-link-uniacid'),
  165. 'is_display' => 1,
  166. 'icon' => 'wi wi-data-synchro',
  167. 'permission_name' => 'wxapp_module_link_uniacid',
  168. ),
  169. 'wxapp_payment' => array(
  170. 'title' => '支付参数',
  171. 'url' => url('wxapp/payment'),
  172. 'is_display' => 1,
  173. 'icon' => 'wi wi-appsetting',
  174. 'permission_name' => 'wxapp_payment',
  175. ),
  176. 'front_download' => array(
  177. 'title' => '上传微信审核',
  178. 'url' => url('wxapp/front-download'),
  179. 'is_display' => 1,
  180. 'icon' => 'wi wi-examine',
  181. 'permission_name' => 'wxapp_front_download',
  182. ),
  183. 'wxapp_platform_material' => array(
  184. 'title' => '素材管理',
  185. 'is_display' => 0,
  186. 'permission_name' => 'wxapp_platform_material',
  187. 'sub_permission' => array(
  188. array(
  189. 'title' => '删除',
  190. 'permission_name' => 'wxapp_platform_material_delete',
  191. ),
  192. ),
  193. ),
  194. )
  195. )
  196. ),
  197. );
  198. /*
  199. $we7_system_menu['webapp'] = array(
  200. 'title' => 'PC',
  201. 'icon' => 'wi wi-pc',
  202. 'url' => url('webapp/home/display'),
  203. 'section' => array(
  204. 'platform_module' => array(
  205. 'title' => '应用模块',
  206. 'menu' => array(),
  207. 'is_display' => true,
  208. ),
  209. 'mc' => array(
  210. 'title' => '粉丝',
  211. 'menu' => array(
  212. 'mc_member' => array(
  213. 'title' => '会员管理',
  214. 'url' => url('mc/member'),
  215. 'icon' => 'wi wi-fans',
  216. 'permission_name' => 'mc_member',
  217. )
  218. ),
  219. ),
  220. 'webapp' => array(
  221. 'title' => '配置',
  222. 'menu' => array(
  223. 'webapp_module_link' => array(
  224. 'title' => "数据同步",
  225. 'url' => url('webapp/module-link-uniacid'),
  226. 'is_display' => 1,
  227. 'icon' => 'wi wi-data-synchro',
  228. 'permission_name' => 'webapp_module_link_uniacid',
  229. ),
  230. ),
  231. ),
  232. ),
  233. );
  234. $we7_system_menu['phoneapp'] = array(
  235. 'title' => 'APP',
  236. 'icon' => 'wi wi-white-collar',
  237. 'url' => url('phoneapp/display/home'),
  238. 'section' => array(
  239. 'phoneapp_module' => array(
  240. 'title' => '应用',
  241. 'menu' => array(),
  242. 'is_display' => true,
  243. ),
  244. ),
  245. );
  246. $we7_system_menu['module'] = array(
  247. 'title' => '应用',
  248. 'icon' => 'wi wi-apply',
  249. 'url' => url('module/display'),
  250. 'section' => array(),
  251. );
  252. */
  253. $we7_system_menu['system'] = array(
  254. 'title' => '系统',
  255. 'icon' => 'wi wi-setting',
  256. 'url' => url('home/welcome/system'),
  257. 'section' => array(
  258. 'wxplatform' => array(
  259. 'title' => '公众号',
  260. 'menu' => array(
  261. 'system_account' => array(
  262. 'title' => ' 微信公众号',
  263. 'url' => url('account/manage', array('account_type' => '1')),
  264. 'icon' => 'wi wi-wechat',
  265. 'permission_name' => 'system_account',
  266. 'sub_permission' => array(
  267. array(
  268. 'title' => '公众号管理设置',
  269. 'permission_name' => 'system_account_manage',
  270. ),
  271. array(
  272. 'title' => '添加公众号',
  273. 'permission_name' => 'system_account_post',
  274. ),
  275. array(
  276. 'title' => '公众号停用',
  277. 'permission_name' => 'system_account_stop',
  278. ),
  279. array(
  280. 'title' => '公众号回收站',
  281. 'permission_name' => 'system_account_recycle',
  282. ),
  283. array(
  284. 'title' => '公众号删除',
  285. 'permission_name' => 'system_account_delete',
  286. ),
  287. array(
  288. 'title' => '公众号恢复',
  289. 'permission_name' => 'system_account_recover',
  290. ),
  291. ),
  292. ),
  293. 'system_module' => array(
  294. 'title' => '公众号应用',
  295. 'url' => url('module/manage-system', array('account_type' => '1')),
  296. 'icon' => 'wi wi-wx-apply',
  297. 'permission_name' => 'system_module',
  298. ),
  299. 'system_template' => array(
  300. 'title' => '微官网模板',
  301. 'url' => url('system/template'),
  302. 'icon' => 'wi wi-wx-template',
  303. 'permission_name' => 'system_template',
  304. ),
  305. 'system_platform' => array(
  306. 'title' => ' 微信开放平台',
  307. 'url' => url('system/platform'),
  308. 'icon' => 'wi wi-exploitsetting',
  309. 'permission_name' => 'system_platform',
  310. ),
  311. )
  312. ),
  313. 'module' => array(
  314. 'title' => '小程序',
  315. 'menu' => array(
  316. 'system_wxapp' => array(
  317. 'title' => '微信小程序',
  318. 'url' => url('account/manage', array('account_type' => '4')),
  319. 'icon' => 'wi wi-wxapp',
  320. 'permission_name' => 'system_wxapp',
  321. 'sub_permission' => array(
  322. array(
  323. 'title' => '小程序管理设置',
  324. 'permission_name' => 'system_wxapp_manage',
  325. ),
  326. array(
  327. 'title' => '添加小程序',
  328. 'permission_name' => 'system_wxapp_post',
  329. ),
  330. array(
  331. 'title' => '小程序停用',
  332. 'permission_name' => 'system_wxapp_stop',
  333. ),
  334. array(
  335. 'title' => '小程序回收站',
  336. 'permission_name' => 'system_wxapp_recycle',
  337. ),
  338. array(
  339. 'title' => '小程序删除',
  340. 'permission_name' => 'system_wxapp_delete',
  341. ),
  342. array(
  343. 'title' => '小程序恢复',
  344. 'permission_name' => 'system_wxapp_recover',
  345. ),
  346. ),
  347. ),
  348. 'system_module_wxapp' => array(
  349. 'title' => '小程序应用',
  350. 'url' => url('module/manage-system', array('account_type' => '4')),
  351. 'icon' => 'wi wi-wxapp-apply',
  352. 'permission_name' => 'system_module_wxapp',
  353. ),
  354. )
  355. ),
  356. 'welcome' => array(
  357. 'title' => '系统首页',
  358. 'menu' => array(
  359. 'system_welcome' => array(
  360. 'title' => '系统首页应用',
  361. 'url' => url('module/manage-system', array('system_welcome' => 1)),
  362. 'icon' => 'wi wi-wxapp',
  363. 'permission_name' => 'system_welcome',
  364. )
  365. ),
  366. 'founder' => true
  367. ),
  368. /*
  369. 'webapp' => array(
  370. 'title' => 'PC',
  371. 'menu' => array(
  372. 'system_webapp' => array(
  373. 'title' => 'PC',
  374. 'url' => url('account/manage', array('account_type' => ACCOUNT_TYPE_WEBAPP_NORMAL)),
  375. 'icon' => 'wi wi-pc',
  376. 'permission_name' => 'system_webapp',
  377. 'sub_permission' => array(
  378. ),
  379. ),
  380. 'system_module_webapp' => array(
  381. 'title' => 'PC应用',
  382. 'url' => url('module/manage-system', array('account_type' => ACCOUNT_TYPE_WEBAPP_NORMAL)),
  383. 'icon' => 'wi wi-pc-apply',
  384. 'permission_name' => 'system_module_webapp',
  385. ),
  386. )
  387. ),
  388. 'phoneapp' => array(
  389. 'title' => 'APP',
  390. 'menu' => array(
  391. 'system_phoneapp' => array(
  392. 'title' => 'APP',
  393. 'url' => url('account/manage', array('account_type' => ACCOUNT_TYPE_PHONEAPP_NORMAL)),
  394. 'icon' => 'wi wi-wxapp',
  395. 'permission_name' => 'system_phoneapp',
  396. 'sub_permission' => array(
  397. ),
  398. ),
  399. 'system_module_phoneapp' => array(
  400. 'title' => 'APP应用',
  401. 'url' => url('module/manage-system', array('account_type' => ACCOUNT_TYPE_PHONEAPP_NORMAL)),
  402. 'icon' => 'wi wi-wxapp-apply',
  403. 'permission_name' => 'system_module_phoneapp',
  404. ),
  405. )
  406. ),*/
  407. 'user' => array(
  408. 'title' => '帐户/用户',
  409. 'menu' => array(
  410. 'system_my' => array(
  411. 'title' => '我的帐户',
  412. 'url' => url('user/profile'),
  413. 'icon' => 'wi wi-user',
  414. 'permission_name' => 'system_my',
  415. ),
  416. 'system_user' => array(
  417. 'title' => '用户管理',
  418. 'url' => url('user/display'),
  419. 'icon' => 'wi wi-user-group',
  420. 'permission_name' => 'system_user',
  421. 'sub_permission' => array(
  422. array(
  423. 'title' => '编辑用户',
  424. 'permission_name' => 'system_user_post',
  425. ),
  426. array(
  427. 'title' => '审核用户',
  428. 'permission_name' => 'system_user_check',
  429. ),
  430. array(
  431. 'title' => '店员管理',
  432. 'permission_name' => 'system_user_clerk',
  433. ),
  434. array(
  435. 'title' => '用户回收站',
  436. 'permission_name' => 'system_user_recycle',
  437. ),
  438. array(
  439. 'title' => '用户属性设置',
  440. 'permission_name' => 'system_user_fields',
  441. ),
  442. array(
  443. 'title' => '用户属性设置-编辑字段',
  444. 'permission_name' => 'system_user_fields_post',
  445. ),
  446. array(
  447. 'title' => '用户注册设置',
  448. 'permission_name' => 'system_user_registerset',
  449. ),
  450. ),
  451. ),
  452. 'system_user_founder_group' => array(
  453. 'title' => '副创始人组',
  454. 'url' => url('founder/display'),
  455. 'icon' =>'wi wi-co-founder',
  456. 'permission_name' =>'system_founder_manage',
  457. 'sub_permission' => array(
  458. array(
  459. 'title' => '添加创始人组',
  460. 'permission_name' => 'system_founder_group_add',
  461. ),
  462. array(
  463. 'title' => '编辑创始人组',
  464. 'permission_name' => 'system_founder_group_post',
  465. ),
  466. array(
  467. 'title' => '删除创始人组',
  468. 'permission_name' => 'system_founder_group_del',
  469. ),
  470. array(
  471. 'title' => '添加创始人',
  472. 'permission_name' => 'system_founder_user_add',
  473. ),
  474. array(
  475. 'title' => '编辑创始人',
  476. 'permission_name' => 'system_founder_user_post',
  477. ),
  478. array(
  479. 'title' => '删除创始人',
  480. 'permission_name' => 'system_founder_user_del',
  481. ),
  482. ),
  483. ),
  484. )
  485. ),
  486. 'permission' => array(
  487. 'title' => '权限管理',
  488. 'menu' => array(
  489. 'system_module_group' => array(
  490. 'title' => '应用权限组',
  491. 'url' => url('module/group'),
  492. 'icon' => 'wi wi-appjurisdiction',
  493. 'permission_name' => 'system_module_group',
  494. 'sub_permission' => array(
  495. array(
  496. 'title' => '添加应用权限组',
  497. 'permission_name' => 'system_module_group_add',
  498. ),
  499. array(
  500. 'title' => '编辑应用权限组',
  501. 'permission_name' => 'system_module_group_post',
  502. ),
  503. array(
  504. 'title' => '删除应用权限组',
  505. 'permission_name' => 'system_module_group_del',
  506. ),
  507. ),
  508. ),
  509. 'system_user_group' => array(
  510. 'title' => '用户权限组',
  511. 'url' => url('user/group'),
  512. 'icon' => 'wi wi-userjurisdiction',
  513. 'permission_name' => 'system_user_group',
  514. 'sub_permission' => array(
  515. array(
  516. 'title' => '添加用户组',
  517. 'permission_name' => 'system_user_group_add',
  518. ),
  519. array(
  520. 'title' => '编辑用户组',
  521. 'permission_name' => 'system_user_group_post',
  522. ),
  523. array(
  524. 'title' => '删除用户组',
  525. 'permission_name' => 'system_user_group_del',
  526. ),
  527. ),
  528. ),
  529. )
  530. ),
  531. 'article' => array(
  532. 'title' => '文章/公告',
  533. 'menu' => array(
  534. 'system_article' => array(
  535. 'title' => '文章管理',
  536. 'url' => url('article/news'),
  537. 'icon' => 'wi wi-article',
  538. 'permission_name' => 'system_article_news',
  539. ),
  540. 'system_article_notice' => array(
  541. 'title' => '公告管理',
  542. 'url' => url('article/notice'),
  543. 'icon' => 'wi wi-notice',
  544. 'permission_name' => 'system_article_notice',
  545. )
  546. )
  547. ),
  548. 'message' => array(
  549. 'title' => '消息提醒',
  550. 'menu' => array(
  551. 'system_message_notice' => array(
  552. 'title' => '消息提醒',
  553. 'url' => url('message/notice'),
  554. 'icon' => 'wi wi-article',
  555. 'permission_name' => 'system_message_notice',
  556. )
  557. )
  558. ),
  559. 'system_statistics' => array(
  560. 'title' => '统计',
  561. 'menu' => array(
  562. 'system_account_analysis' => array(
  563. 'title' => '访问统计',
  564. 'url' => url('statistics/account'),
  565. 'icon' => 'wi wi-article',
  566. 'permission_name' => 'system_account_analysis',
  567. ),
  568. )
  569. ),
  570. 'cache' => array(
  571. 'title' => '缓存',
  572. 'menu' => array(
  573. 'system_setting_updatecache' => array(
  574. 'title' => '更新缓存',
  575. 'url' => url('system/updatecache'),
  576. 'icon' => 'wi wi-update',
  577. 'permission_name' => 'system_setting_updatecache',
  578. ),
  579. ),
  580. ),
  581. ),
  582. );
  583. $we7_system_menu['site'] = array(
  584. 'title' => '站点',
  585. 'icon' => 'wi wi-system-site',
  586. 'url' => url('system/site'),
  587. 'section' => array(
  588. 'cloud' => array(
  589. 'title' => '云服务',
  590. 'menu' => array(
  591. /*'system_profile' => array(
  592. 'title' => '系统升级',
  593. 'url' => url('cloud/upgrade'),
  594. 'icon' => 'wi wi-cache',
  595. 'permission_name' => 'system_cloud_upgrade',
  596. ),
  597. 'system_cloud_register' => array(
  598. 'title' => '注册站点',
  599. 'url' => url('cloud/profile'),
  600. 'icon' => 'wi wi-registersite',
  601. 'permission_name' => 'system_cloud_register',
  602. ),*/
  603. 'system_cloud_diagnose' => array(
  604. 'title' => '云服务诊断',
  605. 'url' => url('cloud/diagnose'),
  606. 'icon' => 'wi wi-diagnose',
  607. 'permission_name' => 'system_cloud_diagnose',
  608. ),
  609. )
  610. ),
  611. 'setting' => array(
  612. 'title' => '设置',
  613. 'menu' => array(
  614. 'system_setting_site' => array(
  615. 'title' => '站点设置',
  616. 'url' => url('system/site'),
  617. 'icon' => 'wi wi-site-setting',
  618. 'permission_name' => 'system_setting_site',
  619. ),
  620. 'system_setting_menu' => array(
  621. 'title' => '菜单设置',
  622. 'url' => url('system/menu'),
  623. 'icon' => 'wi wi-menu-setting',
  624. 'permission_name' => 'system_setting_menu',
  625. ),
  626. 'system_setting_attachment' => array(
  627. 'title' => '附件设置',
  628. 'url' => url('system/attachment'),
  629. 'icon' => 'wi wi-attachment',
  630. 'permission_name' => 'system_setting_attachment',
  631. ),
  632. 'system_setting_systeminfo' => array(
  633. 'title' => '系统信息',
  634. 'url' => url('system/systeminfo'),
  635. 'icon' => 'wi wi-system-info',
  636. 'permission_name' => 'system_setting_systeminfo',
  637. ),
  638. 'system_setting_logs' => array(
  639. 'title' => '查看日志',
  640. 'url' => url('system/logs'),
  641. 'icon' => 'wi wi-log',
  642. 'permission_name' => 'system_setting_logs',
  643. ),
  644. 'system_setting_ipwhitelist' => array(
  645. 'title' => 'IP白名单',
  646. 'url' => url('system/ipwhitelist'),
  647. 'icon' => 'wi wi-ip',
  648. 'permission_name' => 'system_setting_ipwhitelist',
  649. ),
  650. 'system_setting_sensitiveword' => array(
  651. 'title' => '过滤敏感词',
  652. 'url' => url('system/sensitiveword'),
  653. 'icon' => 'wi wi-sensitive',
  654. 'permission_name' => 'system_setting_sensitiveword',
  655. ),
  656. 'system_setting_thirdlogin' => array(
  657. 'title' => '第三方登录配置',
  658. 'url' => url('system/thirdlogin'),
  659. 'icon' => 'wi wi-sensitive',
  660. 'permission_name' => 'system_setting_thirdlogin',
  661. ),
  662. 'system_setting_oauth' => array(
  663. 'title' => 'oauth全局设置',
  664. 'url' => url('system/oauth'),
  665. 'icon' => 'wi wi-sensitive',
  666. 'permission_name' => 'system_setting_oauth',
  667. ),
  668. )
  669. ),
  670. 'utility' => array(
  671. 'title' => '常用工具',
  672. 'menu' => array(
  673. 'system_utility_filecheck' => array(
  674. 'title' => '系统文件校验',
  675. 'url' => url('system/filecheck'),
  676. 'icon' => 'wi wi-file',
  677. 'permission_name' => 'system_utility_filecheck',
  678. ),
  679. 'system_utility_optimize' => array(
  680. 'title' => '性能优化',
  681. 'url' => url('system/optimize'),
  682. 'icon' => 'wi wi-optimize',
  683. 'permission_name' => 'system_utility_optimize',
  684. ),
  685. 'system_utility_database' => array(
  686. 'title' => '数据库',
  687. 'url' => url('system/database'),
  688. 'icon' => 'wi wi-sql',
  689. 'permission_name' => 'system_utility_database',
  690. ),
  691. 'system_utility_scan' => array(
  692. 'title' => '木马查杀',
  693. 'url' => url('system/scan'),
  694. 'icon' => 'wi wi-safety',
  695. 'permission_name' => 'system_utility_scan',
  696. ),
  697. 'system_utility_bom' => array(
  698. 'title' => '检测文件BOM',
  699. 'url' => url('system/bom'),
  700. 'icon' => 'wi wi-bom',
  701. 'permission_name' => 'system_utility_bom',
  702. ),
  703. )
  704. ),
  705. ),
  706. 'founder' => true,
  707. );
  708. $we7_system_menu['help'] = array(
  709. 'title' => '系统帮助',
  710. 'icon' => 'wi wi-market',
  711. 'url' => url('help/display'),
  712. 'section' => array(),
  713. 'blank' => false
  714. );
  715. /*
  716. $we7_system_menu['store'] = array(
  717. 'title' => '商城',
  718. 'icon' => 'wi wi-store',
  719. 'url' => url('home/welcome/ext', array('m' => 'store')),
  720. 'section' => array(),
  721. );
  722. */
  723. return $we7_system_menu;