<?xml version="1.0"?>
<menu
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="urn:joomla.org"
	xsi:schemaLocation="urn:joomla.org menu.xsd">
	<menuitem
		title="MOD_MENU_SYSTEM"
		type="heading"
		>
		<menuitem
			type="component"
			title="MOD_MENU_CONTROL_PANEL"
			link="index.php"
			element="com_cpanel"
			class="class:cpanel"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_CONFIGURATION"
			type="component"
			element="com_config"
			link="index.php?option=com_config"
			class="class:config"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_GLOBAL_CHECKIN"
			type="component"
			element="com_checkin"
			link="index.php?option=com_checkin"
			class="class:checkin"
		/>
		<menuitem
			title="MOD_MENU_CLEAR_CACHE"
			type="component"
			element="com_cache"
			link="index.php?option=com_cache"
			class="class:clear"
		/>
		<menuitem
			title="MOD_MENU_PURGE_EXPIRED_CACHE"
			type="component"
			element="com_cache"
			link="index.php?option=com_cache&amp;view=purge"
			class="class:purge"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_SYSTEM_INFORMATION"
			type="component"
			element="com_admin"
			link="index.php?option=com_admin&amp;view=sysinfo"
			class="class:info"
		/>
	</menuitem>
	<menuitem
		title="MOD_MENU_COM_USERS_USERS"
		type="heading"
		>
		<menuitem
			title="MOD_MENU_COM_USERS_USER_MANAGER"
			type="component"
			element="com_users"
			link="index.php?option=com_users&amp;view=users"
			class="class:user">
			<menuitem
				title="MOD_MENU_COM_USERS_ADD_USER"
				type="component"
				element="com_users"
				link="index.php?option=com_users&amp;task=user.add"
				class="class:newarticle"
				scope="edit"
			/>
		</menuitem>
		<menuitem
			title="MOD_MENU_COM_USERS_GROUPS"
			type="component"
			element="com_users"
			link="index.php?option=com_users&amp;view=groups"
			class="class:groups">
			<menuitem
				title="MOD_MENU_COM_USERS_ADD_GROUP"
				type="component"
				element="com_users"
				link="index.php?option=com_users&amp;task=group.add"
				class="class:newarticle"
				scope="edit"
			/>
		</menuitem>
		<menuitem
			title="MOD_MENU_COM_USERS_LEVELS"
			type="component"
			element="com_users"
			link="index.php?option=com_users&amp;view=levels"
			class="class:levels">
			<menuitem
				title="MOD_MENU_COM_USERS_ADD_LEVEL"
				type="component"
				element="com_users"
				link="index.php?option=com_users&amp;task=level.add"
				class="class:newarticle"
				scope="edit"
			/>
		</menuitem>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_FIELDS"
			type="component"
			element="com_fields"
			link="index.php?option=com_fields&amp;context=com_users.user"
			class="class:fields"
		/>
		<menuitem
			title="MOD_MENU_FIELDS_GROUP"
			type="component"
			element="com_fields"
			link="index.php?option=com_fields&amp;view=groups&amp;context=com_users.user"
			class="class:category"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_COM_USERS_NOTES"
			type="component"
			element="com_users"
			link="index.php?option=com_users&amp;view=notes"
			class="class:user-note">
			<menuitem
				title="MOD_MENU_COM_USERS_ADD_NOTE"
				type="component"
				element="com_users"
				link="index.php?option=com_users&amp;task=note.add"
				class="class:newarticle"
				scope="edit"
			/>
		</menuitem>
		<menuitem
			title="MOD_MENU_COM_USERS_NOTE_CATEGORIES"
			type="component"
			element="com_categories"
			link="index.php?option=com_categories&amp;view=categories&amp;extension=com_users"
			class="class:category">
			<menuitem
				title="MOD_MENU_COM_CONTENT_NEW_CATEGORY"
				type="component"
				element="com_categories"
				link="index.php?option=com_categories&amp;task=category.add&amp;extension=com_users"
				class="class:newarticle"
				scope="edit"
			/>
		</menuitem>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_MASS_MAIL_USERS"
			type="component"
			element="com_users"
			link="index.php?option=com_users&amp;view=mail"
			class="class:massmail"
			scope="massmail"
		/>
	</menuitem>
	<menuitem
		title="MOD_MENU_MENUS"
		type="heading"
		>
		<menuitem
			title="MOD_MENU_MENU_MANAGER"
			type="component"
			element="com_menus"
			link="index.php?option=com_menus&amp;view=menus"
			class="class:menumgr">
			<menuitem
				title="MOD_MENU_MENU_MANAGER_NEW_MENU"
				type="component"
				element="com_menus"
				link="index.php?option=com_menus&amp;view=menu&amp;layout=edit"
				class="class:newarticle"
				scope="edit"
			/>
		</menuitem>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_MENUS_ALL_ITEMS"
			type="component"
			element="com_menus"
			link="index.php?option=com_menus&amp;view=items&amp;menutype="
			class="class:allmenu"
		/>
		<!--
		Following is an example of repeatable group based on simple database query.
		This requires sql_* attributes (sql_select and sql_from are required)
		The values can be used like - "{sql:columnName}" in any attribute of repeated elements.
		The repeated elements are place inside this xml node but they will be populated in the same level in the rendered menu
		-->
		<menuitem
			type="separator"
			title="JSITE"
			hidden="false"
			sql_select="a.title, a.menutype, CASE COALESCE(SUM(m.home), 0) WHEN 0 THEN '' WHEN 1 THEN CASE m.language WHEN '*' THEN 'class:icon-home' ELSE CONCAT('image:mod_languages/', l.image, '.gif') END ELSE 'image:mod_languages/icon-16-language.png' END AS icon"
			sql_from="#__menu_types AS a"
			sql_where="a.client_id = 0"
			sql_leftjoin="#__menu AS m ON m.menutype = a.menutype AND m.home = 1 LEFT JOIN #__languages AS l ON l.lang_code = m.language"
			sql_group="a.id, m.language, l.image"
			sql_order="a.title ASC">
			<menuitem
				title="{sql:title} "
				type="component"
				element="com_menus"
				link="index.php?option=com_menus&amp;view=items&amp;menutype={sql:menutype}"
				icon="{sql:icon}"
				class="class:menu">
				<menuitem
					title="MOD_MENU_MENU_MANAGER_NEW_MENU_ITEM"
					type="component"
					element="com_menus"
					link="index.php?option=com_menus&amp;view=item&amp;layout=edit&amp;menutype={sql:menutype}"
					class="class:menu"
					scope="edit"
				/>
			</menuitem>
		</menuitem>
		<menuitem
			type="separator"
			title="JADMINISTRATOR"
			hidden="false"
			sql_select="title, menutype"
			sql_from="#__menu_types"
			sql_where="client_id = 1"
			sql_order="title ASC">
			<menuitem
				title="{sql:title}"
				type="component"
				element="com_menus"
				link="index.php?option=com_menus&amp;view=items&amp;menutype={sql:menutype}"
				class="class:menu">
				<menuitem
					title="MOD_MENU_MENU_MANAGER_NEW_MENU_ITEM"
					type="component"
					element="com_menus"
					link="index.php?option=com_menus&amp;view=item&amp;layout=edit&amp;menutype={sql:menutype}"
					class="class:menu"
					scope="edit"
				/>
			</menuitem>
		</menuitem>
	</menuitem>
	<menuitem
		title="MOD_MENU_COM_CONTENT"
		type="heading"
		>
		<menuitem
			title="MOD_MENU_COM_CONTENT_ARTICLE_MANAGER"
			type="component"
			element="com_content"
			link="index.php?option=com_content"
			class="class:article">
			<menuitem
				title="MOD_MENU_COM_CONTENT_NEW_ARTICLE"
				type="component"
				element="com_content"
				link="index.php?option=com_content&amp;task=article.add"
				class="class:newarticle"
				scope="edit"
			/>
		</menuitem>
		<menuitem
			title="MOD_MENU_COM_CONTENT_CATEGORY_MANAGER"
			type="component"
			element="com_categories"
			link="index.php?option=com_categories&amp;extension=com_content"
			class="class:category">
			<menuitem
				title="MOD_MENU_COM_CONTENT_NEW_CATEGORY"
				type="component"
				element="com_categories"
				link="index.php?option=com_categories&amp;task=category.add&amp;extension=com_content"
				class="class:newarticle"
				scope="edit"
			/>
		</menuitem>
		<menuitem
			title="MOD_MENU_COM_CONTENT_FEATURED"
			type="component"
			element="com_content"
			link="index.php?option=com_content&amp;view=featured"
			class="class:featured"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_FIELDS"
			type="component"
			element="com_fields"
			link="index.php?option=com_fields&amp;context=com_content.article"
			class="class:fields"
		/>
		<menuitem
			title="MOD_MENU_FIELDS_GROUP"
			type="component"
			element="com_fields"
			link="index.php?option=com_fields&amp;view=groups&amp;context=com_content.article"
			class="class:category"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_MEDIA_MANAGER"
			type="component"
			element="com_media"
			link="index.php?option=com_media"
			class="class:media"
		/>
	</menuitem>
	<menuitem
		title="MOD_MENU_COMPONENTS"
		type="container"
	>
		<params><![CDATA[{"hideitems":["com_joomlaupdate","com_postinstall"]}]]></params>
	</menuitem>
	<menuitem
		title="MOD_MENU_EXTENSIONS_EXTENSION_MANAGER"
		type="heading"
	>
		<menuitem
			title="COM_JOOMLAUPDATE"
			type="component"
			element="com_joomlaupdate"
			link="index.php?option=com_joomlaupdate"
			class="class:component"
		/>
		<menuitem
			title="COM_POSTINSTALL"
			type="component"
			element="com_postinstall"
			link="index.php?option=com_postinstall"
			class="class:component"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_SYSTEM"
			type="component"
			element="com_installer"
			link="index.php?option=com_installer&amp;view=database"
			class="class:install">

			<menuitem
				title="MOD_MENU_INSTALLER_SUBMENU_DATABASE"
				type="component"
				element="com_installer"
				link="index.php?option=com_installer&amp;view=database"
				class="class:install"
			/>
			<menuitem
				title="MOD_MENU_INSTALLER_SUBMENU_WARNINGS"
				type="component"
				element="com_installer"
				link="index.php?option=com_installer&amp;view=warnings"
				class="class:install"
			/>
			<menuitem
				title="MOD_MENU_INSTALLER_SUBMENU_UPDATESITES"
				type="component"
				element="com_installer"
				link="index.php?option=com_installer&amp;view=updatesites"
				class="class:install"
			/>
		</menuitem>
		<menuitem
			title="MOD_MENU_EXTENSIONS_EXTENSIONS"
			type="component"
			element="com_installer"
			link="index.php?option=com_installer"
			class="class:install">
			<menuitem
				title="MOD_MENU_INSTALLER_SUBMENU_INSTALL"
				type="component"
				element="com_installer"
				link="index.php?option=com_installer"
				class="class:install"
			/>
			<menuitem
				title="MOD_MENU_INSTALLER_SUBMENU_UPDATE"
				type="component"
				element="com_installer"
				link="index.php?option=com_installer&amp;view=update"
				class="class:install"
			/>
			<menuitem
				title="MOD_MENU_INSTALLER_SUBMENU_MANAGE"
				type="component"
				element="com_installer"
				link="index.php?option=com_installer&amp;view=manage"
				class="class:install"
			/>
			<menuitem
				title="MOD_MENU_INSTALLER_SUBMENU_DISCOVER"
				type="component"
				element="com_installer"
				link="index.php?option=com_installer&amp;view=discover"
				class="class:install"
			/>
			<menuitem
				type="separator"
			/>
			<menuitem
				title="MOD_MENU_INSTALLER_SUBMENU_LANGUAGES"
				type="component"
				element="com_installer"
				link="index.php?option=com_installer&amp;view=languages"
				class="class:install"
			/>
		</menuitem>
		<menuitem
			type="separator"
		/>
		<menuitem
			title="MOD_MENU_EXTENSIONS_MODULE_MANAGER"
			type="component"
			element="com_modules"
			link="index.php?option=com_modules"
			class="class:module"
		/>
		<menuitem
			title="MOD_MENU_EXTENSIONS_PLUGIN_MANAGER"
			type="component"
			element="com_plugins"
			link="index.php?option=com_plugins"
			class="class:plugin"
		/>
		<menuitem
			title="MOD_MENU_EXTENSIONS_TEMPLATE_MANAGER"
			type="component"
			element="com_templates"
			link="index.php?option=com_templates"
			class="class:themes">
			<menuitem
				title="MOD_MENU_COM_TEMPLATES_SUBMENU_STYLES"
				type="component"
				element="com_templates"
				link="index.php?option=com_templates&amp;view=styles"
				class="class:themes"
			/>
			<menuitem
				title="MOD_MENU_COM_TEMPLATES_SUBMENU_TEMPLATES"
				type="component"
				element="com_templates"
				link="index.php?option=com_templates&amp;view=templates"
				class="class:themes"
			/>
		</menuitem>
		<menuitem
			title="MOD_MENU_EXTENSIONS_LANGUAGE_MANAGER"
			type="component"
			element="com_languages"
			link="index.php?option=com_languages"
			class="class:language">
			<menuitem
				title="MOD_MENU_COM_LANGUAGES_SUBMENU_INSTALLED"
				type="component"
				element="com_languages"
				link="index.php?option=com_languages&amp;view=installed"
				class="class:language"
			/>
			<menuitem
				title="MOD_MENU_COM_LANGUAGES_SUBMENU_CONTENT"
				type="component"
				element="com_languages"
				link="index.php?option=com_languages&amp;view=languages"
				class="class:language"
			/>
			<menuitem
				title="MOD_MENU_COM_LANGUAGES_SUBMENU_OVERRIDES"
				type="component"
				element="com_languages"
				link="index.php?option=com_languages&amp;view=overrides"
				class="class:language"
			/>
		</menuitem>
	</menuitem>
	<menuitem
		title="MOD_MENU_HELP"
		type="heading"
		>
		<menuitem
			type="component"
			title="MOD_MENU_HELP_JOOMLA"
			element="com_admin"
			link="index.php?option=com_admin&amp;view=help"
			class="class:help"
			scope="help"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_SUPPORT_OFFICIAL_FORUM"
			link="https://forum.joomla.org"
			class="class:help-forum"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_SUPPORT_CUSTOM_FORUM"
			link="special:custom-forum"
			class="class:help-forum"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_SUPPORT_OFFICIAL_LANGUAGE_FORUM"
			link="special:language-forum"
			class="class:help-forum"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_DOCUMENTATION"
			link="https://docs.joomla.org"
			class="class:help-docs"
			scope="help"
		/>
		<menuitem
			type="separator"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_EXTENSIONS"
			link="https://extensions.joomla.org"
			class="class:help-jed"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_TRANSLATIONS"
			link="https://community.joomla.org/translations.html"
			class="class:help-trans"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_RESOURCES"
			link="https://resources.joomla.org"
			class="class:help-jrd"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_COMMUNITY"
			link="https://community.joomla.org"
			class="class:help-community"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_SECURITY"
			link="https://developer.joomla.org/security-centre.html"
			class="class:help-security"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_DEVELOPER"
			link="https://developer.joomla.org"
			class="class:help-dev"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_XCHANGE"
			link="https://joomla.stackexchange.com"
			class="class:help-dev"
			scope="help"
		/>
		<menuitem
			type="url"
			target="_blank"
			title="MOD_MENU_HELP_SHOP"
			link="https://community.joomla.org/the-joomla-shop.html"
			class="class:help-shop"
			scope="help"
		/>
	</menuitem>
</menu>
