TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,213 @@
|
||||
<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="form-section">
|
||||
|
||||
<h3 class="form-section-headline">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_selectFileToImport" />
|
||||
</h3>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="impexp-file">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_file" />
|
||||
</label>
|
||||
<select
|
||||
name="tx_impexp[file]"
|
||||
class="form-select"
|
||||
id="impexp-file"
|
||||
>
|
||||
<f:for each="{fileSelectOptions}" as="optionLabel" key="optionValue">
|
||||
<option value="{optionValue}" {f:if(condition:'{optionValue} == {inData.file}', then:'selected="selected"')}>{optionLabel}</option>
|
||||
</f:for>
|
||||
</select>
|
||||
<div class="form-text">
|
||||
<f:if condition="{importFolder}">
|
||||
<f:then>
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_fromPathS" arguments="{0: importFolder}" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_no_default_upload_folder" />
|
||||
</f:else>
|
||||
</f:if>
|
||||
</div>
|
||||
<f:if condition="{import.decompressionAvailable}">
|
||||
<f:else>
|
||||
<span class="text-danger"><f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_noteNoDecompressorAvailable"/></span>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="form-section">
|
||||
|
||||
<h3 class="form-section-headline">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_importOptions"/>
|
||||
</h3>
|
||||
<h4>
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_update"/>
|
||||
</h4>
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input type="hidden" name="tx_impexp[do_update]" value="">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
name="tx_impexp[do_update]"
|
||||
value="1"
|
||||
id="checkDo_update"
|
||||
{f:if(condition:'{inData.do_update} == 1', then:'checked="checked"')}
|
||||
>
|
||||
<label class="form-check-label" for="checkDo_update">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_updateRecords"/>
|
||||
<br><small class="form-text"><f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_thisOptionRequiresThat"/></small>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<f:if condition="{inData.do_update}">
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input type="hidden" name="tx_impexp[global_ignore_pid]" value="">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
name="tx_impexp[global_ignore_pid]"
|
||||
value="1"
|
||||
id="checkGlobal_ignore_pid"
|
||||
{f:if(condition:'{inData.global_ignore_pid} == 1', then:'checked="checked"')}
|
||||
>
|
||||
<label class="form-check-label" for="checkGlobal_ignore_pid">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_ignorePidDifferencesGlobally"/>
|
||||
<br><small class="text-variant"><f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_ifYouSetThis"/></small>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
|
||||
<h4>
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_options"/>
|
||||
</h4>
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input type="hidden" name="tx_impexp[notShowDiff]" value="">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
name="tx_impexp[notShowDiff]"
|
||||
value="1"
|
||||
id="checkNotShowDiff"
|
||||
{f:if(condition:'{inData.notShowDiff} == 1', then:'checked="checked"')}
|
||||
>
|
||||
<label class="form-check-label" for="checkNotShowDiff">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_doNotShowDifferences"/>
|
||||
<br><small class="text-variant"><f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_greenValuesAreFrom"/></small>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<f:if condition="{isAdmin}">
|
||||
<f:if condition="!{inData.do_update}">
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input type="hidden" name="tx_impexp[force_all_UIDS]" value="">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
name="tx_impexp[force_all_UIDS]"
|
||||
value="1"
|
||||
id="checkForce_all_UIDS"
|
||||
{f:if(condition:'{inData.force_all_UIDS} == 1', then:'checked="checked"')}
|
||||
>
|
||||
<label for="checkForce_all_UIDS">
|
||||
<span class="text-danger"><f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_force_all_UIDS"/></span>
|
||||
<br><small class="text-variant"><f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_force_all_UIDS_descr"/></small>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</f:if>
|
||||
|
||||
<h4>
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_enableLogging"/>
|
||||
</h4>
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input type="hidden" name="tx_impexp[enableLogging]" value="">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
name="tx_impexp[enableLogging]"
|
||||
value="1"
|
||||
id="checkEnableLogging"
|
||||
{f:if(condition:'{inData.enableLogging} == 1', then:'checked="checked"')}
|
||||
>
|
||||
<label class="form-check-label" for="checkEnableLogging">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_writeIndividualDbActions"/>
|
||||
<br><small class="text-variant"><f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_thisIsDisabledBy"/></small>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4>
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_action"/>
|
||||
</h4>
|
||||
<div class="form-group">
|
||||
<f:if condition="{inData.import_file}">
|
||||
<f:then>
|
||||
<button
|
||||
type="submit"
|
||||
name="tx_impexp[new_import]"
|
||||
class="btn btn-default"
|
||||
value="1"
|
||||
>
|
||||
<core:icon identifier="actions-upload" size="small" />
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_newImport"/>
|
||||
</button>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-default"
|
||||
>
|
||||
<core:icon identifier="actions-view" size="small" />
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_preview"/>
|
||||
</button>
|
||||
<f:if condition="{inData.file}">
|
||||
<input type="hidden" name="not-set" value="1" id="t3js-submit-field"/>
|
||||
<f:if condition="{inData.do_update}">
|
||||
<f:then>
|
||||
<button
|
||||
type="button"
|
||||
name="tx_impexp[import_file]"
|
||||
class="btn btn-default t3js-confirm-trigger"
|
||||
data-title="{f:translate(key: 'LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:pleaseConfirm')}"
|
||||
data-message="{f:translate(key: 'LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:makesavefo_areYouSure')}"
|
||||
value="1"
|
||||
>
|
||||
<core:icon identifier="actions-upload" size="small" />
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_update" />
|
||||
</button>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<button
|
||||
type="button"
|
||||
name="tx_impexp[import_file]"
|
||||
class="btn btn-default t3js-confirm-trigger"
|
||||
data-title="{f:translate(key: 'LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:pleaseConfirm')}"
|
||||
data-message="{f:translate(key: 'LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:makesavefo_areYouSure')}"
|
||||
value="1"
|
||||
>
|
||||
<core:icon identifier="actions-upload" size="small" />
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_import" />
|
||||
</button>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:if>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<input type="hidden" name="tx_impexp[action]" value="import" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,132 @@
|
||||
<html
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<div class="form-section">
|
||||
|
||||
<h3 class="form-section-headline">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_metaData" />
|
||||
</h3>
|
||||
<div class="table-fit table-fit-wrap mb-2">
|
||||
<table class="table table-striped table-hover">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="col-nowrap">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_title" />
|
||||
</th>
|
||||
<td>
|
||||
<f:format.nl2br>{import.metaData.title}</f:format.nl2br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="col-nowrap">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_description" />
|
||||
</th>
|
||||
<td>
|
||||
<f:format.nl2br>{import.metaData.description}</f:format.nl2br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="col-nowrap">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_notes" />
|
||||
</th>
|
||||
<td>
|
||||
<f:format.nl2br>{import.metaData.notes}</f:format.nl2br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="col-nowrap">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_packager" />
|
||||
</th>
|
||||
<td>
|
||||
<f:format.nl2br>{import.metaData.packager_name} ({import.metaData.packager_username})</f:format.nl2br>
|
||||
<br>
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_email" />
|
||||
{import.metaData.packager_email}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<f:if condition="{import.siteConfigurations -> f:count()} > 0 && {isAdmin}">
|
||||
<div class="form-section">
|
||||
|
||||
<h3 class="form-section-headline">
|
||||
<f:translate domain="impexp.messages" key="importdata_siteConfigurations" />
|
||||
</h3>
|
||||
|
||||
<f:for each="{import.siteConfigurations}" as="siteConfig" key="siteIdentifier">
|
||||
<h4>{siteIdentifier}</h4>
|
||||
<div class="table-fit table-fit-wrap mb-2">
|
||||
<table class="table table-striped table-hover">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="col-nowrap">
|
||||
<f:translate domain="impexp.messages" key="importdata_siteRootPage" />
|
||||
</th>
|
||||
<td>{siteConfig._rootPageTitle} [{siteConfig.rootPageId}]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="col-nowrap">
|
||||
<f:translate domain="impexp.messages" key="importdata_siteWebsiteTitle" />
|
||||
</th>
|
||||
<td>{siteConfig.websiteTitle}</td>
|
||||
</tr>
|
||||
<f:if condition="{siteConfig.dependencies -> f:count()} > 0">
|
||||
<tr>
|
||||
<th class="col-nowrap">
|
||||
<f:translate domain="impexp.messages" key="importdata_siteDependencies" />
|
||||
</th>
|
||||
<td>
|
||||
<f:for each="{siteConfig.dependencies}" as="dependency">
|
||||
<div>{dependency}</div>
|
||||
</f:for>
|
||||
</td>
|
||||
</tr>
|
||||
</f:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<f:if condition="{siteConfig.languages -> f:count()} > 0">
|
||||
<div class="table-fit table-fit-wrap mb-3">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-nowrap">
|
||||
<f:translate domain="impexp.messages" key="importdata_siteLanguageId" />
|
||||
</th>
|
||||
<th class="col-nowrap">
|
||||
<f:translate domain="impexp.messages" key="importdata_title" />
|
||||
</th>
|
||||
<th class="col-nowrap">
|
||||
<f:translate domain="impexp.messages" key="importdata_siteLanguageLocale" />
|
||||
</th>
|
||||
<th class="col-nowrap">
|
||||
<f:translate domain="impexp.messages" key="importdata_siteBase" />
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<f:for each="{siteConfig.languages}" as="language">
|
||||
<tr>
|
||||
<td>{language.languageId}</td>
|
||||
<td>{language.title}</td>
|
||||
<td>{language.locale}</td>
|
||||
<td>{language.base}</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</f:if>
|
||||
</f:for>
|
||||
|
||||
</div>
|
||||
</f:if>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,65 @@
|
||||
<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="form-section">
|
||||
|
||||
<h3 class="form-section-headline">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_uploadFileFromLocal" />
|
||||
</h3>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="impexp_upload_1">
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_browse" />
|
||||
</label>
|
||||
<input class="form-control" id="impexp_upload_1" type="file" name="upload_1" accept="{allowedUploadExtensionList}" />
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input type="hidden" name="overwriteExistingFiles" value="">
|
||||
<input
|
||||
class="form-check-input"
|
||||
id="checkOverwriteExistingFiles"
|
||||
type="checkbox"
|
||||
name="overwriteExistingFiles"
|
||||
value="replace"
|
||||
checked="checked"
|
||||
>
|
||||
<label class="form-check-label" for="checkOverwriteExistingFiles">
|
||||
<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_misc.xlf:overwriteExistingFiles" />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-default"
|
||||
name="_upload"
|
||||
value="1"
|
||||
>
|
||||
<core:icon identifier="actions-upload" size="small" />
|
||||
<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:file_upload.php.submit" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<f:if condition="{uploadStatus}">
|
||||
<h4>
|
||||
<f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_uploadStatus" />
|
||||
</h4>
|
||||
<f:if condition="{uploadStatus} == 1">
|
||||
<f:then>
|
||||
<f:be.infobox title="{f:translate(key: 'LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_success')} {uploadedFile}" state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::OK')}" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:be.infobox title="{f:translate(key: 'LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:importdata_failureNoFileUploaded')}" state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::ERROR')}" />
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:if>
|
||||
|
||||
</div>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user