plugin marketing
This commit is contained in:
parent
e89272aeec
commit
1085238859
|
|
@ -48,6 +48,7 @@ class Header extends Component
|
|||
['name' => trans('admin/common.customer'), 'route' => 'customers.index'],
|
||||
['name' => trans('admin/common.content'), 'route' => 'pages.index'],
|
||||
['name' => trans('admin/common.setting'), 'route' => 'settings.index'],
|
||||
['name' => trans('admin/common.marketing'), 'route' => 'marketing.index'],
|
||||
];
|
||||
return hook_filter('admin.header_menus', $menus);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class Sidebar extends Component
|
|||
foreach ($routes as $route) {
|
||||
$this->addLink($route['route'], $route['icon'] ?? '', $this->equalRoute($route['route']), (bool)($route['blank'] ?? false));
|
||||
}
|
||||
} elseif (Str::startsWith($routeName, ['settings.', 'admin_users.', 'admin_roles.', 'plugins.', 'tax_classes', 'tax_rates', 'regions', 'currencies', 'languages', 'design_menu', 'countries', 'zones'])) {
|
||||
} elseif (Str::startsWith($routeName, ['settings.', 'admin_users.', 'admin_roles.', 'plugins.', 'marketing.', 'tax_classes', 'tax_rates', 'regions', 'currencies', 'languages', 'design_menu', 'countries', 'zones'])) {
|
||||
$routes = $this->getSettingSubRoutes();
|
||||
foreach ($routes as $route) {
|
||||
$this->addLink($route['route'], $route['icon'] ?? '', $this->equalRoute($route['route']), (bool)($route['blank'] ?? false));
|
||||
|
|
@ -179,6 +179,7 @@ class Sidebar extends Component
|
|||
['route' => 'settings.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
['route' => 'admin_users.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
['route' => 'plugins.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
['route' => 'marketing.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
['route' => 'regions.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
['route' => 'tax_rates.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
['route' => 'tax_classes.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ return [
|
|||
'content' => 'Contents',
|
||||
'setting' => 'Settings',
|
||||
'plugin' => 'Plugin',
|
||||
'marketing' => 'Plugin Marketing',
|
||||
'admin_user' => 'Admin User',
|
||||
'admin_role' => 'Admin Role',
|
||||
'region' => 'Region',
|
||||
|
|
@ -50,6 +51,7 @@ return [
|
|||
'settings_index' => 'Setting',
|
||||
'admin_users_index' => 'Admin Users',
|
||||
'plugins_index' => 'Plugins',
|
||||
'marketing_index' => 'Plugin Marketing',
|
||||
'regions_index' => 'Regions',
|
||||
'tax_rates_index' => 'Tax Rates',
|
||||
'pages_index' => 'Information',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* marketing.php
|
||||
*
|
||||
* @copyright 2022 beikeshop.com - All Rights Reserved
|
||||
* @link https://beikeshop.com
|
||||
* @author Edward Yang <yangjin@guangda.work>
|
||||
* @created 2022-09-26 18:45:53
|
||||
* @modified 2022-09-26 18:45:53
|
||||
*/
|
||||
|
||||
return [
|
||||
'marketing_list' => 'Plugin Marketing List'
|
||||
];
|
||||
|
|
@ -34,6 +34,7 @@ return [
|
|||
'content' => '内容管理',
|
||||
'setting' => '系统设置',
|
||||
'plugin' => '插件管理',
|
||||
'marketing' => '插件市场',
|
||||
'admin_user' => '后台用户',
|
||||
'admin_role' => '用户角色',
|
||||
'region' => '区域分组',
|
||||
|
|
@ -50,6 +51,7 @@ return [
|
|||
'settings_index' => '系统设置',
|
||||
'admin_users_index' => '后台用户',
|
||||
'plugins_index' => '插件列表',
|
||||
'marketing_index' => '插件市场',
|
||||
'regions_index' => '区域分组',
|
||||
'tax_rates_index' => '税率设置',
|
||||
'tax_classes_index' => '税费类别',
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* header.php
|
||||
* marketing.php
|
||||
*
|
||||
* @copyright 2022 beikeshop.com - All Rights Reserved
|
||||
* @link https://beikeshop.com
|
||||
* @author Edward Yang <yangjin@guangda.work>
|
||||
* @created 2022-08-02 19:03:19
|
||||
* @modified 2022-08-02 19:03:19
|
||||
* @created 2022-09-26 18:45:53
|
||||
* @modified 2022-09-26 18:45:53
|
||||
*/
|
||||
|
||||
return [
|
||||
'marketing_list' => '插件中心',
|
||||
'marketing_list' => '可用插件'
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue