<?php
return 
 [
	'dashboard' => 
	[
		'name' => _('Dashboard'),
		'url' => '/admin/',
		'icon' => 'ion-ios-pulse',
		
	],
	
	'edit' => 
	[
		'name' => _('Edit website'),
		'url' => Vvveb\url(['module' => '/editor/editor']),//'/admin/?module=editor',
		'icon' => 'ion-ios-color-wand-outline',
		
		/*'items' => [
			'html' => [
				'name' => _('Html Pages'),
				'url' => '/admin/?module=html',
			],

			'html' => [
				'name' => _('Posts'),
				'url' => '/admin/?module=html',
			],

			'html' => [
				'name' => _('Products'),
				'url' => '/admin/?module=html',
			],
		]*/
	],
	
	'content' => 
	[
		'name' => _('Content'),
		'url' => '',
		'icon' => 'ion-ios-photos-outline',
		'show_on_modules' => ['posts', 'post', 'pages', 'categories'],

		'items' => [
			'posts' => [
				'name' => _('Posts'),
				'url' => '/admin/?module=content/posts',
			],

			'addpost' => [
				'name' => _('Add new post'),
				'url' => '/admin/?module=content/post',
			],
			
			'pages' => [
				'name' => _('Pages'),
				'url' => '/admin/?module=content/pages',
			],
			
			'addpage' => [
				'name' => _('Add new page'),
				'url' => '/admin/?module=content/page',
			],
			
			'categories' => [
				'name' => _('Categories'),
				'url' => '/admin/?module=content/categories',
			]
		]
	], 
	
	'ecommerce' => 
	[
		'name' => _('Ecommerce'),
		'url' => '',
		'heading' => true
	],
	
	'orders' => 
	[
		'name' => _('Orders'),
		'url' => '/admin/?module=order/orders',
		'icon' => 'ion-ios-cart-outline',
		
	],			
	
	'commerce' => 
	[
		'name' => _('Products'),
		'url' => '',
		'icon' => 'ion-ios-pricetag-outline',
		'badge' => '7',
		'show_on_modules' => ['products', 'product', 'categories'],
		
		'items' => [
			'pages' => [
				'name' => _('Products'),
				'url' => '/admin/?module=product/products',
			],
			
			'addpage' => [
				'name' => _('Add new product'),
				'url' => '/admin/?module=product/product',
			],
			
			'categories' => [
				'name' => _('Categories'),
				'url' => '/admin/?module=categories',
			],
/*					
			'filters' => [
				'name' => _('Filters'),
				'url' => '/admin/?module=categories',
			]*/
		]
	],
	
	'medialibrary' => 
	[
		'name' => _('Media library'),
		'url' => '/admin/?module=media/media',
		'icon' => 'ion-ios-albums-outline',
		
	],

	'configuration' => 
	[
		'name' => _('Configuration'),
		'url' => '',
		'heading' => true
	],

	
	'plugins' => 
	[
		'name' => _('Plugins'),
		'url' => '/admin/?module=plugin/plugins',
		'icon' => 'ion-ios-gear-outline',
		
		'items' => [
			'installed' => [
				'name' => _('Installed Plugins'),
				'url' => '/admin/?module=plugin/plugins',
			],

			'marketplace' => [
				'name' => _('Add new'),
				'url' => '/admin/?module=plugin/market',
			],
		]
	],				
	
	'themes' => 
	[
		'name' => _('Themes'),
		'url' => '/admin/?module=theme/themes',
		'icon' => 'ion-ios-color-wand-outline',
		
		'items' => [
			'installed' => [
				'name' => _('Installed Themes'),
				'url' => '/admin/?module=theme/themes',
			],
			
			'marketplace' => [
				'name' => _('Add new'),
				'url' => '/admin/?module=theme/market',
			],
		]
	],		
		
	'settings' => 
	[
		'name' => _('Settings'),
		'url' => 'settings',
		'icon' => 'ion-ios-settings',
		
		'items' => [
			'general' => [
				'name' => _('General Settings'),
				'url' => '/admin/?module=settings/settings',
			],
			
			'users' => [
				'name' => _('Users'),
				'url' => '/admin/?module=users',
				
					'items' => [
						'html' => [
							'name' => _('Html Pages'),
							'url' => '/admin/?module=html',
						],

						'html' => [
							'name' => _('Posts'),
							'url' => '/admin/?module=html',
						],

						'html' => [
							'name' => _('Products'),
							'url' => '/admin/?module=html',
						],
					]
				
			],

			'checkout' => [
				'name' => _('Checkout & payments'),
				'url' => '/admin/?module=checkout',
			],

			'shipping' => [
				'name' => _('Shipping'),
				'url' => '/admin/?module=shipping',
			],
			
			'email' => [
				'name' => _('Email notifications'),
				'url' => '/admin/?module=pages',
			],
			
			'coupons' => [
				'name' => _('Discount coupons'),
				'url' => '/admin/?module=pages',
			],
		],
	],			
];
