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