TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<typo3-backend-bookmark-menu></typo3-backend-bookmark-menu>
|
||||
@@ -0,0 +1,9 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:asset.module identifier="@typo3/backend/bookmark/toolbar/bookmark-menu-element.js"/>
|
||||
<span class="toolbar-item-icon" title="{f:translate(key: 'core.bookmarks:title')}" aria-hidden="true">
|
||||
<core:icon identifier="actions-bookmark" alternativeMarkupIdentifier="inline" />
|
||||
</span>
|
||||
<span class="toolbar-item-title">
|
||||
<f:translate key="core.bookmarks:title"/>
|
||||
</span>
|
||||
</html>
|
||||
@@ -0,0 +1,7 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:asset.module identifier="@typo3/backend/toolbar/clear-cache-menu.js"/>
|
||||
<f:render partial="ToolbarItems/ToolbarItem" arguments="{
|
||||
title: 'LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.clearCache',
|
||||
icon: '{core:icon(identifier: \'actions-bolt\', size: \'small\', alternativeMarkupIdentifier: \'inline\')}'
|
||||
}" />
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<p class="dropdown-headline"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.clearCache" /></p>
|
||||
<ul class="dropdown-list">
|
||||
<f:for each="{cacheActions}" as="cacheAction">
|
||||
<li>
|
||||
<button type="button" data-endpoint="{cacheAction.endpoint}" class="dropdown-item t3js-toolbar-cache-flush-action" aria-describedby="{cacheAction.id}-description">
|
||||
<span class="dropdown-item-columns">
|
||||
<span class="dropdown-item-column dropdown-item-column-icon {f:if(condition: cacheAction.severity, then: 'text-{cacheAction.severity}')}">
|
||||
<core:icon identifier="{cacheAction.iconIdentifier}" size="small" />
|
||||
</span>
|
||||
<span class="dropdown-item-column dropdown-item-column-text">
|
||||
<f:translate key="{cacheAction.title}" /><br>
|
||||
<small class="text-variant" aria-hidden="true">{f:translate(key: '{f:if(condition: cacheAction.description, then: cacheAction.description, else: cacheAction.title)}')}</small>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
<span id="{cacheAction.id}-description" class="visually-hidden">{f:translate(key: '{f:if(condition: cacheAction.description, then: cacheAction.description, else: cacheAction.title)}')}</span>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</html>
|
||||
@@ -0,0 +1,6 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:asset.module identifier="@typo3/backend/toolbar/clear-cache-menu.js"/>
|
||||
<button type="button" data-endpoint="{endpoint}" class="toolbar-item-link t3js-toolbar-cache-flush-action">
|
||||
<f:render partial="ToolbarItems/ToolbarItem" arguments="{title: title, icon: '{core:icon(identifier: iconIdentifier, size: \'small\')}'}"/>
|
||||
</button>
|
||||
</html>
|
||||
@@ -0,0 +1,14 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
|
||||
<f:asset.module identifier="@typo3/backend/live-search/toolbar/live-search-toolbar-item.js"/>
|
||||
<button
|
||||
class="toolbar-item-link t3js-topbar-button-search"
|
||||
aria-haspopup="dialog"
|
||||
>
|
||||
<f:render partial="ToolbarItems/ToolbarItem" arguments="{
|
||||
title: 'LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.search',
|
||||
icon: '{core:icon(identifier: \'actions-search\', size: \'small\', alternativeMarkupIdentifier: \'inline\')}'
|
||||
}" />
|
||||
</button>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,82 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<span data-systeminformation-data
|
||||
data-systeminformation-data-count="{count}"
|
||||
data-systeminformation-data-severitybadgeclass="{severityBadgeClass}"
|
||||
></span>
|
||||
|
||||
<p class="dropdown-headline"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.sysinfo"/></p>
|
||||
<p class="dropdown-item-text">
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.sysinfo.intro.text"/>
|
||||
<a href="#" data-moduleroute-identifier="system_environment">
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.sysinfo.intro.link"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<f:if condition="{systemInformation}">
|
||||
<table class="dropdown-table">
|
||||
<caption class="hidden">System overview</caption>
|
||||
<f:for each="{systemInformation}" as="info">
|
||||
<tr>
|
||||
<th data-type="title" scope="row">
|
||||
<f:if condition="{info.iconIdentifier}">
|
||||
<f:then>
|
||||
<core:icon identifier="{info.iconIdentifier}" size="small" alternativeMarkupIdentifier="inline" />
|
||||
</f:then>
|
||||
<f:else if="{info.icon}" >{info.icon -> f:format.raw()}</f:else>
|
||||
<f:else>
|
||||
<core:icon identifier="empty-empty" size="small" alternativeMarkupIdentifier="inline" />
|
||||
</f:else>
|
||||
</f:if>
|
||||
<f:translate key="{info.title}" default="{info.title}"/>
|
||||
<f:if condition="{info.titleAddition}"> ({info.titleAddition -> f:format.htmlspecialchars()})</f:if>
|
||||
</th>
|
||||
<f:if condition="{info.status}">
|
||||
<td data-type="status">
|
||||
<typo3-backend-status-indicator state="{info.status}"></typo3-backend-status-indicator>
|
||||
</td>
|
||||
</f:if>
|
||||
<td {f:if(condition: info.status, else: 'colspan="2"')} data-type="value">
|
||||
|
||||
{info.value}
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
</table>
|
||||
</f:if>
|
||||
|
||||
<hr class="dropdown-divider" aria-hidden="true">
|
||||
|
||||
<f:if condition="{messages -> f:count()} > 0">
|
||||
<f:then>
|
||||
<f:for each="{messages}" as="message">
|
||||
<div class="dropdown-row"
|
||||
data-systeminformation-message-module="{message.module}"
|
||||
data-systeminformation-message-params="{message.params}"
|
||||
data-systeminformation-message-count="{message.count}"
|
||||
data-systeminformation-message-status="{message.status}"
|
||||
>
|
||||
<div>
|
||||
<span class="text-{message.status}">
|
||||
<core:icon identifier="actions-exclamation-circle-alt" />
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<f:format.raw>{message.text}</f:format.raw>
|
||||
</div>
|
||||
</div>
|
||||
</f:for>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="dropdown-row">
|
||||
<div>
|
||||
<span class="text-success">
|
||||
<core:icon identifier="actions-check-circle-alt" />
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<f:format.nl2br><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.sysinfo.allgood" /></f:format.nl2br>
|
||||
</div>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,8 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:asset.module identifier="@typo3/backend/toolbar/system-information-menu.js"/>
|
||||
<f:render partial="ToolbarItems/ToolbarItem" arguments="{
|
||||
title: 'LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.sysinfo',
|
||||
icon: '{core:icon(identifier: \'actions-info-circle\', size: \'small\', alternativeMarkupIdentifier: \'inline\')}'
|
||||
}" />
|
||||
<span class="toolbar-item-badge badge badge-pill badge-warning hidden" data-systeminformation-badge></span>
|
||||
</html>
|
||||
@@ -0,0 +1,19 @@
|
||||
<html xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<span class="toolbar-item-avatar"><be:avatar backendUser="{currentUser.uid}" size="24"/></span>
|
||||
<f:if condition="{switchUserMode}">
|
||||
<f:then>
|
||||
<span
|
||||
class="toolbar-item-name"
|
||||
title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.user.account.switchToUserMode.tooltip')} {currentUser.username}"
|
||||
>
|
||||
{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.user.account.switchToUserMode.account.prefix')}
|
||||
{f:if(condition: '{currentUser.realName}', then: '{currentUser.realName} ({currentUser.username})', else: '{currentUser.username}')}
|
||||
</span>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<span class="toolbar-item-name" title="{username}">
|
||||
{f:if(condition: '{currentUser.realName}', then: '{currentUser.realName}', else: '{currentUser.username}')}
|
||||
</span>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,127 @@
|
||||
<html
|
||||
xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
|
||||
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
<f:asset.module identifier="@typo3/backend/switch-user.js"/>
|
||||
<f:asset.module identifier="@typo3/backend/color-scheme-switch.js"/>
|
||||
<p class="dropdown-headline">{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.user')}</p>
|
||||
<f:if condition="{modules}">
|
||||
<ul class="dropdown-list">
|
||||
<f:for each="{modules}" as="module">
|
||||
<li>
|
||||
<a
|
||||
href="{f:if(condition: module.path, then: '{f:be.uri(route: module.identifier)}', else: '#')}"
|
||||
title="{f:translate(key: module.description, default: module.description)}"
|
||||
class="dropdown-item"
|
||||
role="menuitem"
|
||||
data-moduleroute-identifier="{module.identifier}"
|
||||
>
|
||||
<span class="dropdown-item-columns">
|
||||
<span class="dropdown-item-column dropdown-item-column-icon" aria-hidden="true">
|
||||
<core:icon identifier="{module.iconIdentifier}" size="small" alternativeMarkupIdentifier="inline"/>
|
||||
</span>
|
||||
<span class="dropdown-item-column dropdown-item-column-title">
|
||||
<f:translate key="{module.title}">{module.title}</f:translate>
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:if>
|
||||
<p class="dropdown-headline" id="help-dropdown-headline"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.help" /></p>
|
||||
<f:if condition="{helpModules}">
|
||||
<ul class="dropdown-list">
|
||||
<f:for each="{helpModules}" as="module">
|
||||
<li>
|
||||
<a
|
||||
href="{f:if(condition: module.path, then: '{f:be.uri(route: module.identifier)}', else: '#')}"
|
||||
title="{f:translate(key: module.description, default: module.description)}"
|
||||
class="dropdown-item"
|
||||
role="menuitem"
|
||||
data-moduleroute-identifier="{module.identifier}"
|
||||
>
|
||||
<span class="dropdown-item-columns">
|
||||
<span class="dropdown-item-column dropdown-item-column-icon" aria-hidden="true">
|
||||
<core:icon identifier="{module.iconIdentifier}" size="small" alternativeMarkupIdentifier="inline"/>
|
||||
</span>
|
||||
<span class="dropdown-item-column dropdown-item-column-title">
|
||||
<f:translate key="{module.title}">{module.title}</f:translate>
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</f:for>
|
||||
<li>
|
||||
<a
|
||||
class="dropdown-item"
|
||||
role="menuitem"
|
||||
href="https://docs.typo3.org/" target="_blank" rel="noreferrer">
|
||||
<span class="dropdown-item-columns">
|
||||
<span class="dropdown-item-column dropdown-item-column-icon" aria-hidden="true">
|
||||
<core:icon identifier="module-documentation" size="small" alternativeMarkupIdentifier="inline" />
|
||||
</span>
|
||||
<span class="dropdown-item-column dropdown-item-column-title">
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:onlineDocumentation">TYPO3 Online Documentation</f:translate>
|
||||
<span class="visually-hidden">(<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:opensInANewWindow" />)</span>
|
||||
</span>
|
||||
<core:icon identifier="actions-window-open" />
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</f:if>
|
||||
<f:if condition="{f:count(subject: recentUsers)} > 0">
|
||||
<hr class="dropdown-divider" aria-hidden="true">
|
||||
<p class="dropdown-header"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.user.recentlySwitchedUsers" /></p>
|
||||
<ul class="modulemenu-group-container">
|
||||
<f:for each="{recentUsers}" as="user">
|
||||
<li>
|
||||
<typo3-backend-switch-user
|
||||
class="dropdown-item"
|
||||
mode="switch"
|
||||
targetUser="{user.uid}"
|
||||
title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.user.recentlySwitchedUsers.su.tooltip', arguments: '{0: user.username}')}"
|
||||
>
|
||||
<span class="dropdown-item-columns">
|
||||
<span class="dropdown-item-column dropdown-item-column-icon" aria-hidden="true">
|
||||
<be:avatar backendUser="{user.uid}" size="16" />
|
||||
</span>
|
||||
<span class="dropdown-item-column dropdown-item-column-title">
|
||||
{f:if(condition: user.realName, then: user.realName, else: user.username)}
|
||||
</span>
|
||||
</span>
|
||||
</typo3-backend-switch-user>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:if>
|
||||
<f:if condition="{colorSchemeSwitchEnabled}">
|
||||
<hr class="dropdown-divider" aria-hidden="true">
|
||||
<typo3-backend-color-scheme-switch
|
||||
togglelabel="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:toggleColorScheme')}"
|
||||
disabledlabel="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:colorSchemeToggleDisabled')}"
|
||||
colorschemes="{colorSchemes -> f:format.json()}" activeColorScheme="{activeColorScheme}"
|
||||
></typo3-backend-color-scheme-switch>
|
||||
</f:if>
|
||||
<hr class="dropdown-divider" aria-hidden="true">
|
||||
<f:if condition="{switchUserMode}">
|
||||
<f:then>
|
||||
<div class="dropdown-item-text">
|
||||
<typo3-backend-switch-user class="btn btn-sm btn-default" mode="exit">
|
||||
<core:icon identifier="actions-logout" size="small" alternativeMarkupIdentifier="inline"/>
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.user.btn.exitSwitchUser" />
|
||||
</typo3-backend-switch-user>
|
||||
</div>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="dropdown-item-text">
|
||||
<f:be.link route="logout" class="btn btn-sm btn-default" target="_top">
|
||||
<core:icon identifier="actions-logout" size="small" alternativeMarkupIdentifier="inline"/>
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.user.btn.logout" />
|
||||
</f:be.link>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</html>
|
||||
Reference in New Issue
Block a user