| Current Path : /var/www/surf/TYPO3/vendor/typo3/cms-filelist/Resources/Private/Templates/File/ |
| Current File : /var/www/surf/TYPO3/vendor/typo3/cms-filelist/Resources/Private/Templates/File/CreateFile.html |
<html
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true"
>
<f:layout name="Module" />
<f:section name="Content">
<h1><f:translate key="LLL:EXT:filelist/Resources/Private/Language/locallang.xlf:actions.create_file" /></h1>
<f:if condition="{hasPermission}">
<f:if condition="{fileExtList -> f:count()} > 0">
<form role="form" action="{f:be.uri(route: 'online_media')}" method="post">
<input type="hidden" name="data[newMedia][0][target]" value="{target}" />
<input type="hidden" name="redirect" value="{returnUrl}" />
<h3><f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:online_media.new_media" /></h3>
<div>
<div class="form-group">
<div class="form-section">
<div class="form-group">
<label class="form-label" for="newMedia"><f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:online_media.new_media.label" /></label>
<input required class="form-control" type="text" id="newMedia" name="data[newMedia][0][url]"
placeholder="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:online_media.new_media.placeholder')}" />
<div class="form-text">
<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:online_media.new_media.allowedProviders" /><br>
<f:for each="{fileExtList}" as="fileExt">
<span class="badge badge-success">{fileExt}</span>
</f:for>
</div>
</div>
</div>
</div>
<div class="form-group">
<input class="btn btn-default" type="submit" value="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:online_media.new_media.submit')}" />
</div>
</div>
</form>
</f:if>
<f:if condition="{txtFileExtList -> f:count()} > 0">
<form role="form" action="{f:be.uri(route: 'tce_file')}" method="post">
<input type="hidden" name="data[newfile][0][target]" value="{target}" />
<input type="hidden" name="redirect" value="{returnUrl}" />
<input type="hidden" name="edit" value="true" />
<h3><f:translate key="LLL:EXT:filelist/Resources/Private/Language/locallang.xlf:file_newfolder.php.newfile" /></h3>
<div>
<div class="form-group">
<div class="form-section">
<div class="form-group">
<label class="form-label" for="newfile"><f:translate key="LLL:EXT:filelist/Resources/Private/Language/locallang.xlf:file_newfolder.php.label_newfile" /></label>
<input required class="form-control" type="text" id="newfile" name="data[newfile][0][data]" />
<div class="form-text">
<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:cm.allowedEditableTextFileExtensions" /><br>
<f:for each="{txtFileExtList}" as="fileExt">
<span class="badge badge-success">{fileExt}</span>
</f:for>
</div>
</div>
</div>
</div>
<div class="form-group">
<button class="btn btn-default" name="submitCreateFileForm" type="submit" value="1"><f:translate key="LLL:EXT:filelist/Resources/Private/Language/locallang.xlf:file_newfolder.php.newfile_submit" /></button>
</div>
</div>
</form>
</f:if>
</f:if>
</f:section>
</html>