Revision 1023
Added by Matthias almost 15 years ago
media.htt | ||
---|---|---|
1 | 1 |
<!-- BEGIN main_block --> |
2 | 2 |
|
3 |
<script language="javascript" type="text/javascript"> |
|
4 |
function toggle() { |
|
5 |
var check = document.getElementById("file2"); |
|
6 |
if (check.style.visibility == "visible") { |
|
7 |
for (i=2; i<=10; i++) { |
|
8 |
document.getElementById("file" + i).style.visibility = "hidden"; |
|
9 |
} |
|
10 |
document.getElementById("delzip").style.display = "inline"; |
|
11 |
} else { |
|
12 |
for (i=2; i<=10; i++) { |
|
13 |
document.getElementById("file" + i).style.visibility = "visible"; |
|
14 |
} |
|
15 |
document.getElementById("delzip").style.display = "none"; |
|
16 |
} |
|
17 |
} |
|
18 |
</script> |
|
19 |
|
|
3 | 20 |
<h2>{HEADING_BROWSE_MEDIA}</h2> |
4 | 21 |
|
5 |
<iframe width="100%" height="320px" align="middle" src="browse.php"></iframe> |
|
6 |
|
|
22 |
<iframe width="100%" height="382px" align="center" src="browse.php" scrolling="no"></iframe> |
|
7 | 23 |
<br /> |
8 |
|
|
9 |
|
|
10 |
|
|
11 | 24 |
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}"> |
12 | 25 |
|
13 |
<br /> |
|
14 |
|
|
15 | 26 |
<h2>{HEADING_CREATE_FOLDER}</h2> |
16 | 27 |
|
17 | 28 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
... | ... | |
26 | 37 |
</select> |
27 | 38 |
</td> |
28 | 39 |
</tr> |
29 |
|
|
30 | 40 |
</table> |
31 | 41 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
32 | 42 |
<tr> |
... | ... | |
61 | 71 |
</td> |
62 | 72 |
</tr> |
63 | 73 |
</table> |
64 |
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%"> |
|
65 |
<tr> |
|
66 |
<td> |
|
67 |
<input type="checkbox" name="overwrite" id="overwrite" value="yes" /> |
|
68 |
<label for="overwrite"> |
|
69 |
{TEXT_OVERWRITE_EXISTING} {TEXT_FILES} |
|
70 |
</label> |
|
71 |
</td> |
|
72 |
<td width="160"> |
|
73 |
<input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" /> |
|
74 |
</td> |
|
75 |
</tr> |
|
76 |
</table> |
|
77 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
78 |
<tr> |
|
79 |
<td width="50%" align="left"> |
|
80 |
<input type="file" size="42" name="file1" /> |
|
81 |
</td> |
|
82 |
<td width="50%" align="right"> |
|
83 |
<input type="file" size="42" name="file2" /> |
|
84 |
</td> |
|
85 |
</tr> |
|
86 |
<tr> |
|
87 |
<td width="50%" align="left"> |
|
88 |
<input type="file" size="42" name="file3" /> |
|
89 |
</td> |
|
90 |
<td width="50%" align="right"> |
|
91 |
<input type="file" size="42" name="file4" /> |
|
92 |
</td> |
|
93 |
</tr> |
|
94 |
<tr> |
|
95 |
<td width="50%" align="left"> |
|
96 |
<input type="file" size="42" name="file5" /> |
|
97 |
</td> |
|
98 |
<td width="50%" align="right"> |
|
99 |
<input type="file" size="42" name="file6" /> |
|
100 |
</td> |
|
101 |
</tr> |
|
102 |
<tr> |
|
103 |
<td width="50%" align="left"> |
|
104 |
<input type="file" size="42" name="file7" /> |
|
105 |
</td> |
|
106 |
<td width="50%" align="right"> |
|
107 |
<input type="file" size="42" name="file8" /> |
|
108 |
</td> |
|
109 |
</tr> |
|
110 |
<tr> |
|
111 |
<td width="50%" align="left"> |
|
112 |
<input type="file" size="42" name="file9" /> |
|
113 |
</td> |
|
114 |
<td width="50%" align="right"> |
|
115 |
<input type="file" size="42" name="file10" /> |
|
116 |
</td> |
|
117 |
</tr> |
|
118 |
</table> |
|
119 |
|
|
74 |
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%"> |
|
75 |
<tr> |
|
76 |
<td valign="top"><input type="checkbox" name="unzip" id="unzip" onclick="toggle();" /> |
|
77 |
<label for="unzip">{TEXT_UNZIP_FILE}</label> |
|
78 |
<span id="delzip" style="display: none;"><br /><input type="checkbox" name="delzip" id="deletezip" /> |
|
79 |
<label for="deletezip">{TEXT_DELETE_ZIP}</label></span> |
|
80 |
</td> |
|
81 |
<td valign="top"><input type="checkbox" name="overwrite" id="overwrite" value="yes" /><label for="overwrite">{TEXT_OVERWRITE_EXISTING}{TEXT_FILES}</label> </td> |
|
82 |
<td width="160" valign="top"><input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" /></td> |
|
83 |
</tr> |
|
84 |
</table> |
|
85 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
86 |
<tr> |
|
87 |
<td width="50%" align="left"><input type="file" size="27" name="file1" /></td> |
|
88 |
<td width="50%" align="right"><input type="file" size="27" name="file2" id="file2" style="visibility: visible;" /></td> |
|
89 |
</tr> |
|
90 |
<tr> |
|
91 |
<td width="50%" align="left"><input type="file" size="27" name="file3" id="file3" style="visibility: visible;" /></td> |
|
92 |
<td width="50%" align="right"><input type="file" size="27" name="file4" id="file4" style="visibility: visible;"" /></td> |
|
93 |
</tr> |
|
94 |
<tr> |
|
95 |
<td width="50%" align="left"><input type="file" size="27" name="file5" id="file5" style="visibility: visible;" /></td> |
|
96 |
<td width="50%" align="right"><input type="file" size="27" name="file6" id="file6" style="visibility: visible;"" /></td> |
|
97 |
</tr> |
|
98 |
<tr> |
|
99 |
<td width="50%" align="left"><input type="file" size="27" name="file7" id="file7" style="visibility: visible;" /></td> |
|
100 |
<td width="50%" align="right"><input type="file" size="27" name="file8" id="file8" style="visibility: visible;" /></td> |
|
101 |
</tr> |
|
102 |
<tr> |
|
103 |
<td width="50%" align="left"><input type="file" size="27" name="file9" id="file9" style="visibility: visible;" /></td> |
|
104 |
<td width="50%" align="right"><input type="file" size="27" name="file10" id="file10" style="visibility: visible;" /></td> |
|
105 |
</tr> |
|
106 |
</table> |
|
120 | 107 |
</form> |
121 | 108 |
|
122 | 109 |
<!-- END main_block --> |
Also available in: Unified diff
- Added posibility to upload and unzip .zip packages to media section (Thanks to BerndJM)
- Updated Browse Media Window in wb_theme now supports file icons, more file informations and a new preview function (Thanks to BerndJM)