a0ee00cd918792105e515836c0a6b61658b0cc7e
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / File / CreateFolder.html
1 <div>
2 <h1><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:file_newfolder.php.pagetitle" /></h1>
3 <f:if condition="{moduleUrlTceFile}">
4 <h3><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:file_newfolder.php.newfolders" /></h3>
5 <div>
6 <form role="form" action="{moduleUrlTceFile}" method="post" name="editform">
7 <div class="form-group">
8 <div class="form-section">
9 <div class="form-group">
10 <label for="number-of-new-folders"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:file_newfolder.php.number_of_folders" /></label> {cshFileNewFolder -> f:format.raw()}
11 <div class="form-control-wrap">
12 <div class="input-group">
13 <select class="form-control form-control-adapt" name="number" id="number-of-new-folders" onchange="reload(this.options[this.selectedIndex].value);">';
14 <f:for each="{options}" as="option">
15 <option value="{option.value}"{option.selected}>{option.value}</option>
16 </f:for>
17 </select>
18 </div>
19 </div>
20 </div>
21 </div>
22 <f:for each="{folders}" as="folder">
23 <div class="form-section">
24 <div class="form-group">
25 <label for="folder_new_{folder.this}"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:file_newfolder.php.label_newfolder" /> {folder.next}:</label>
26 <div class="form-control-wrap">
27 <input type="text" class="form-control" id="folder_new_{folder.this}" name="file[newfolder][{folder.this}][data]" onchange="changed=true;" />
28 <input type="hidden" name="file[newfolder][{folder.this}][target]" value="{target}" />
29 </div>
30 </div>
31 </div>
32 </f:for>
33 </div>
34 <div class="form-group">
35 <input class="btn btn-default" type="submit" value="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:file_newfolder.php.submit')}" />
36 <input type="hidden" name="redirect" value="{returnUrl}" />
37 </div>
38 </form>
39 </div>
40 </f:if>
41 <f:if condition="{moduleUrlOnlineMedia}">
42 <form action="{moduleUrlOnlineMedia}" method="post" name="editform2">
43 <h3><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:online_media.new_media" /></h3>
44 <div>
45 <div class="form-group">
46 <div class="form-section">
47 <div class="form-group">
48 <label for="newMedia"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:online_media.new_media.label" /></label> {cshFileNewMedia -> f:format.raw()}
49 <div class="form-control-wrap">
50 <input class="form-control" type="text" id="newMedia" name="file[newMedia][0][url]"
51 placeholder="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:online_media.new_media.placeholder')}" />
52 <input type="hidden" name="file[newMedia][0][target]" value="{target}" />
53 </div>
54 <div class="help-block">
55 <f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:online_media.new_media.allowedProviders" /><br>
56 <f:for each="{fileExtList}" as="fileExt">
57 <span class="label label-success">{fileExt}</span>
58 </f:for>
59 </div>
60 </div>
61 </div>
62 </div>
63 <div class="form-group">
64 <input class="btn btn-default" type="submit" value="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:online_media.new_media.submit')}" />
65 <input type="hidden" name="redirect" value="{returnUrl}" />
66 </div>
67 </div>
68 </form>
69 <form action="{moduleUrlTceFile}" method="post" name="editform3">
70 <h3><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:file_newfolder.php.newfile" /></h3>
71 <div>
72 <div class="form-group">
73 <div class="form-section">
74 <div class="form-group">
75 <label for="newfile"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:file_newfolder.php.label_newfile" /></label> {cshFileNewFile -> f:format.raw()}
76 <div class="form-control-wrap">
77 <input class="form-control" type="text" id="newfile" name="file[newfile][0][data]" onchange="changed=true;" />
78 <input type="hidden" name="file[newfile][0][target]" value="{target}" />
79 </div>
80 <div class="help-block">
81 <f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.allowedFileExtensions" /><br>
82 <f:for each="{txtFileExtList}" as="fileExt">
83 <span class="label label-success">{fileExt}</span>
84 </f:for>
85 </div>
86 </div>
87 </div>
88 </div>
89 <div class="form-group">
90 <button class="btn btn-default" name="edit" type="submit" value="1"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:file_newfolder.php.newfile_submit" /></button>
91 <input type="hidden" name="redirect" value="{returnUrl}" />
92 </div>
93 </div>
94 </form>
95 </f:if>
96 </div>