first commit
This commit is contained in:
651
administrator/components/com_menus/presets/alternate.xml
Normal file
651
administrator/components/com_menus/presets/alternate.xml
Normal file
@ -0,0 +1,651 @@
|
||||
<?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_CONTROL_PANEL"
|
||||
type="component"
|
||||
element="com_cpanel"
|
||||
link="index.php?option=com_cpanel&view=cpanel"
|
||||
class="class:home"
|
||||
/>
|
||||
<menuitem
|
||||
title="MOD_MENU_SYSTEM"
|
||||
type="heading"
|
||||
icon="wrench"
|
||||
class="class:wrench"
|
||||
>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_CONFIGURATION"
|
||||
type="component"
|
||||
element="com_config"
|
||||
link="index.php?option=com_config&view=application"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_GLOBAL_CHECKIN"
|
||||
type="component"
|
||||
element="com_checkin"
|
||||
link="index.php?option=com_checkin&view=checkin"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_CLEAR_CACHE"
|
||||
type="component"
|
||||
element="com_cache"
|
||||
link="index.php?option=com_cache&view=cache"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_SYSTEM_INFORMATION"
|
||||
type="component"
|
||||
element="com_admin"
|
||||
link="index.php?option=com_admin&view=sysinfo"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_USERS"
|
||||
type="heading"
|
||||
icon="users"
|
||||
class="class:users"
|
||||
>
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_USER_MANAGER"
|
||||
quicktask-title="COM_USERS_MENUS_ADD_USER"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=users"
|
||||
quicktask="index.php?option=com_users&task=user.add"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_GROUPS"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=groups"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_LEVELS"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=levels"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&context=com_users.user"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS_GROUP"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&view=groups&context=com_users.user"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_NOTES"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=notes"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_NOTE_CATEGORIES"
|
||||
type="component"
|
||||
element="com_categories"
|
||||
link="index.php?option=com_categories&view=categories&extension=com_users"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_PRIVACY"
|
||||
type="heading"
|
||||
icon="user-secret"
|
||||
class="class:privacy"
|
||||
dashboard="privacy"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_PRIVACY_REQUESTS"
|
||||
type="component"
|
||||
element="com_privacy"
|
||||
link="index.php?option=com_privacy&view=requests"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_PRIVACY_CAPABILITIES"
|
||||
type="component"
|
||||
element="com_privacy"
|
||||
link="index.php?option=com_privacy&view=capabilities"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_PRIVACY_CONSENTS"
|
||||
type="component"
|
||||
element="com_privacy"
|
||||
link="index.php?option=com_privacy&view=consents"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_ACTIONLOGS"
|
||||
type="component"
|
||||
element="com_actionlogs"
|
||||
link="index.php?option=com_actionlogs&view=actionlogs"
|
||||
class="class:userlogs"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MASS_MAIL_USERS"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=mail"
|
||||
scope="massmail"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MESSAGING"
|
||||
type="component"
|
||||
element="com_messages"
|
||||
link="index.php?option=com_messages&view=messages"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_MESSAGING_NEW"
|
||||
type="component"
|
||||
element="com_messages"
|
||||
link="index.php?option=com_messages&task=message.add"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MESSAGING_PRIVATE"
|
||||
type="component"
|
||||
element="com_messages"
|
||||
link="index.php?option=com_messages&view=messages"
|
||||
/>
|
||||
</menuitem>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MENUS"
|
||||
type="heading"
|
||||
icon="list"
|
||||
class="class:list"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_MENU_MANAGER"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=menus"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MENUS_ALL_ITEMS"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype="
|
||||
/>
|
||||
|
||||
<!--
|
||||
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.id, 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:', l.lang_code) 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, a.title, a.menutype, m.language, l.lang_code"
|
||||
sql_order="a.id DESC"
|
||||
>
|
||||
<menuitem
|
||||
title="{sql:title} "
|
||||
quicktask-title="MOD_MENU_MENU_MANAGER_NEW_SITE_MENU_ITEM"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype={sql:menutype}"
|
||||
icon="{sql:icon}"
|
||||
class="class:menu"
|
||||
quicktask="index.php?option=com_menus&task=item.add&menutype={sql:menutype}"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
title="JADMINISTRATOR"
|
||||
hidden="false"
|
||||
sql_select="title, menutype"
|
||||
sql_from="#__menu_types"
|
||||
sql_where="client_id = 1"
|
||||
sql_order="id DESC"
|
||||
>
|
||||
<menuitem
|
||||
title="{sql:title}"
|
||||
quicktask-title="MOD_MENU_MENU_MANAGER_NEW_ADMIN_MENU_ITEM"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype={sql:menutype}"
|
||||
icon="{sql:icon}"
|
||||
class="class:menu"
|
||||
quicktask="index.php?option=com_menus&task=item.add&client_id=1&menutype={sql:menutype}"
|
||||
/>
|
||||
</menuitem>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_CONTENT"
|
||||
type="heading"
|
||||
icon="file-alt"
|
||||
class="class:file-alt"
|
||||
>
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_ARTICLE_MANAGER"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_ARTICLE"
|
||||
type="component"
|
||||
element="com_content"
|
||||
link="index.php?option=com_content&view=articles"
|
||||
quicktask="index.php?option=com_content&task=article.add"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_CATEGORY_MANAGER"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_CATEGORY"
|
||||
type="component"
|
||||
element="com_categories"
|
||||
link="index.php?option=com_categories&view=categories&extension=com_content"
|
||||
quicktask="index.php?option=com_categories&extension=com_content&task=category.add"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_FEATURED"
|
||||
type="component"
|
||||
element="com_content"
|
||||
link="index.php?option=com_content&view=featured"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_WORKFLOW"
|
||||
type="component"
|
||||
element="com_workflow"
|
||||
link="index.php?option=com_workflow&view=workflows&extension=com_content.article"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&context=com_content.article"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS_GROUP"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&view=groups&context=com_content.article"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MEDIA_MANAGER"
|
||||
type="component"
|
||||
element="com_media"
|
||||
link="index.php?option=com_media&view=media"
|
||||
class="class:image"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COMPONENTS"
|
||||
type="container"
|
||||
class="class:puzzle-piece"
|
||||
>
|
||||
<menuitem
|
||||
title="COM_JOOMLAUPDATE"
|
||||
type="component"
|
||||
element="com_joomlaupdate"
|
||||
link="index.php?option=com_joomlaupdate&view=joomlaupdate"
|
||||
class="class:component"
|
||||
permission="core.manage;com_joomlaupdate"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_GUIDEDTOURS"
|
||||
type="component"
|
||||
element="com_guidedtours"
|
||||
link="index.php?option=com_guidedtours&view=tours"
|
||||
permission="core.manage;com_guidedtours"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_POSTINSTALL"
|
||||
type="component"
|
||||
element="com_postinstall"
|
||||
link="index.php?option=com_postinstall&view=messages"
|
||||
class="class:component"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_REDIRECTS"
|
||||
type="component"
|
||||
element="com_redirect"
|
||||
link="index.php?option=com_redirect&view=links"
|
||||
permission="core.manage;com_redirect"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_SCHEDULED_TASKS"
|
||||
type="component"
|
||||
element="com_scheduler"
|
||||
link="index.php?option=com_scheduler&view=tasks"
|
||||
permission="core.manage;com_scheduler"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_EXTENSIONS"
|
||||
type="heading"
|
||||
icon="cubes"
|
||||
class="class:cubes"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_EXTENSION_MANAGER"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=manage">
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALLER_SUBMENU_INSTALL"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=install"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALLER_SUBMENU_UPDATE"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=update"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALLER_SUBMENU_MANAGE"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=manage"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALLER_SUBMENU_DISCOVER"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=discover"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALLER_SUBMENU_DATABASE"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=database"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALLER_SUBMENU_WARNINGS"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=warnings"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALLER_SUBMENU_LANGUAGES"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=languages"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALLER_SUBMENU_UPDATESITES"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=updatesites"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_SITE"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_SITE_MODULE"
|
||||
type="component"
|
||||
element="com_modules"
|
||||
link="index.php?option=com_modules&view=modules&client_id=0"
|
||||
quicktask="index.php?option=com_modules&view=select&client_id=0"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_ADMINISTRATOR"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_ADMIN_MODULE"
|
||||
type="component"
|
||||
element="com_modules"
|
||||
link="index.php?option=com_modules&view=modules&client_id=1"
|
||||
quicktask="index.php?option=com_modules&view=select&client_id=1"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_PLUGIN_MANAGER"
|
||||
type="component"
|
||||
element="com_plugins"
|
||||
link="index.php?option=com_plugins&view=plugins"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_TEMPLATE_MANAGER"
|
||||
type="component"
|
||||
element="com_templates"
|
||||
link="index.php?option=com_templates">
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_TEMPLATES_SUBMENU_STYLES"
|
||||
type="component"
|
||||
element="com_templates"
|
||||
link="index.php?option=com_templates&view=styles&client_id=0"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_TEMPLATES_SUBMENU_TEMPLATES"
|
||||
type="component"
|
||||
element="com_templates"
|
||||
link="index.php?option=com_templates&view=templates"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_MAILS_TEMPLATES"
|
||||
type="component"
|
||||
element="com_mails"
|
||||
link="index.php?option=com_mails&view=templates"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_LANGUAGE_MANAGER"
|
||||
type="component"
|
||||
element="com_languages"
|
||||
link="index.php?option=com_languages&view=installed">
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_LANGUAGES_SUBMENU_INSTALLED"
|
||||
type="component"
|
||||
element="com_languages"
|
||||
link="index.php?option=com_languages&view=installed"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_LANGUAGES_SUBMENU_CONTENT"
|
||||
type="component"
|
||||
element="com_languages"
|
||||
link="index.php?option=com_languages&view=languages"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_LANGUAGES_SUBMENU_OVERRIDES"
|
||||
type="component"
|
||||
element="com_languages"
|
||||
link="index.php?option=com_languages&view=overrides"
|
||||
/>
|
||||
</menuitem>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP"
|
||||
type="heading"
|
||||
icon="info-circle"
|
||||
class="class:info-circle"
|
||||
>
|
||||
<menuitem
|
||||
type="component"
|
||||
title="MOD_MENU_HELP_JOOMLA"
|
||||
element="com_admin"
|
||||
link="index.php?option=com_admin&view=help"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_SUPPORT_OFFICIAL_FORUM"
|
||||
link="https://forum.joomla.org"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_SUPPORT_CUSTOM_FORUM"
|
||||
link="special:custom-forum"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_SUPPORT_OFFICIAL_LANGUAGE_FORUM"
|
||||
link="special:language-forum"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_DOCUMENTATION"
|
||||
link="https://docs.joomla.org"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_EXTENSIONS"
|
||||
link="https://extensions.joomla.org"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_TRANSLATIONS"
|
||||
link="https://downloads.joomla.org/language-packs"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_RESOURCES"
|
||||
link="https://community.joomla.org/service-providers-directory/"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_COMMUNITY"
|
||||
link="https://community.joomla.org"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_SECURITY"
|
||||
link="https://developer.joomla.org/security-centre.html"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_DEVELOPER"
|
||||
link="https://developer.joomla.org"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_XCHANGE"
|
||||
link="https://joomla.stackexchange.com"
|
||||
scope="help"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="url"
|
||||
target="_blank"
|
||||
title="MOD_MENU_HELP_SHOP"
|
||||
link="https://community.joomla.org/the-joomla-shop.html"
|
||||
scope="help"
|
||||
/>
|
||||
</menuitem>
|
||||
</menu>
|
||||
13
administrator/components/com_menus/presets/components.xml
Normal file
13
administrator/components/com_menus/presets/components.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?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_COMPONENTS"
|
||||
type="container"
|
||||
class="class:puzzle-piece"
|
||||
dashboard="components"
|
||||
/>
|
||||
</menu>
|
||||
338
administrator/components/com_menus/presets/default.xml
Normal file
338
administrator/components/com_menus/presets/default.xml
Normal file
@ -0,0 +1,338 @@
|
||||
<?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
|
||||
type="component"
|
||||
title="MOD_MENU_CONTROL_PANEL"
|
||||
link="index.php"
|
||||
class="class:home"
|
||||
element="com_cpanel"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS"
|
||||
type="heading"
|
||||
icon="file-alt"
|
||||
class="class:file-alt"
|
||||
dashboard="content"
|
||||
>
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_ARTICLE_MANAGER"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_ARTICLE"
|
||||
type="component"
|
||||
element="com_content"
|
||||
link="index.php?option=com_content&view=articles"
|
||||
quicktask="index.php?option=com_content&task=article.add"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_CATEGORY_MANAGER"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_CATEGORY"
|
||||
type="component"
|
||||
element="com_categories"
|
||||
link="index.php?option=com_categories&view=categories&extension=com_content"
|
||||
quicktask="index.php?option=com_categories&extension=com_content&task=category.add"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_FEATURED"
|
||||
type="component"
|
||||
element="com_content"
|
||||
link="index.php?option=com_content&view=featured"
|
||||
class="class:featured"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_WORKFLOW"
|
||||
type="component"
|
||||
element="com_workflow"
|
||||
link="index.php?option=com_workflow&view=workflows&extension=com_content.article"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&view=fields&context=com_content.article"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS_GROUP"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&view=groups&context=com_content.article"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MEDIA_MANAGER"
|
||||
type="component"
|
||||
element="com_media"
|
||||
link="index.php?option=com_media"
|
||||
class="class:image"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_SITE"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_SITE_MODULE"
|
||||
type="component"
|
||||
element="com_modules"
|
||||
link="index.php?option=com_modules&view=modules&client_id=0"
|
||||
quicktask="index.php?option=com_modules&view=select&client_id=0"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_ADMINISTRATOR"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_ADMIN_MODULE"
|
||||
type="component"
|
||||
element="com_modules"
|
||||
link="index.php?option=com_modules&view=modules&client_id=1"
|
||||
quicktask="index.php?option=com_modules&view=select&client_id=1"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MENUS"
|
||||
type="heading"
|
||||
icon="list"
|
||||
class="class:list"
|
||||
dashboard="menus"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_MENU_MANAGER"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=menus"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MENUS_ALL_ITEMS"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype="
|
||||
/>
|
||||
|
||||
<!--
|
||||
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 placed 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.id, 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:', l.lang_code) 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, a.title, a.menutype, m.language, l.lang_code"
|
||||
sql_order="a.ordering ASC"
|
||||
>
|
||||
<menuitem
|
||||
title="{sql:title}"
|
||||
quicktask-title="MOD_MENU_MENU_MANAGER_NEW_SITE_MENU_ITEM"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype={sql:menutype}"
|
||||
icon="{sql:icon}"
|
||||
class="class:menu"
|
||||
quicktask="index.php?option=com_menus&task=item.add&menutype={sql:menutype}"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
title="JADMINISTRATOR"
|
||||
hidden="false"
|
||||
sql_select="title, menutype"
|
||||
sql_from="#__menu_types"
|
||||
sql_where="client_id = 1"
|
||||
sql_order="ordering ASC"
|
||||
>
|
||||
<menuitem
|
||||
title="{sql:title}"
|
||||
quicktask-title="MOD_MENU_MENU_MANAGER_NEW_ADMIN_MENU_ITEM"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype={sql:menutype}"
|
||||
icon="{sql:icon}"
|
||||
class="class:menu"
|
||||
quicktask="index.php?option=com_menus&task=item.add&client_id=1&menutype={sql:menutype}"
|
||||
/>
|
||||
</menuitem>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COMPONENTS"
|
||||
type="container"
|
||||
class="class:puzzle-piece"
|
||||
dashboard="components"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_USERS"
|
||||
type="heading"
|
||||
icon="users"
|
||||
class="class:users"
|
||||
alias="users"
|
||||
dashboard="users"
|
||||
>
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_USER_MANAGER"
|
||||
quicktask-title="COM_USERS_MENUS_ADD_USER"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=users"
|
||||
quicktask="index.php?option=com_users&task=user.add"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_GROUPS"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=groups"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_LEVELS"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=levels"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&view=fields&context=com_users.user"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS_GROUP"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&view=groups&context=com_users.user"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_NOTES"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=notes"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_USERS_MENUS_NOTE_CATEGORIES"
|
||||
type="component"
|
||||
element="com_categories"
|
||||
link="index.php?option=com_categories&view=categories&extension=com_users"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_PRIVACY"
|
||||
type="heading"
|
||||
icon="user-secret"
|
||||
class="class:privacy"
|
||||
dashboard="privacy"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_PRIVACY_REQUESTS"
|
||||
type="component"
|
||||
element="com_privacy"
|
||||
link="index.php?option=com_privacy&view=requests"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_PRIVACY_CAPABILITIES"
|
||||
type="component"
|
||||
element="com_privacy"
|
||||
link="index.php?option=com_privacy&view=capabilities"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_PRIVACY_CONSENTS"
|
||||
type="component"
|
||||
element="com_privacy"
|
||||
link="index.php?option=com_privacy&view=consents"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_COM_ACTIONLOGS"
|
||||
type="component"
|
||||
element="com_actionlogs"
|
||||
link="index.php?option=com_actionlogs&view=actionlogs"
|
||||
class="class:userlogs"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MASS_MAIL_USERS"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=mail"
|
||||
scope="massmail"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MESSAGING"
|
||||
type="component"
|
||||
element="com_messages"
|
||||
link="index.php?option=com_messages"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_MESSAGING_PRIVATE"
|
||||
type="component"
|
||||
element="com_messages"
|
||||
link="index.php?option=com_messages&view=messages"
|
||||
quicktask="index.php?option=com_messages&task=message.add"
|
||||
/>
|
||||
</menuitem>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_SYSTEM"
|
||||
type="component"
|
||||
element="com_cpanel"
|
||||
class="class:wrench"
|
||||
link="index.php?option=com_cpanel&view=cpanel&dashboard=system"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP"
|
||||
type="component"
|
||||
element="com_cpanel"
|
||||
class="class:info-circle"
|
||||
link="index.php?option=com_cpanel&view=cpanel&dashboard=help"
|
||||
/>
|
||||
</menu>
|
||||
172
administrator/components/com_menus/presets/help.xml
Normal file
172
administrator/components/com_menus/presets/help.xml
Normal file
@ -0,0 +1,172 @@
|
||||
<?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_HELP_PARENT_START_HERE"
|
||||
type="heading"
|
||||
icon="compass"
|
||||
permission="core.admin"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_JOOMLA"
|
||||
type="component"
|
||||
element="com_admin"
|
||||
link="index.php?option=com_admin&view=help"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_PARENT_FIND_HELP"
|
||||
type="heading"
|
||||
icon="question-circle"
|
||||
permission="core.admin"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_DOCUMENTATION"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://docs.joomla.org"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_SUPPORT_OFFICIAL_FORUM"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://forum.joomla.org"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_SUPPORT_OFFICIAL_LANGUAGE_FORUM"
|
||||
type="component"
|
||||
element="com_admin"
|
||||
target="_blank"
|
||||
link="index.php?option=com_admin&view=help&layout=langforum"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_XCHANGE"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://joomla.stackexchange.com"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_PARENT_MEET_JOOMLERS"
|
||||
type="heading"
|
||||
icon="users"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_RESOURCES"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://community.joomla.org/service-providers-directory/"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_EVENTS"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://community.joomla.org/events.html"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_USER_GROUPS"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://community.joomla.org/user-groups.html"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_PARENT_NEWS"
|
||||
type="heading"
|
||||
icon="bullhorn"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_COMMUNITY_NEWS"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://www.joomla.org/announcements.html"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_COMMUNITY_NEWSLETTER"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://community.joomla.org/general-newsletter.html"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_SECURITY"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://developer.joomla.org/security-centre.html"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_PARENT_RESOURCES"
|
||||
type="heading"
|
||||
icon="cloud-download-alt"
|
||||
permission="core.manage;com_installer"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_DEVELOPER"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://developer.joomla.org"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_TRANSLATIONS"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://downloads.joomla.org/language-packs"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_EXTENSIONS"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://extensions.joomla.org"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_SHOP"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://community.joomla.org/the-joomla-shop.html"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_PARENT_GET_INVOLVED"
|
||||
type="heading"
|
||||
icon="handshake"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_COMMUNITY"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://community.joomla.org"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_ISSUES_TRACKER"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://issues.joomla.org/"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_HELP_GITHUB"
|
||||
type="url"
|
||||
target="_blank"
|
||||
link="https://github.com/joomla/joomla-cms/"
|
||||
/>
|
||||
</menuitem>
|
||||
</menu>
|
||||
77
administrator/components/com_menus/presets/menu.xsd
Normal file
77
administrator/components/com_menus/presets/menu.xsd
Normal file
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema
|
||||
attributeFormDefault="unqualified" elementFormDefault="qualified"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:joomla.org"
|
||||
xmlns="urn:joomla.org">
|
||||
<xs:element name="menu" type="menuType"/>
|
||||
<xs:simpleType name="typeType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="component" />
|
||||
<xs:enumeration value="container" />
|
||||
<xs:enumeration value="heading" />
|
||||
<xs:enumeration value="separator" />
|
||||
<xs:enumeration value="url" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="elementType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="com_(.+)" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="scopeType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="default" />
|
||||
<xs:enumeration value="edit" />
|
||||
<xs:enumeration value="help" />
|
||||
<xs:enumeration value="massmail" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="trueFalse">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="true" />
|
||||
<xs:enumeration value="false"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="browserNavType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="_blank" />
|
||||
<xs:enumeration value=""/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="menuType">
|
||||
<xs:sequence>
|
||||
<xs:element type="menuitemType" name="menuitem" maxOccurs="unbounded" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="menuitemType" mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="params" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element type="menuitemType" name="menuitem" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
<xs:attribute type="typeType" name="type" use="required"/>
|
||||
<xs:attribute type="xs:string" name="title" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="link" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="class" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="icon" use="optional"/>
|
||||
<xs:attribute type="elementType" name="element" use="optional"/>
|
||||
<xs:attribute type="trueFalse" name="hidden" use="optional" default="false"/>
|
||||
<xs:attribute type="xs:string" name="sql_select" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="sql_from" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="sql_where" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="sql_leftjoin" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="sql_innerjoin" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="sql_group" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="sql_order" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="sql_target" use="optional"/>
|
||||
<xs:attribute type="browserNavType" name="target" use="optional" default=""/>
|
||||
<xs:attribute type="scopeType" name="scope" use="optional" default="default"/>
|
||||
<xs:attribute type="xs:string" name="permission" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="quicktask" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="quicktask-title" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="quicktask-icon" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="quicktask-permission" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="ajax-badge" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="dashboard" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
80
administrator/components/com_menus/presets/menus.xml
Normal file
80
administrator/components/com_menus/presets/menus.xml
Normal file
@ -0,0 +1,80 @@
|
||||
<?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_MENUS"
|
||||
type="heading"
|
||||
icon="list"
|
||||
class="class:list"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_MENU_MANAGER"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=menus"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MENUS_ALL_ITEMS"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype="
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<!--
|
||||
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"
|
||||
icon="desktop"
|
||||
hidden="false"
|
||||
sql_select="a.id, 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:', l.lang_code) 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, a.title, a.menutype, m.language, l.lang_code"
|
||||
sql_order="a.ordering ASC"
|
||||
sql_target="self"
|
||||
>
|
||||
<menuitem
|
||||
title="{sql:title} "
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype={sql:menutype}"
|
||||
icon="{sql:icon}"
|
||||
class="class:menu"
|
||||
quicktask="index.php?option=com_menus&task=item.add&menutype={sql:menutype}"
|
||||
quicktask-title="MOD_MENU_MENU_MANAGER_NEW_SITE_MENU_ITEM"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
type="separator"
|
||||
title="JADMINISTRATOR"
|
||||
icon="desktop"
|
||||
hidden="false"
|
||||
sql_select="title, menutype"
|
||||
sql_from="#__menu_types"
|
||||
sql_where="client_id = 1"
|
||||
sql_order="ordering ASC"
|
||||
sql_target="self"
|
||||
>
|
||||
<menuitem
|
||||
title="{sql:title}"
|
||||
type="component"
|
||||
element="com_menus"
|
||||
link="index.php?option=com_menus&view=items&menutype={sql:menutype}"
|
||||
class="class:menu"
|
||||
quicktask="index.php?option=com_menus&task=item.add&client_id=1&menutype={sql:menutype}"
|
||||
quicktask-title="MOD_MENU_MENU_MANAGER_NEW_ADMIN_MENU_ITEM"
|
||||
/>
|
||||
</menuitem>
|
||||
</menu>
|
||||
311
administrator/components/com_menus/presets/system.xml
Normal file
311
administrator/components/com_menus/presets/system.xml
Normal file
@ -0,0 +1,311 @@
|
||||
<?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_PARENT_SETUP"
|
||||
type="heading"
|
||||
icon="cog"
|
||||
permission="core.admin"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_CONFIGURATION"
|
||||
type="component"
|
||||
element="com_config"
|
||||
link="index.php?option=com_config"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MAINTAIN"
|
||||
type="heading"
|
||||
icon="tools"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_CLEAR_CACHE"
|
||||
type="component"
|
||||
element="com_cache"
|
||||
link="index.php?option=com_cache"
|
||||
permission="core.manage;com_cache"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_SYSTEM_INFORMATION_DATABASE"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=database"
|
||||
permission="core.manage;com_installer"
|
||||
ajax-badge="index.php?option=com_installer&task=database.getMenuBadgeData&format=json"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_GLOBAL_CHECKIN"
|
||||
type="component"
|
||||
element="com_checkin"
|
||||
link="index.php?option=com_checkin"
|
||||
permission="core.manage;com_checkin"
|
||||
ajax-badge="index.php?option=com_checkin&task=getMenuBadgeData&format=json"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INFORMATION"
|
||||
type="heading"
|
||||
icon="info-circle"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_INFORMATION_WARNINGS"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=warnings"
|
||||
permission="core.manage;com_installer"
|
||||
ajax-badge="index.php?option=com_installer&task=getMenuBadgeData&format=json"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INFORMATION_POST_INSTALL_MESSAGES"
|
||||
type="component"
|
||||
element="com_postinstall"
|
||||
link="index.php?option=com_postinstall"
|
||||
permission="core.manage;com_postinstall"
|
||||
ajax-badge="index.php?option=com_postinstall&task=getMenuBadgeData&format=json"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_SYSTEM_INFORMATION_SYSINFO"
|
||||
type="component"
|
||||
element="com_admin"
|
||||
link="index.php?option=com_admin&view=sysinfo"
|
||||
permission="core.admin"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALL"
|
||||
type="heading"
|
||||
icon="upload"
|
||||
permission="core.manage;com_installer"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALL_EXTENSIONS"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=install"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALL_DISCOVER"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=discover"
|
||||
ajax-badge="index.php?option=com_installer&task=discover.getMenuBadgeData&format=json"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_INSTALL_LANGUAGES"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=languages"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE"
|
||||
type="heading"
|
||||
icon="tasks"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_EXTENSIONS"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=manage"
|
||||
permission="core.manage;com_installer"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_LANGUAGES"
|
||||
type="component"
|
||||
element="com_languages"
|
||||
link="index.php?option=com_languages&view=installed"
|
||||
permission="core.manage;com_languages"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_LANGUAGES_CONTENT"
|
||||
type="component"
|
||||
element="com_languages"
|
||||
link="index.php?option=com_languages&view=languages"
|
||||
permission="core.manage;com_languages"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_LANGUAGES_OVERRIDES"
|
||||
type="component"
|
||||
element="com_languages"
|
||||
link="index.php?option=com_languages&view=overrides"
|
||||
permission="core.manage;com_languages"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_PLUGINS"
|
||||
type="component"
|
||||
element="com_plugins"
|
||||
link="index.php?option=com_plugins"
|
||||
permission="core.manage;com_plugins"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_REDIRECTS"
|
||||
type="component"
|
||||
element="com_redirect"
|
||||
link="index.php?option=com_redirect"
|
||||
permission="core.manage;com_redirect"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_GUIDEDTOURS"
|
||||
type="component"
|
||||
element="com_guidedtours"
|
||||
link="index.php?option=com_guidedtours&view=tours"
|
||||
permission="core.manage;com_guidedtours"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_MANAGE_SCHEDULED_TASKS"
|
||||
type="component"
|
||||
element="com_scheduler"
|
||||
link="index.php?option=com_scheduler&view=tasks"
|
||||
permission="core.manage;com_scheduler"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_SITE"
|
||||
type="component"
|
||||
element="com_modules"
|
||||
link="index.php?option=com_modules&view=modules&client_id=0"
|
||||
permission="core.manage;com_modules"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_ADMINISTRATOR"
|
||||
type="component"
|
||||
element="com_modules"
|
||||
link="index.php?option=com_modules&view=modules&client_id=1"
|
||||
permission="core.manage;com_modules"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_UPDATE"
|
||||
type="heading"
|
||||
icon="sync"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_UPDATE_JOOMLA"
|
||||
type="component"
|
||||
element="com_joomlaupdate"
|
||||
link="index.php?option=com_joomlaupdate"
|
||||
permission="core.manage;com_joomlaupdate"
|
||||
ajax-badge="index.php?option=com_joomlaupdate&task=getMenuBadgeData&format=json"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_UPDATE_EXTENSIONS"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=update"
|
||||
permission="core.manage;com_installer"
|
||||
ajax-badge="index.php?option=com_installer&task=update.getMenuBadgeData&format=json"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_UPDATE_SOURCES"
|
||||
type="component"
|
||||
element="com_installer"
|
||||
link="index.php?option=com_installer&view=updatesites"
|
||||
permission="core.manage;com_installer"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_TEMPLATES"
|
||||
type="heading"
|
||||
icon="paint-brush"
|
||||
permission="core.manage;com_templates"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_TEMPLATE_SITE_TEMPLATES"
|
||||
type="component"
|
||||
element="com_templates"
|
||||
link="index.php?option=com_templates&view=templates&client_id=0"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_TEMPLATE_SITE_STYLES"
|
||||
type="component"
|
||||
element="com_templates"
|
||||
link="index.php?option=com_templates&view=styles&client_id=0"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_TEMPLATE_ADMIN_TEMPLATES"
|
||||
type="component"
|
||||
element="com_templates"
|
||||
link="index.php?option=com_templates&view=templates&client_id=1"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_TEMPLATE_ADMIN_STYLES"
|
||||
type="component"
|
||||
element="com_templates"
|
||||
link="index.php?option=com_templates&view=styles&client_id=1"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_CONFIGURATION_MAILS"
|
||||
type="component"
|
||||
element="com_mails"
|
||||
link="index.php?option=com_mails&view=templates"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_ACCESS"
|
||||
type="heading"
|
||||
icon="key"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_ACCESS_GROUPS"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=groups"
|
||||
permission="core.manage;com_users"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_ACCESS_LEVELS"
|
||||
type="component"
|
||||
element="com_users"
|
||||
link="index.php?option=com_users&view=levels"
|
||||
permission="core.manage;com_users"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_ACCESS_SETTINGS"
|
||||
type="component"
|
||||
element="com_config"
|
||||
link="index.php?option=com_config#page-permissions"
|
||||
permission="core.manage"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_ACCESS_TEXT_FILTERS"
|
||||
type="component"
|
||||
element="com_config"
|
||||
link="index.php?option=com_config#page-filters"
|
||||
permission="core.manage"
|
||||
/>
|
||||
</menuitem>
|
||||
</menu>
|
||||
Reference in New Issue
Block a user