first commit
This commit is contained in:
commit
1218dd1517
12716 files changed
+989233
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
|
||||
<file t3:id="1520838123" source-language="en" datatype="plaintext" original="EXT:adminpanel/Resources/Private/Language/locallang.xlf" date="2018-03-31T08:08:00Z"
|
||||
product-name="adminpanel">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="deprecatedModuleLabel" resname="deprecatedModuleLabel">
|
||||
<source>General</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="settings.label" resname="settings.label">
|
||||
<source>Settings</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="settings.updateButtonLabel" resname="settings.updateButtonLabel">
|
||||
<source>Update Settings</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="button.close" resname="button.close">
|
||||
<source>Close</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="button.view" resname="button.view">
|
||||
<source>View</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
|
||||
<file t3:id="1520862804" source-language="en" datatype="plaintext" original="EXT:adminpanel/Resources/Private/Language/locallang_cache.xlf" date="2018-03-12T13:52:00Z"
|
||||
product-name="adminpanel">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="module.label" resname="module.label">
|
||||
<source>Cache</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="cache.no_cache" resname="cache.no_cache">
|
||||
<source>No caching</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="cache.clear_current" resname="cache.clear_current">
|
||||
<source>Clear cache of current page</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="cache.clear_pages" resname="cache.clear_pages">
|
||||
<source>Clear frontend cache</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
|
||||
<file t3:id="1521629231" source-language="en" datatype="plaintext" original="EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf" date="2018-03-21T11:47:00Z"
|
||||
product-name="adminpanel">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="module.label" resname="module.label">
|
||||
<source>Debug</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="module.shortinfo" resname="module.shortinfo">
|
||||
<source>(%s Errors/Warnings)</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.log.label" resname="submodule.log.label">
|
||||
<source>Log</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.log.message" resname="submodule.log.message">
|
||||
<source>Log Message</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.log.component" resname="submodule.log.component">
|
||||
<source>Component</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.log.level" resname="submodule.log.level">
|
||||
<source>Level</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.log.groupByComponent" resname="submodule.log.groupByComponent">
|
||||
<source>Group by Component</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.log.groupByLevel" resname="submodule.log.groupByLevel">
|
||||
<source>Group by Level</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.log.startLevel" resname="submodule.log.startLevel">
|
||||
<source>Display only levels equal or higher to</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.log.noEntries" resname="submodule.log.noEntries">
|
||||
<source>No log entries.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.queryInformation.label" resname="submodule.queryInformation.label">
|
||||
<source>Query Information</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.queryInformation.query" resname="submodule.queryInformation.query">
|
||||
<source>Query</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.queryInformation.queries" resname="submodule.queryInformation.queries">
|
||||
<source>Queries</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.queryInformation.backtrace" resname="submodule.queryInformation.backtrace">
|
||||
<source>Backtrace</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.queryInformation.doctrineDebug" resname="submodule.queryInformation.doctrineDebug">
|
||||
<source>SQL Debug</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.queryInformation.sqlQuery" resname="submodule.queryInformation.sqlQuery">
|
||||
<source>SQL Query</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.queryInformation.queryCount" resname="submodule.queryInformation.queryCount">
|
||||
<source>Count</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="submodule.queryInformation.queryTime" resname="submodule.queryInformation.queryTime">
|
||||
<source>Total Time [ms]</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
|
||||
<file t3:id="1521629227" source-language="en" datatype="plaintext" original="EXT:adminpanel/Resources/Private/Language/locallang_edit.xlf" date="2018-03-21T11:47:00Z"
|
||||
product-name="adminpanel">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="module.label" resname="module.label">
|
||||
<source>Edit</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="displayFieldIcons" resname="displayFieldIcons">
|
||||
<source>Display edit icons</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="displayIcons" resname="displayIcons">
|
||||
<source>Display edit panels</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="openAB" resname="openAB">
|
||||
<source>Open TYPO3 Backend</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
|
||||
<file t3:id="1520862805" source-language="en" datatype="plaintext" original="EXT:adminpanel/Resources/Private/Language/locallang_info.xlf" date="2018-03-12T13:52:01Z" product-name="adminpanel">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="module.label" resname="module.label">
|
||||
<source>Info</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="module.shortinfo" resname="module.shortinfo">
|
||||
<source>(Load Time: %s ms)</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="imagesOnPage" resname="imagesOnPage">
|
||||
<source>Images on this page</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="imagesSize" resname="imagesSize">
|
||||
<source>Total image file sizes</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="DocumentSize" resname="DocumentSize">
|
||||
<source>Document size</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="pageUid" resname="pageUid">
|
||||
<source>Page Uid</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="pageType" resname="pageType">
|
||||
<source>Page type</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="groupList" resname="groupList">
|
||||
<source>Frontenduser group combination</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="noCache" resname="noCache">
|
||||
<source>Page cached</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="noCache_yes" resname="noCache_yes">
|
||||
<source>Yes</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="noCache_no" resname="noCache_no">
|
||||
<source>No</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="countUserInt" resname="countUserInt">
|
||||
<source>Count of USER_INT objects</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="feuserName" resname="feuserName">
|
||||
<source>Name of logged in FE-User</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="feuserId" resname="feuserId">
|
||||
<source>Id of logged in FE-User</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="totalParsetime" resname="totalParsetime">
|
||||
<source>Total parsetime</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="key" resname="key">
|
||||
<source>Key</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="value" resname="value">
|
||||
<source>Value</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sub.general.label" resname="sub.general.label">
|
||||
<source>General</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sub.php.label" resname="sub.php.label">
|
||||
<source>PHP</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sub.request.label" resname="sub.request.label">
|
||||
<source>REQUEST</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
|
||||
<file t3:id="1520838433" source-language="en" datatype="plaintext" original="EXT:adminpanel/Resources/Private/Language/locallang_preview.xlf" date="2018-03-13T08:08:00Z"
|
||||
product-name="adminpanel">
|
||||
<header/>
|
||||
|
||||
<body>
|
||||
<trans-unit id="module.label" resname="module.label">
|
||||
<source>Preview</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="showHiddenPages" resname="showHiddenPages">
|
||||
<source>Show hidden pages</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="showHiddenRecords" resname="showHiddenRecords">
|
||||
<source>Show hidden records</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="showFluidDebug" resname="showFluidDebug">
|
||||
<source>Show fluid debug output</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="simulateDate" resname="simulateDate">
|
||||
<source>Simulate time</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="simulateUserGroup" resname="simulateUserGroup">
|
||||
<source>Simulate user group</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
|
||||
<file t3:id="1521103145" source-language="en" datatype="plaintext" original="EXT:adminpanel/Resources/Private/Language/locallang_tsdebug.xlf" date="2018-03-15T09:39:00Z" product-name="adminpanel">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="module.label" resname="module.label">
|
||||
<source>TypoScript</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="module.shortinfo" resname="module.shortinfo">
|
||||
<source>(%s Messages)</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="treeDisplay" resname="treeDisplay">
|
||||
<source>Tree display</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="displayTimes" resname="displayTimes">
|
||||
<source>Display all times</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="displayMessages" resname="displayMessages">
|
||||
<source>Display messages</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="displayContent" resname="displayContent">
|
||||
<source>Display content</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="trackContentRendering" resname="trackContentRendering">
|
||||
<source>Track content rendering</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="forceTemplateParsing" resname="forceTemplateParsing">
|
||||
<source>Force TS Rendering</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sub.waterfall.label" resname="sub.waterfall.label">
|
||||
<source>TS Tree</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,41 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<!-- TYPO3 admin panel start -->
|
||||
<f:format.raw>{resources.css}</f:format.raw>
|
||||
<f:format.raw>{resources.js}</f:format.raw>
|
||||
<f:if condition="{adminPanelActive}">
|
||||
<f:format.raw>{moduleResources.css}</f:format.raw>
|
||||
<f:format.raw>{moduleResources.js}</f:format.raw>
|
||||
</f:if>
|
||||
<form id="TSFE_ADMIN_PANEL_FORM" data-typo3-role="typo3-adminPanel" data-typo3-ajax-url="{saveUrl}" class="typo3-kidjls9dksoje typo3-adminPanel{f:if(condition: adminPanelActive, then: ' typo3-adminPanel-active')}">
|
||||
|
||||
<div class="typo3-adminPanel-bar">
|
||||
<div class="typo3-adminPanel-module typo3-adminPanel-module-logo">
|
||||
<div class="typo3-adminPanel-module-trigger">
|
||||
<span class="typo3-adminPanel-module-trigger-icon"><core:icon identifier="information-typo3-version" alternativeMarkupIdentifier="inline"/></span>
|
||||
</div>
|
||||
</div>
|
||||
<f:if condition="{adminPanelActive}">
|
||||
<div class="typo3-adminPanel-module-group">
|
||||
<f:render section="Module" debug="false"/>
|
||||
</div>
|
||||
<f:render section="Settings" debug="false"/>
|
||||
</f:if>
|
||||
<div class="typo3-adminPanel-module typo3-adminPanel-module-toggle">
|
||||
<div class="typo3-adminPanel-module-trigger" data-typo3-role="typo3-adminPanel-trigger" data-typo3-ajax-url="{toggleActiveUrl}">
|
||||
<span class="typo3-adminPanel-module-trigger-icon">
|
||||
<f:if condition="{adminPanelActive}">
|
||||
<f:then>
|
||||
<core:icon identifier="actions-edit-hide" alternativeMarkupIdentifier="inline"/>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<core:icon identifier="actions-edit-unhide" alternativeMarkupIdentifier="inline"/>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<!-- TYPO3 admin panel end -->
|
||||
</html>
|
||||
@@ -0,0 +1,43 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:adm="http://typo3.org/ns/TYPO3/CMS/Adminpanel/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{data}">
|
||||
<f:if condition="{label}">
|
||||
<h2 class="typo3-adminPanel-headline">{label}</h2>
|
||||
</f:if>
|
||||
<div class="typo3-adminPanel-table-overflow">
|
||||
<table class="typo3-adminPanel-table typo3-adminPanel-table-debug">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:key"/></th>
|
||||
<th scope="col"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:value"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<f:for each="{data}" as="val" key="key">
|
||||
<tr>
|
||||
<th scope="row" class="typo3-adminPanel-table-cell-key">
|
||||
<f:translate key="{key}" default="{key}" extensionName="adminpanel"/>
|
||||
</th>
|
||||
<td>
|
||||
<f:variable name="typeClass" value="string" />
|
||||
<f:if condition="{val as integer} === {val}"><f:variable name="typeClass" value="integer" /></f:if>
|
||||
<f:if condition="{val as float} === {val}"><f:variable name="typeClass" value="float" /></f:if>
|
||||
<f:if condition="{adm:isArray(value: val)}"><f:variable name="typeClass" value="array" /></f:if>
|
||||
<f:switch expression="{typeClass}">
|
||||
<f:case value="string">
|
||||
<pre class="typo3-adminPanel-dump typo3-adminPanel-dump-{typeClass}"><f:if condition="{val}"><f:translate key="{val}" default="{val}" extensionName="adminpanel"/></f:if></pre>
|
||||
</f:case>
|
||||
<f:case value="array">
|
||||
<f:render partial="Data/TableKeyValue" arguments="{data: val}" />
|
||||
</f:case>
|
||||
<f:defaultCase>
|
||||
<pre class="typo3-adminPanel-dump typo3-adminPanel-dump-{typeClass}">{val}</pre>
|
||||
</f:defaultCase>
|
||||
</f:switch>
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{label} && {name}">
|
||||
<div class="typo3-adminPanel-form-group typo3-adminPanel-form-group-checkbox">
|
||||
<div class="typo3-adminPanel-form-checkbox">
|
||||
<input type="hidden" name="TSFE_ADMIN_PANEL[{name}]" value="0"/>
|
||||
<input type="checkbox" id="{name}" name="TSFE_ADMIN_PANEL[{name}]" value="1" class="typo3-adminPanel-form-checkbox-input"{f:if(condition: value, then:' checked="checked"')} />
|
||||
<label for="{name}" class="typo3-adminPanel-form-checkbox-label">
|
||||
<f:translate key="{label}" default="{label}" extensionName="adminpanel"/>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,16 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{label} && {name}">
|
||||
<div class="typo3-adminPanel-form-group">
|
||||
<div class="typo3-adminPanel-form-datetime">
|
||||
<label for="{name}" class="typo3-adminPanel-form-datetime-label">
|
||||
<f:translate key="{label}" default="{label}" extensionName="adminpanel"/>
|
||||
</label>
|
||||
<div class="typo3-adminPanel-form-datetime-input-group">
|
||||
<input type="date" id="{name}-date-hr" class="typo3-adminPanel-form-datetime-input" data-target="{name}"/>
|
||||
<input type="time" id="{name}-time-hr" class="typo3-adminPanel-form-datetime-input" data-target="{name}"/>
|
||||
</div>
|
||||
<input type="hidden" name="TSFE_ADMIN_PANEL[{name}]" id="{name}" value="{value}" />
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,5 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{name}">
|
||||
<input type="hidden" name="TSFE_ADMIN_PANEL[{name}]" value="{value}"/>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,19 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{label} && {name}">
|
||||
<div class="typo3-adminPanel-form-group">
|
||||
<div class="typo3-adminPanel-form-select">
|
||||
<label for="{name}" class="typo3-adminPanel-form-select-label">
|
||||
<f:translate key="{label}" default="{label}" extensionName="adminpanel"/>
|
||||
</label>
|
||||
<select name="TSFE_ADMIN_PANEL[{name}]" id="{name}" class="typo3-adminPanel-form-select-input">
|
||||
<option value="0"></option>
|
||||
<f:for each="{options}" as="option">
|
||||
<option value="{option.{optionValue}}" {f:if(condition:'{option.{optionValue}} == {value}', then: 'selected')}>
|
||||
{option.{optionLabel}}
|
||||
</option>
|
||||
</f:for>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,71 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
|
||||
xmlns:adm="http://typo3.org/ns/TYPO3/CMS/Adminpanel/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true">
|
||||
<div class="typo3-adminPanel-module{f:if(condition: uid, then: ' typo3-adminPanel-module-{uid}')}">
|
||||
<div class="typo3-adminPanel-module-trigger" data-typo3-role="typo3-adminPanel-module-trigger">
|
||||
<f:if condition="{icon}"><span class="typo3-adminPanel-module-trigger-icon">{icon -> f:format.raw()}</span></f:if>
|
||||
<f:if condition="{label}"><span class="typo3-adminPanel-module-trigger-label">{label}</span></f:if>
|
||||
<f:if condition="{information}"><span class="typo3-adminPanel-module-trigger-information">{information}</span></f:if>
|
||||
</div>
|
||||
<f:if condition="{mainContent} || {module.subModules}">
|
||||
<div class="typo3-adminPanel-content" data-typo3-role="typo3-adminPanel-content">
|
||||
<div class="typo3-adminPanel-content-header">
|
||||
<div class="typo3-adminPanel-content-header-item typo3-adminPanel-content-header-title">
|
||||
<f:if condition="{icon}"><span class="typo3-adminPanel-content-header-title-icon">{icon -> f:format.raw()}</span></f:if>
|
||||
<f:if condition="{label}"><span class="typo3-adminPanel-content-header-title-label">{label}</span></f:if>
|
||||
</div>
|
||||
<div class="typo3-adminPanel-content-nav" data-typo3-role="typo3-adminPanel-content-tabs">
|
||||
<f:for each="{module.subModules}" as="sub" iteration="iteration">
|
||||
<a href="#" class="typo3-adminPanel-content-header-item{f:if(condition: iteration.isFirst, then: ' typo3-adminPanel-content-header-item-active')}" data-typo3-role="typo3-adminPanel-content-tab" data-typo3-tab-target="{sub.identifier}">{sub.label}</a>
|
||||
</f:for>
|
||||
</div>
|
||||
<f:if condition="{module.submoduleSettings}">
|
||||
<button type="button" class="typo3-adminPanel-content-header-item typo3-adminPanel-content-header-settings" data-typo3-role="typo3-adminPanel-content-settings">
|
||||
<core:icon identifier="actions-system-extension-configure" alternativeMarkupIdentifier="inline"/>
|
||||
</button>
|
||||
</f:if>
|
||||
<button type="button" class="typo3-adminPanel-content-header-item typo3-adminPanel-content-header-close" data-typo3-role="typo3-adminPanel-content-close">
|
||||
<core:icon identifier="actions-close" alternativeMarkupIdentifier="inline"/>
|
||||
</button>
|
||||
</div>
|
||||
<f:if condition="{module.submoduleSettings}">
|
||||
<div class="typo3-adminPanel-content-settings">
|
||||
<f:for each="{module.subModules}" as="sub">
|
||||
<f:if condition="{sub.settings}">
|
||||
<div class="typo3-adminPanel-content-settings-group">
|
||||
<h4 class="typo3-adminPanel-headline">{sub.label} <f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.label"/></h4>
|
||||
<f:format.raw>
|
||||
{sub.settings}
|
||||
</f:format.raw>
|
||||
</div>
|
||||
</f:if>
|
||||
</f:for>
|
||||
<div class="typo3-adminPanel-form-group">
|
||||
<f:form.button class="typo3-adminPanel-btn typo3-adminPanel-btn-primary" data="{typo3-role: 'typo3-adminPanel-saveButton'}"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.updateButtonLabel"/></f:form.button>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
<div class="typo3-adminPanel-content-main">
|
||||
<f:if condition="{mainContent}">
|
||||
<f:then>
|
||||
{mainContent -> f:format.raw()}
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="typo3-adminPanel-content-panes">
|
||||
<f:for each="{module.subModules}" as="sub" iteration="subModulesIterator">
|
||||
<div class="typo3-adminPanel-content-panes-item{f:if(condition:'{subModulesIterator.isFirst}',then:' typo3-adminPanel-content-panes-item-active')}" data-typo3-role="typo3-adminPanel-content-pane" data-typo3-tab-id="{sub.identifier}">
|
||||
<f:if condition="{sub.label}"><h1 class="typo3-adminPanel-headline">{sub.label}</h1></f:if>
|
||||
<f:format.raw>
|
||||
<adm:subModuleRender data="{data}" module="{sub}"/>
|
||||
</f:format.raw>
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</div>
|
||||
</html>
|
||||
@@ -0,0 +1,52 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:layout name="Default"/>
|
||||
<f:section name="Module">
|
||||
<f:for each="{parentModules}" as="module" iteration="iteration">
|
||||
<f:variable name="uid">{iteration.index}</f:variable>
|
||||
<f:variable name="icon"><core:icon identifier="{module.iconIdentifier}" alternativeMarkupIdentifier="inline"/></f:variable>
|
||||
<f:variable name="label">{module.label}</f:variable>
|
||||
<f:variable name="information">{module.shortInfo}</f:variable>
|
||||
<f:render partial="Modules/Item" arguments="{module: module, uid: uid, icon: icon, label: label, information: information, data: data}" debug="false"/>
|
||||
</f:for>
|
||||
|
||||
<f:if condition="{hookObjectModuleContent}">
|
||||
<f:variable name="uid">hook</f:variable>
|
||||
<f:variable name="icon"><core:icon identifier="actions-window-open" alternativeMarkupIdentifier="inline"/></f:variable>
|
||||
<f:variable name="label"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:deprecatedModuleLabel"/></f:variable>
|
||||
<f:variable name="mainContent">{hookObjectModuleContent}</f:variable>
|
||||
<f:render partial="Modules/Item" arguments="{uid: uid, icon: icon, label: label, mainContent: mainContent, data: data}}" debug="false"/>
|
||||
</f:if>
|
||||
|
||||
</f:section>
|
||||
<f:section name="Settings">
|
||||
|
||||
<f:variable name="uid">settings</f:variable>
|
||||
<f:variable name="icon"><core:icon identifier="actions-system-extension-configure" alternativeMarkupIdentifier="inline"/></f:variable>
|
||||
<f:variable name="label"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.label"/></f:variable>
|
||||
<f:variable name="information">{module.shortInfo}</f:variable>
|
||||
<f:variable name="mainContent">
|
||||
<h1 class="typo3-adminPanel-headline"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.label"/></h1>
|
||||
<div class="typo3-adminPanel-card-group">
|
||||
<f:for each="{settingsModules}" as="module">
|
||||
<f:if condition="{module.pageSettings}">
|
||||
<div class="typo3-adminPanel-card">
|
||||
<div class="typo3-adminPanel-card-header">
|
||||
<h2 class="typo3-adminPanel-card-header-headline">
|
||||
<span class="typo3-adminPanel-card-header-icon"><core:icon identifier="{module.iconIdentifier}" alternativeMarkupIdentifier="inline"/></span>
|
||||
<span class="typo3-adminPanel-card-header-text">{module.label}</span>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="typo3-adminPanel-card-body"><f:format.raw>{module.pageSettings}</f:format.raw></div>
|
||||
</div>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</div>
|
||||
<div class="typo3-adminPanel-form-group">
|
||||
<button data-typo3-role="typo3-adminPanel-saveButton" class="typo3-adminPanel-btn typo3-adminPanel-btn-primary">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.updateButtonLabel"/>
|
||||
</button>
|
||||
</div>
|
||||
</f:variable>
|
||||
<f:render partial="Modules/Item" arguments="{uid: uid, icon: icon, label: label, information: information, mainContent: mainContent, data: data}" debug="false"/>
|
||||
</f:section>
|
||||
</html>
|
||||
@@ -0,0 +1,130 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:adm="http://typo3.org/ns/TYPO3/CMS/Adminpanel/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{log}">
|
||||
<f:then>
|
||||
<f:if condition="{groupByComponent} && {groupByLevel}">
|
||||
<f:then>
|
||||
<f:for each="{log}" as="entriesByLogLevel" key="component">
|
||||
<h2 class="typo3-adminPanel-headline">{component}</h2>
|
||||
<f:for each="{entriesByLogLevel}" as="entries" key="logLevel">
|
||||
<h3 class="typo3-adminPanel-headline">{logLevel}</h3>
|
||||
<div class="typo3-adminPanel-table-overflow">
|
||||
<table class="typo3-adminPanel-table typo3-adminPanel-table-debug">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.message"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<f:for each="{entries}" as="entry">
|
||||
<tr>
|
||||
<td>
|
||||
{entry.message}
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</f:for>
|
||||
</f:for>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:if condition="{groupByComponent} || {groupByLevel}">
|
||||
<f:then>
|
||||
<f:for each="{log}" as="entries" key="headline">
|
||||
<h2 class="typo3-adminPanel-headline">{headline}</h2>
|
||||
<div class="typo3-adminPanel-table-overflow">
|
||||
<table class="typo3-adminPanel-table typo3-adminPanel-table-debug">
|
||||
<thead>
|
||||
<tr>
|
||||
<f:if condition="{groupByComponent}">
|
||||
<f:then>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.level"/>
|
||||
</th>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.component"/>
|
||||
</th>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.message"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<f:for each="{entries}" as="entry">
|
||||
<tr>
|
||||
<f:if condition="{groupByComponent}">
|
||||
<f:then>
|
||||
<td>
|
||||
<adm:speakingLogLevel level="{entry.level}" />
|
||||
</td>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<td>
|
||||
{entry.component}
|
||||
</td>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<td>
|
||||
{entry.message}
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</f:for>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="typo3-adminPanel-table-overflow">
|
||||
<table class="typo3-adminPanel-table typo3-adminPanel-table-debug">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.level"/>
|
||||
</th>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.component"/>
|
||||
</th>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.message"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<f:for each="{log}" as="entry">
|
||||
<tr>
|
||||
<td>
|
||||
<adm:speakingLogLevel level="{entry.level}" />
|
||||
</td>
|
||||
<td>
|
||||
{entry.component}
|
||||
</td>
|
||||
<td>
|
||||
{entry.message}
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="typo3-adminPanel-message typo3-adminPanel-message-info">
|
||||
<div class="typo3-adminPanel-message-text">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.noEntries"/>
|
||||
</div>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,29 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:render
|
||||
partial="Form/Checkbox"
|
||||
arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.groupByComponent',
|
||||
name: 'debug_log_groupByComponent',
|
||||
value: groupByComponent
|
||||
}"
|
||||
debug="false"/>
|
||||
<f:render
|
||||
partial="Form/Checkbox"
|
||||
arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.groupByLevel',
|
||||
name: 'debug_log_groupByLevel',
|
||||
value: groupByLevel
|
||||
}"
|
||||
debug="false"/>
|
||||
<f:render
|
||||
partial="Form/Select"
|
||||
arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.log.startLevel',
|
||||
name: 'debug_log_startLevel',
|
||||
options: levels,
|
||||
optionValue: 'level',
|
||||
optionLabel: 'levelName',
|
||||
value: startLevel
|
||||
}"
|
||||
debug="false"/>
|
||||
</html>
|
||||
+95
@@ -0,0 +1,95 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<div class="typo3-adminPanel-sql">
|
||||
<div class="typo3-adminPanel-row typo3-adminPanel-row-nowrap typo3-adminPanel-sql-header">
|
||||
<div class="typo3-adminPanel-col typo3-adminPanel-col-icon"></div>
|
||||
<div class="typo3-adminPanel-col typo3-adminPanel-col-ellipsis typo3-adminPanel-col-auto">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.queryInformation.sqlQuery"/>
|
||||
</div>
|
||||
<div class="typo3-adminPanel-col typo3-adminPanel-sql-col-count">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.queryInformation.queryCount"/>
|
||||
</div>
|
||||
<div class="typo3-adminPanel-col typo3-adminPanel-sql-col-time">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.queryInformation.queryTime"/>
|
||||
</div>
|
||||
</div>
|
||||
<f:for each="{queries}" as="queryCollection" iteration="queryCollectionIteration">
|
||||
<div class="typo3-adminPanel-row typo3-adminPanel-row-nowrap">
|
||||
<div class="typo3-adminPanel-col typo3-adminPanel-col-icon">
|
||||
<a href="#" title="{f:translate(key:'LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:button.view')}" data-typo3-zoom-target="queryCollection-{queryCollectionIteration.index}">
|
||||
<core:icon identifier="actions-document-view" alternativeMarkupIdentifier="inline"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="typo3-adminPanel-col typo3-adminPanel-col-ellipsis typo3-adminPanel-col-auto">
|
||||
{queryCollection.sql}
|
||||
</div>
|
||||
<div class="typo3-adminPanel-col typo3-adminPanel-sql-col-count">{queryCollection.count}</div>
|
||||
<div class="typo3-adminPanel-col typo3-adminPanel-sql-col-time">
|
||||
<div class="typo3-adminPanel-progress">
|
||||
<div class="typo3-adminPanel-progress-bar" style="width:{queryCollection.time / totalTime * 100}%;"></div>
|
||||
<div class="typo3-adminPanel-progress-value"><f:format.number decimals="2">{queryCollection.time}</f:format.number></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="typo3-adminPanel-zoom" data-typo3-zoom-id="queryCollection-{queryCollectionIteration.index}">
|
||||
<div class="typo3-adminPanel-zoom-header">
|
||||
<button class="typo3-adminPanel-btn" data-typo3-zoom-close="true">
|
||||
{f:translate(key:'LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:button.close')}
|
||||
</button>
|
||||
</div>
|
||||
<div class="typo3-adminPanel-zoom-body">
|
||||
<h3 class="typo3-adminPanel-headline">{f:translate(key:'LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.queryInformation.query')}</h3>
|
||||
<pre class="typo3-adminPanel-sql-statement">{queryCollection.sql}</pre>
|
||||
<f:if condition="{queryCollection.queries}">
|
||||
<f:if condition="{queryCollection.queries.0.backtrace}">
|
||||
<f:alias map="{query: queryCollection.queries.0}">
|
||||
<h3 class="typo3-adminPanel-headline">{f:translate(key:'LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.queryInformation.backtrace')}</h3>
|
||||
<div class="typo3-adminPanel-sql-backtrace">
|
||||
<f:for each="{query.backtrace}" as="value">
|
||||
<div class="typo3-adminPanel-sql-backtrace-item">
|
||||
<span class="typo3-adminPanel-sql-backtrace-item-function">
|
||||
{value.class}{value.type}{value.function}
|
||||
</span>
|
||||
<span class="typo3-adminPanel-sql-backtrace-item-file">
|
||||
{value.file}:{value.line}
|
||||
</span>
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
</f:alias>
|
||||
</f:if>
|
||||
<h3 class="typo3-adminPanel-headline">{f:translate(key:'LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.queryInformation.queries')}</h3>
|
||||
<div class="typo3-adminPanel-table-overflow">
|
||||
<table class="typo3-adminPanel-table typo3-adminPanel-table-debug">
|
||||
<thead>
|
||||
<tr>
|
||||
<f:for each="{queryCollection.queries.0.params}" as="value" iteration="param">
|
||||
<th scope="col">dcValue{param.cycle}</th>
|
||||
</f:for>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-space"></th>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-time"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:submodule.queryInformation.queryTime"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<f:for each="{queryCollection.queries}" as="query" iteration="iterator">
|
||||
<tr>
|
||||
<f:for each="{query.params}" as="value">
|
||||
<td class="typo3-adminPanel-table-cell-break">{value}</td>
|
||||
</f:for>
|
||||
<td scope="col" class="typo3-adminPanel-table-cell-space"></td>
|
||||
<td class="typo3-adminPanel-table-cell-time">
|
||||
<div class="typo3-adminPanel-progress">
|
||||
<div class="typo3-adminPanel-progress-bar" style="width:{query.executionMS * 1000 / totalTime * 100}%;"></div>
|
||||
<div class="typo3-adminPanel-progress-value"><f:format.number decimals="2">{query.executionMS * 1000}</f:format.number></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</f:if>
|
||||
</div>
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
</html>
|
||||
@@ -0,0 +1,92 @@
|
||||
<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{info.noCache}">
|
||||
|
||||
<f:if condition="{info.imagesOnPage.total} > 0">
|
||||
<h2 class="typo3-adminPanel-headline">Images</h2>
|
||||
<div class="typo3-adminPanel-table-overflow">
|
||||
<table class="typo3-adminPanel-table typo3-adminPanel-table-debug">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="typo3-adminPanel-table-cell-key"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:key"/></th>
|
||||
<th scope="col"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:value"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" class="typo3-adminPanel-table-cell-key"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:imagesOnPage"/></th>
|
||||
<td>
|
||||
<f:variable name="typeClass" value="string" />
|
||||
<f:if condition="{info.imagesOnPage.total as integer} === {info.imagesOnPage.total}"><f:variable name="typeClass" value="integer" /></f:if>
|
||||
<f:if condition="{info.imagesOnPage.total as float} === {info.imagesOnPage.total}"><f:variable name="typeClass" value="float" /></f:if>
|
||||
<pre class="typo3-adminPanel-dump typo3-adminPanel-dump-{typeClass}">{info.imagesOnPage.total}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<f:for each="{info.imagesOnPage.files}" as="file">
|
||||
<tr>
|
||||
<th scope="row" class="typo3-adminPanel-table-cell-key">
|
||||
<a href="{file.name}" class="typo3-adminPanel-table-cell-key-icon" target="_blank" title="{f:translate(key:'LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:button.view')}">
|
||||
<core:icon identifier="actions-window-open" alternativeMarkupIdentifier="inline"/>
|
||||
</a>
|
||||
{file.name}
|
||||
</th>
|
||||
<td>
|
||||
<f:variable name="typeClass" value="string" />
|
||||
<f:if condition="{file.sizeHuman as integer} === {file.sizeHuman}"><f:variable name="typeClass" value="integer" /></f:if>
|
||||
<f:if condition="{file.sizeHuman as float} === {file.sizeHuman}"><f:variable name="typeClass" value="float" /></f:if>
|
||||
<pre class="typo3-adminPanel-dump typo3-adminPanel-dump-{typeClass}">{file.sizeHuman}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
<tr>
|
||||
<th scope="row" class="typo3-adminPanel-table-cell-key"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:imagesSize"/></th>
|
||||
<td>
|
||||
<f:variable name="typeClass" value="string" />
|
||||
<f:if condition="{info.imagesOnPage.totalSize as integer} === {info.imagesOnPage.totalSize}"><f:variable name="typeClass" value="integer" /></f:if>
|
||||
<f:if condition="{info.imagesOnPage.totalSize as float} === {info.imagesOnPage.totalSize}"><f:variable name="typeClass" value="float" /></f:if>
|
||||
<pre class="typo3-adminPanel-dump typo3-adminPanel-dump-{typeClass}">{info.imagesOnPage.totalSize}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</f:if>
|
||||
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'Document Size', data: '{
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:DocumentSize\': \'{info.documentSize}\'
|
||||
}'}" debug="false"/>
|
||||
|
||||
</f:if>
|
||||
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'Page', data: '{
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:pageUid\': info.pageUid,
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:pageType\': info.pageType
|
||||
}'}" debug="false"/>
|
||||
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'Frontend User Group', data: '{
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:groupList\': info.groupList
|
||||
}'}" debug="false"/>
|
||||
|
||||
<f:if condition="{info.noCache}">
|
||||
<f:then><f:variable name="isCachedInfo">LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:noCache_no</f:variable></f:then>
|
||||
<f:else><f:variable name="isCachedInfo">LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:noCache_yes</f:variable></f:else>
|
||||
</f:if>
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'Cache', data: '{
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:noCache\': isCachedInfo
|
||||
}'}" debug="false"/>
|
||||
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'UserIntObjects', data: '{
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:countUserInt\': info.countUserInt
|
||||
}'}" debug="false"/>
|
||||
|
||||
<f:if condition="{info.feUser.uid} > 0">
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'Frontend User', data: '{
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:feuserName\': info.feUser.username,
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:feuserId\': info.feUser.uid
|
||||
}'}" debug="false"/>
|
||||
</f:if>
|
||||
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'Total Parsetime', data: '{
|
||||
\'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:totalParsetime\': \'{info.totalParsetime} ms\'
|
||||
}'}" debug="false"/>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,6 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'General', data: general}" debug="false"/>
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: 'Constants', data: constants.user}" debug="false"/>
|
||||
<h2 class="typo3-adminPanel-headline">Extensions</h2>
|
||||
<pre class="typo3-adminPanel-dump">{loadedExtensions}</pre>
|
||||
</html>
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: '$_GET', data: get}" debug="false"/>
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: '$_POST', data: post}" debug="false"/>
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: '$_COOKIE', data: cookie}" debug="false"/>
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: '$_SESSION', data: session}" debug="false"/>
|
||||
<f:render partial="Data/TableKeyValue" arguments="{label: '$_SERVER', data: server}" debug="false"/>
|
||||
</html>
|
||||
@@ -0,0 +1,18 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_cache.xlf:cache.no_cache',
|
||||
name: 'cache_noCache',
|
||||
value: noCache }" debug="false"/>
|
||||
<div class="typo3-adminPanel-form-group">
|
||||
<f:form.button class="typo3-adminPanel-btn typo3-adminPanel-btn-default" data="{'typo3-ajax-url': clearCurrentPageCacheUrl, 'typo3-role': 'clearCacheButton'}" type="button">
|
||||
{f:translate(key:'LLL:EXT:adminpanel/Resources/Private/Language/locallang_cache.xlf:cache.clear_current')}
|
||||
</f:form.button>
|
||||
</div>
|
||||
<f:if condition="{clearPageCacheUrl}">
|
||||
<div class="typo3-adminPanel-form-group">
|
||||
<f:form.button class="typo3-adminPanel-btn typo3-adminPanel-btn-default" data="{'typo3-ajax-url': clearPageCacheUrl, 'typo3-role': 'clearCacheButton'}" type="button">
|
||||
{f:translate(key:'LLL:EXT:adminpanel/Resources/Private/Language/locallang_cache.xlf:cache.clear_pages')}
|
||||
</f:form.button>
|
||||
</div>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,18 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{feEdit}">
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_edit.xlf:displayFieldIcons',
|
||||
name: 'edit_displayFieldIcons',
|
||||
value: display.fieldIcons }" debug="false"/>
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_edit.xlf:displayIcons',
|
||||
name: 'edit_displayIcons',
|
||||
value: display.displayIcons }" debug="false"/>
|
||||
</f:if>
|
||||
<f:format.raw>{toolbar}</f:format.raw>
|
||||
<div class="typo3-adminPanel-form-group">
|
||||
<a class="typo3-adminPanel-btn typo3-adminPanel-btn-default typo3-adminPanel-btn-openBackend" href="#" data-pageUid="{script.pageUid}" data-pageModule="{script.pageModule}" data-t3BeSitenameMd5="{script.t3BeSitenameMd5}" data-backendScript="{script.backendScript}">
|
||||
<f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_edit.xlf:openAB"/>
|
||||
</a>
|
||||
</div>
|
||||
</html>
|
||||
@@ -0,0 +1,28 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_preview.xlf:showHiddenPages',
|
||||
name: 'preview_showHiddenPages',
|
||||
value: show.hiddenPages }" debug="false"/>
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_preview.xlf:showHiddenRecords',
|
||||
name: 'preview_showHiddenRecords',
|
||||
value: show.hiddenRecords }" debug="false"/>
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_preview.xlf:showFluidDebug',
|
||||
name: 'preview_showFluidDebug',
|
||||
value: show.fluidDebug }" debug="false"/>
|
||||
<f:render partial="Form/Hidden" arguments="{
|
||||
name: 'preview_clearCacheId',
|
||||
value: show.pageId }" debug="false"/>
|
||||
<f:render partial="Form/DateTime" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_preview.xlf:simulateDate',
|
||||
name: 'preview_simulateDate',
|
||||
value: simulateDate }" debug="false"/>
|
||||
<f:render partial="Form/Select" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_preview.xlf:simulateUserGroup',
|
||||
name: 'preview_simulateUserGroup',
|
||||
options: frontendUserGroups.availableGroups,
|
||||
optionValue: 'uid',
|
||||
optionLabel: 'title',
|
||||
value: frontendUserGroups.selected }" debug="false"/>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
{typoScriptLog -> f:format.raw()}
|
||||
</html>
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_tsdebug.xlf:treeDisplay',
|
||||
name: 'tsdebug_tree',
|
||||
value: tree }" debug="false"/>
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_tsdebug.xlf:displayTimes',
|
||||
name: 'tsdebug_displayTimes',
|
||||
value: display.times }" debug="false"/>
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_tsdebug.xlf:displayMessages',
|
||||
name: 'tsdebug_displayMessages',
|
||||
value: display.messages }" debug="false"/>
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_tsdebug.xlf:trackContentRendering',
|
||||
name: 'tsdebug_LR',
|
||||
value: trackContentRendering }" debug="false"/>
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_tsdebug.xlf:displayContent',
|
||||
name: 'tsdebug_displayContent',
|
||||
value: display.content }" debug="false"/>
|
||||
<f:render partial="Form/Checkbox" arguments="{
|
||||
label: 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_tsdebug.xlf:forceTemplateParsing',
|
||||
name: 'tsdebug_forceTemplateParsing',
|
||||
value: forceTemplateParsing }" debug="false"/>
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
/*!
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
*
|
||||
* It is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License, either version 2
|
||||
* of the License, or any later version.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*
|
||||
* The TYPO3 project - inspiring people to share!
|
||||
*/
|
||||
body.typo3-adminPanel-noscroll{overflow:hidden}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel{z-index:99990}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel *{background:0 0;border:0;box-shadow:none;box-sizing:border-box;vertical-align:baseline;letter-spacing:normal;width:auto;height:auto;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-weight:400;white-space:normal;margin:0;padding:0}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel *,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel :active,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel :focus,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel :hover{outline:0}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon{position:relative;display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:-22%}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon img,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon svg{display:block;height:100%;width:100%;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon *{display:block;line-height:inherit}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-markup{position:absolute;display:block;text-align:center;top:0;left:0;right:0;bottom:0}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-overlay{position:absolute;bottom:0;right:0;height:68.75%;width:68.75%;text-align:center}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-color{fill:currentColor}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-spin .icon-markup{-webkit-animation:icon-spin 2s infinite linear;animation:icon-spin 2s infinite linear}@-webkit-keyframes icon-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes icon-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-state-disabled .icon-markup{opacity:.5}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-small{height:16px;width:16px;line-height:16px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-small .icon-unify{line-height:16px;font-size:14px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-small .icon-overlay .icon-unify{line-height:10px;font-size:9px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-default{height:32px;width:32px;line-height:32px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-default .icon-unify{line-height:32px;font-size:28px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-default .icon-overlay .icon-unify{line-height:20px;font-size:18px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-large{height:48px;width:48px;line-height:48px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-large .icon-unify{line-height:48px;font-size:42px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-size-large .icon-overlay .icon-unify{line-height:30px;font-size:26px}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-actions-edit-copy-release,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-actions-edit-cut-release,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-dialog-error,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-status-current,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-status-permission-denied{color:#c83c3c}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-status-sorting-light-asc,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-status-sorting-light-desc{color:#fff}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-status-sorting-asc,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-status-sorting-desc{color:#737373}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-dialog-information{color:#6daae0}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-dialog-ok,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-status-permission-granted{color:#79a548}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-dialog-notification{color:#333}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .icon-status-dialog-warning{color:#e8a33d}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .list-tree,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .list-tree ul{margin-left:8px;padding:0;list-style:none;position:relative}#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.typo3-adminPanel .list-tree ul:before,#TSFE_ADMIN_PANEL_FORM.typo3-kidjls9dksoje.tLine truncated
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 783 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="0" ry="0" fill="#aebb69"/><path fill="#FFF" d="M44.031 40.784l3.441 4.915-2.457 1.721-3.441-4.915 2.457-1.721zm-2.376-.778c-.96.672-2.06.995-3.15.995a5.5 5.5 0 1 1 3.15-.995zm.292-3.898a3.479 3.479 0 0 0-.58-2.615A3.506 3.506 0 0 0 38.496 32a3.48 3.48 0 0 0-2.003.633 3.505 3.505 0 0 0-.86 4.875 3.508 3.508 0 0 0 2.872 1.493 3.48 3.48 0 0 0 2.003-.633 3.477 3.477 0 0 0 1.439-2.26zM48 16v14h-2v-6H18v22h15v2H16V16h32zm-8 2H18v4h22v-4zm6 0h-4v4h4v-4z"/></svg>
|
||||
|
After Width: | Height: | Size: 552 B |
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
*
|
||||
* It is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License, either version 2
|
||||
* of the License, or any later version.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*
|
||||
* The TYPO3 project - inspiring people to share!
|
||||
*/
|
||||
"use strict";var TYPO3;!function(e){e.AdminPanelSelectors={adminPanelRole:"form[data-typo3-role=typo3-adminPanel]",moduleTriggerRole:"[data-typo3-role=typo3-adminPanel-module-trigger]",moduleParentClass:".typo3-adminPanel-module",contentTabRole:"[data-typo3-role=typo3-adminPanel-content-tab]",saveButtonRole:"[data-typo3-role=typo3-adminPanel-saveButton]",triggerRole:"[data-typo3-role=typo3-adminPanel-trigger]",popupTriggerRole:"[data-typo3-role=typo3-adminPanel-popup-trigger]",panelTriggerRole:"[data-typo3-role=typo3-adminPanel-panel-trigger]",panelParentClass:".typo3-adminPanel-panel",contentSettingsTriggerRole:"[data-typo3-role=typo3-adminPanel-content-settings]",contentSettingsParentClass:".typo3-adminPanel-content-settings",contentParentClass:".typo3-adminPanel-content",zoomTarget:"[data-typo3-zoom-target]",zoomClose:"[data-typo3-zoom-close]",currentContentRole:"[data-typo3-role=typo3-adminPanel-content]",contentPaneRole:"[data-typo3-role=typo3-adminPanel-content-pane]"},e.AdminPanelClasses={active:"active",activeModule:"typo3-adminPanel-module-active",activeContentSetting:"typo3-adminPanel-content-settings-active",backdrop:"typo3-adminPanel-backdrop",activeTab:"typo3-adminPanel-content-header-item-active",activePane:"typo3-adminPanel-content-panes-item-active",noScroll:"typo3-adminPanel-noscroll",zoomShow:"typo3-adminPanel-zoom-show"};var t=function(){function t(){var t=this;this.installPolyfills(),this.adminPanel=document.querySelector(e.AdminPanelSelectors.adminPanelRole),this.modules=this.querySelectorAll(e.AdminPanelSelectors.moduleTriggerRole).map((function(n){var o=n.closest(e.AdminPanelSelectors.moduleParentClass);return new a(t,o,n)})),this.popups=this.querySelectorAll(e.AdminPanelSelectors.popupTriggerRole).map((function(e){return new n(t,e)})),this.panels=this.querySelectorAll(e.AdminPanelSelectors.panelTriggerRole).map((function(t){var n=t.closest(e.AdminPanelSelectors.panelParentClass);return new o(n,t)})),this.contentSettings=this.querySelectorAll(e.AdminPanelSelectors.contentSettingsTriggerRole).map((function(t){var n=t.closest(e.AdminPanelSelectors.contentParentClass).querySelector(e.AdminPanelSelectors.contentSettingsParentClass);return new i(n,t)})),this.trigger=document.querySelector(e.AdminPanelSelectors.triggerRole),this.initializeEvents(),this.addBackdropListener()}return t.prototype.disableModules=function(){this.modules.forEach((function(e){return e.disable()}))},t.prototype.disablePopups=function(){this.popups.forEach((function(e){return e.disable()}))},t.prototype.renderBackdrop=function(){var t=document.querySelector("#TSFE_ADMIN_PANEL_FORM"),n=document.createElement("div");document.querySelector("body").classList.add(e.AdminPanelClasses.noScroll),n.classList.add(e.AdminPanelClasses.backdrop),t.appendChild(n),this.addBackdropListener()},t.prototype.removeBackdrop=function(){var t=document.querySelector("."+e.AdminPanelClasses.backdrop);document.querySelector("body").classList.remove(e.AdminPanelClasses.noScroll),null!==t&&t.parentNode.removeChild(t)},t.prototype.installPolyfills=function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement}while(null!==t&&1===t.nodeType);return null})},t.prototype.querySelectorAll=function(e,t){void 0===t&&(t=document);for(var n=[],o=t.querySelectorAll(e),i=0;i<o.length;i++)n.push(o[i]);return n},t.prototype.initializeEvents=function(){var t=this;this.querySelectorAll(e.AdminPanelSelectors.contentTabRole).forEach((function(e){return e.addEventListener("click",t.switchTab.bind(t))})),this.querySelectorAll(e.AdminPanelSelectors.zoomTarget).forEach((function(e){return e.addEventListener("click",t.openZoom.bind(t))})),this.querySelectorAll(e.AdminPanelSelectors.zoomClose).forEach((function(e){return e.addEventListener("click",t.closeZoom.bind(t))})),this.querySelectorAll(e.AdminPanelSelectors.triggerRole).forEach((function(e){return e.addEventListener("click",t.toggleAdminPanelState.bind(t))})),this.querySelectorAll(e.AdminPanelSelectors.saveButtonRole).forEach((function(e){return e.addEventListener("click",t.sendAdminPanelForm.bind(t))})),this.querySelectorAll("[data-typo3-role=typo3-adminPanel-content-close]").forEach((function(e){e.addEventListener("click",(function(){t.disableModules(),t.removeBackdrop()}))})),this.querySelectorAll(".typo3-adminPanel-table th, .typo3-adminPanel-table td").forEach((function(e){e.addEventListener("click",(function(){e.focus();try{document.execCommand("copy")}catch(e){}}))}))},t.prototype.switchTab=function(t){t.preventDefault();var n=e.AdminPanelClasses.activeTab,o=e.AdminPanelClasses.activePane,i=t.currentTarget,a=i.closest(e.AdminPanelSelectors.currentContentRole),l=this.querySelectorAll(e.AdminPanelSelectors.contentTabRole,a),s=this.querySelectorAll(e.AdminPanelSelectors.contentPaneRole,a);l.forEach((functioLine truncated
|
||||
@@ -0,0 +1,23 @@
|
||||
function initializeCacheModule() {
|
||||
var buttons = [];
|
||||
var elements = document.querySelectorAll('[data-typo3-role=clearCacheButton]');
|
||||
for (var i = 0; i < elements.length; i++) {
|
||||
buttons.push(elements[i]);
|
||||
}
|
||||
|
||||
buttons.forEach(function (elem) {
|
||||
elem.addEventListener('click', clearCache);
|
||||
});
|
||||
}
|
||||
|
||||
function clearCache() {
|
||||
var url = this.dataset.typo3AjaxUrl;
|
||||
var request = new XMLHttpRequest();
|
||||
request.open("GET", url);
|
||||
request.send();
|
||||
request.onload = function () {
|
||||
location.reload();
|
||||
};
|
||||
}
|
||||
|
||||
window.addEventListener('load', initializeCacheModule, false);
|
||||
@@ -0,0 +1,24 @@
|
||||
function editModuleOnClickHandler(event) {
|
||||
event.preventDefault();
|
||||
var element = event.target;
|
||||
if (parent.opener && parent.opener.top) {
|
||||
parent.opener.top.fsMod.recentIds['web'] = element.getAttribute('data-pageUid');
|
||||
if (parent.opener.top && parent.opener.top.nav_frame && parent.opener.top.nav_frame.refresh_nav) {
|
||||
parent.opener.top.nav_frame.refresh_nav();
|
||||
}
|
||||
parent.opener.top.goToModule(element.getAttribute('data-pageModule'));
|
||||
parent.opener.top.focus();
|
||||
} else {
|
||||
var vHWin = window.open(element.getAttribute('data-backendScript'), element.getAttribute('data-t3BeSitenameMd5'));
|
||||
vHWin.focus();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function initializeEditModule() {
|
||||
var editModuleBtnOpenBackend = document.querySelector('.typo3-adminPanel-btn-openBackend');
|
||||
editModuleBtnOpenBackend.addEventListener('click', editModuleOnClickHandler);
|
||||
}
|
||||
|
||||
|
||||
window.addEventListener('load', initializeEditModule, false);
|
||||
@@ -0,0 +1,34 @@
|
||||
function initializePreviewModule() {
|
||||
var dateField = document.getElementById('preview_simulateDate-date-hr');
|
||||
var timeField = document.getElementById('preview_simulateDate-time-hr');
|
||||
var targetField = document.getElementById(dateField.dataset.target);
|
||||
if (targetField.value) {
|
||||
var initialDate = new Date(parseInt(targetField.value, 10) * 1000);
|
||||
dateField.valueAsDate = initialDate;
|
||||
timeField.valueAsDate = initialDate;
|
||||
}
|
||||
|
||||
var updateDateField = function () {
|
||||
var dateVal = document.getElementById('preview_simulateDate-date-hr').value;
|
||||
var timeVal = document.getElementById('preview_simulateDate-time-hr').value;
|
||||
if (!dateVal && timeVal) {
|
||||
var tempDate = new Date();
|
||||
dateVal = tempDate.getFullYear() + "-" + (tempDate.getMonth() + 1) + "-" + tempDate.getDate();
|
||||
}
|
||||
if (dateVal && !timeVal) {
|
||||
timeVal = "00:00";
|
||||
}
|
||||
|
||||
if (!dateVal && !timeVal) {
|
||||
targetField.value = "";
|
||||
} else {
|
||||
var stringDate = dateVal + " " + timeVal;
|
||||
var date = new Date(stringDate);
|
||||
targetField.value = (date.valueOf() / 1000).toString();
|
||||
}
|
||||
};
|
||||
dateField.addEventListener('change', updateDateField);
|
||||
timeField.addEventListener('change', updateDateField);
|
||||
}
|
||||
|
||||
window.addEventListener('load', initializePreviewModule, false);
|
||||
Reference in new issue
Block a user