1
|
<!--
|
2
|
@version $Id: media.htt 76 2017-03-10 14:44:36Z Luisehahne $
|
3
|
-->
|
4
|
<!-- BEGIN main_block -->
|
5
|
<script src="{THEME_URL}/js/toggle_zip.js" type="text/javascript"></script>
|
6
|
|
7
|
<table style="width:100%;">
|
8
|
<tbody>
|
9
|
<tr>
|
10
|
<td style="width: 40%;" >
|
11
|
<h2>{HEADING_UPLOAD_FILES}</h2>
|
12
|
<form name="upload" action="upload.php" method="post" enctype="multipart/form-data" class="{DISPLAY_UPLOAD}">
|
13
|
{FTAN}
|
14
|
<table class="w3-table">
|
15
|
<tbody>
|
16
|
<tr>
|
17
|
<td>{TEXT_TARGET_FOLDER}:<br />
|
18
|
<select class="w3-border" name="target" id="target" style="width:100%;"
|
19
|
onchange="browse.location.href='browse.php?dir=' +
|
20
|
document.upload.target.value.substr(6,100);
|
21
|
document.create.target.value = document.upload.target.value;">
|
22
|
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option>
|
23
|
<!-- BEGIN dir_list_block -->
|
24
|
<option value="{NAME}">{NAME}</option>
|
25
|
<!-- END dir_list_block -->
|
26
|
</select>
|
27
|
</td>
|
28
|
</tr>
|
29
|
</tbody>
|
30
|
</table>
|
31
|
<table class="w3-table">
|
32
|
<tbody>
|
33
|
<tr>
|
34
|
<td >
|
35
|
<input type="checkbox" name="unzip" id="unzip" onclick="toggle();" />
|
36
|
<label for="unzip">{TEXT_UNZIP_FILE}</label>
|
37
|
<span id="delzip" style="display: none;"><br />
|
38
|
<input type="checkbox" name="delzip" id="deletezip" />
|
39
|
<label for="deletezip">{TEXT_DELETE_ZIP}</label></span>
|
40
|
</td>
|
41
|
</tr>
|
42
|
<tr>
|
43
|
<td style=" float: left;"><input type="file" size="33" name="file1" /> </td>
|
44
|
</tr>
|
45
|
<tr>
|
46
|
<td style=" float: left;"><input type="file" size="33" name="file2" id="file2" style="visibility: visible;" /> </td>
|
47
|
</tr>
|
48
|
<tr>
|
49
|
<td style=" float: left;"><input type="file" size="33" name="file3" id="file3" style="visibility: visible;" /> </td>
|
50
|
</tr>
|
51
|
<tr>
|
52
|
<td style=" float: left;"><input type="file" size="33" name="file4" id="file4" style="visibility: visible;" /> </td>
|
53
|
</tr>
|
54
|
<tr>
|
55
|
<td style=" float: left;"><input type="file" size="33" name="file5" id="file5" style="visibility: visible;" /> </td>
|
56
|
</tr>
|
57
|
<tr>
|
58
|
<td style=" float: left;"><input type="file" size="33" name="file6" id="file6" style="visibility: visible;" /> </td>
|
59
|
</tr>
|
60
|
<tr>
|
61
|
<td style=" float: left;"><input type="file" size="33" name="file7" id="file7" style="visibility: visible;" /> </td>
|
62
|
</tr>
|
63
|
<tr>
|
64
|
<td style=" float: left;"><input type="file" size="33" name="file8" id="file8" style="visibility: visible;" /> </td>
|
65
|
</tr>
|
66
|
<tr>
|
67
|
<td style=" float: left;"><input type="file" size="33" name="file9" id="file9" style="visibility: visible;" /> </td>
|
68
|
</tr>
|
69
|
<tr>
|
70
|
<td style=" float: left;"><input type="file" size="33" name="file10" id="file10" style="visibility: visible;" /> </td>
|
71
|
</tr>
|
72
|
</tbody>
|
73
|
</table>
|
74
|
|
75
|
<table class="w3-table">
|
76
|
<tbody>
|
77
|
<tr>
|
78
|
<td><input type="checkbox" name="overwrite" id="overwrite" value="yes" />
|
79
|
<label for="overwrite">{TEXT_OVERWRITE_EXISTING} {TEXT_FILES}</label><br />
|
80
|
<input class="btn btn-default w3-input" type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" />
|
81
|
</td>
|
82
|
</tr>
|
83
|
</tbody>
|
84
|
</table>
|
85
|
</form>
|
86
|
<!--
|
87
|
If you want to HIDE the option of creating folders in the Media-folder (for your clients, for example),
|
88
|
please set the class below to "hide", else to "show".
|
89
|
-->
|
90
|
<div class="show">
|
91
|
<br /><br />
|
92
|
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}">
|
93
|
{FTAN}
|
94
|
<h2>{HEADING_CREATE_FOLDER}</h2>
|
95
|
<table class="w3-table">
|
96
|
<tbody>
|
97
|
<tr>
|
98
|
<td>{TEXT_NAME}:<br />
|
99
|
<input class="w3-border w3-input" type="text" name="name" /></td>
|
100
|
</tr>
|
101
|
</table>
|
102
|
<table class="w3-table">
|
103
|
<tr>
|
104
|
<td>{TEXT_TARGET_FOLDER}:<br />
|
105
|
<select class="w3-border" name="target" style="width: 100%;">
|
106
|
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option>
|
107
|
<!-- BEGIN dir_list_block -->
|
108
|
<option value="{NAME}">{NAME} </option>
|
109
|
<!-- END dir_list_block -->
|
110
|
</select>
|
111
|
</td>
|
112
|
</tr>
|
113
|
</tbody>
|
114
|
</table>
|
115
|
<table class="w3-table">
|
116
|
<tbody>
|
117
|
<tr>
|
118
|
<td><input class="btn btn-default w3-input" type="submit" name="submit" value="{TEXT_CREATE_FOLDER}" />
|
119
|
</td>
|
120
|
</tr>
|
121
|
</tbody>
|
122
|
</table>
|
123
|
</form>
|
124
|
</div>
|
125
|
<!-- END main_block -->
|
126
|
</td>
|
127
|
<td > </td>
|
128
|
<td class="media_right" style="width: 100%; float: right;">
|
129
|
<h2 style="padding-left:3px;">{HEADING_BROWSE_MEDIA}</h2>
|
130
|
<span class="{DISPLAY_SETTINGS}" style="margin-bottom:2px;">{OPTIONS}:
|
131
|
<a class="{DISPLAY_SETTINGS}" href="setparameter.php" target="browse">{CHANGE_SETTINGS}</a> |
|
132
|
<a href="browse.php?dir={CURRENT_DIR}" target="browse">{TEXT_RELOAD}</a>
|
133
|
</span>
|
134
|
<iframe name="browse" height="550" src="browse.php" style=" width: 99%; border:1px solid #333;"></iframe>
|
135
|
</td>
|
136
|
</tr>
|
137
|
</tbody>
|
138
|
</table>
|