Revision 1206
Added by Dietmar over 14 years ago
media.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
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 |
|
|
20 |
<h2>{HEADING_BROWSE_MEDIA}</h2> |
|
21 |
|
|
22 |
<iframe width="100%" height="382px" align="center" src="browse.php" scrolling="no"></iframe> |
|
23 |
<br /> |
|
24 |
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}"> |
|
25 |
|
|
26 |
<h2>{HEADING_CREATE_FOLDER}</h2> |
|
27 |
|
|
28 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
29 |
<tr> |
|
30 |
<td width="100">{TEXT_TARGET_FOLDER}:</td> |
|
31 |
<td> |
|
32 |
<select name="target" style="width: 100%;"> |
|
33 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
|
34 |
<!-- BEGIN dir_list_block --> |
|
35 |
<option value="{NAME}">{NAME}</option> |
|
36 |
<!-- END dir_list_block --> |
|
37 |
</select> |
|
38 |
</td> |
|
39 |
</tr> |
|
40 |
</table> |
|
41 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
42 |
<tr> |
|
43 |
<td width="100">{TEXT_NAME}:</td> |
|
44 |
<td> |
|
45 |
<input type="text" name="name" style="width: 100%;" /> |
|
46 |
</td> |
|
47 |
<td align="right" width="160"> |
|
48 |
<input type="submit" name="submit" value="{TEXT_CREATE_FOLDER}" style="width: 160px;" /> |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
</table> |
|
52 |
|
|
53 |
</form> |
|
54 |
|
|
55 |
<form name="upload" action="upload.php" method="post" enctype="multipart/form-data" class="{DISPLAY_UPLOAD}"> |
|
56 |
|
|
57 |
<br /> |
|
58 |
|
|
59 |
<h2>{HEADING_UPLOAD_FILES}</h2> |
|
60 |
|
|
61 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
62 |
<tr> |
|
63 |
<td width="100">{TEXT_TARGET_FOLDER}:</td> |
|
64 |
<td> |
|
65 |
<select name="target" style="width: 100%;"> |
|
66 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
|
67 |
<!-- BEGIN dir_list_block --> |
|
68 |
<option value="{NAME}">{NAME}</option> |
|
69 |
<!-- END dir_list_block --> |
|
70 |
</select> |
|
71 |
</td> |
|
72 |
</tr> |
|
73 |
</table> |
|
1 |
<!-- BEGIN main_block --> |
|
2 |
|
|
3 |
<script src="{THEME_URL}/templates/toggle_zip.js" type="text/javascript"></script> |
|
4 |
|
|
5 |
<h2>{HEADING_BROWSE_MEDIA}</h2> |
|
6 |
|
|
7 |
<iframe width="100%" height="382px" src="browse.php" scrolling="no"></iframe> |
|
8 |
<br /> |
|
9 |
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}"> |
|
10 |
|
|
11 |
<h2>{HEADING_CREATE_FOLDER}</h2> |
|
12 |
|
|
13 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
14 |
<tr> |
|
15 |
<td width="100">{TEXT_TARGET_FOLDER}:</td> |
|
16 |
<td> |
|
17 |
<select name="target" style="width: 100%;"> |
|
18 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
|
19 |
<!-- BEGIN dir_list_block --> |
|
20 |
<option value="{NAME}">{NAME}</option> |
|
21 |
<!-- END dir_list_block --> |
|
22 |
</select> |
|
23 |
</td> |
|
24 |
</tr> |
|
25 |
</table> |
|
26 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
27 |
<tr> |
|
28 |
<td width="100">{TEXT_NAME}:</td> |
|
29 |
<td> |
|
30 |
<input type="text" name="name" style="width: 100%;" /> |
|
31 |
</td> |
|
32 |
<td align="right" width="160"> |
|
33 |
<input type="submit" name="submit" value="{TEXT_CREATE_FOLDER}" style="width: 160px;" /> |
|
34 |
</td> |
|
35 |
</tr> |
|
36 |
</table> |
|
37 |
|
|
38 |
</form> |
|
39 |
|
|
40 |
<form name="upload" action="upload.php" method="post" enctype="multipart/form-data" class="{DISPLAY_UPLOAD}"> |
|
41 |
|
|
42 |
<br /> |
|
43 |
|
|
44 |
<h2>{HEADING_UPLOAD_FILES}</h2> |
|
45 |
|
|
46 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
|
47 |
<tr> |
|
48 |
<td width="100">{TEXT_TARGET_FOLDER}:</td> |
|
49 |
<td> |
|
50 |
<select name="target" style="width: 100%;"> |
|
51 |
<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option> |
|
52 |
<!-- BEGIN dir_list_block --> |
|
53 |
<option value="{NAME}">{NAME}</option> |
|
54 |
<!-- END dir_list_block --> |
|
55 |
</select> |
|
56 |
</td> |
|
57 |
</tr> |
|
58 |
</table> |
|
74 | 59 |
<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> |
|
60 |
<tr>
|
|
61 |
<td valign="top"><input type="checkbox" name="unzip" id="unzip" onclick="toggle();" />
|
|
62 |
<label for="unzip">{TEXT_UNZIP_FILE}</label>
|
|
63 |
<span id="delzip" style="display: none;"><br /><input type="checkbox" name="delzip" id="deletezip" />
|
|
64 |
<label for="deletezip">{TEXT_DELETE_ZIP}</label></span>
|
|
80 | 65 |
</td> |
81 | 66 |
<td valign="top"><input type="checkbox" name="overwrite" id="overwrite" value="yes" /><label for="overwrite">{TEXT_OVERWRITE_EXISTING}{TEXT_FILES}</label> </td> |
82 | 67 |
<td width="160" valign="top"><input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" /></td> |
83 | 68 |
</tr> |
84 |
</table> |
|
69 |
</table>
|
|
85 | 70 |
<table cellpadding="3" cellspacing="0" border="0" width="100%"> |
86 | 71 |
<tr> |
87 | 72 |
<td width="50%" align="left"><input type="file" size="27" name="file1" /></td> |
... | ... | |
89 | 74 |
</tr> |
90 | 75 |
<tr> |
91 | 76 |
<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>
|
|
77 |
<td width="50%" align="right"><input type="file" size="27" name="file4" id="file4" style="visibility: visible;" /></td> |
|
93 | 78 |
</tr> |
94 | 79 |
<tr> |
95 | 80 |
<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>
|
|
81 |
<td width="50%" align="right"><input type="file" size="27" name="file6" id="file6" style="visibility: visible;" /></td> |
|
97 | 82 |
</tr> |
98 | 83 |
<tr> |
99 | 84 |
<td width="50%" align="left"><input type="file" size="27" name="file7" id="file7" style="visibility: visible;" /></td> |
... | ... | |
103 | 88 |
<td width="50%" align="left"><input type="file" size="27" name="file9" id="file9" style="visibility: visible;" /></td> |
104 | 89 |
<td width="50%" align="right"><input type="file" size="27" name="file10" id="file10" style="visibility: visible;" /></td> |
105 | 90 |
</tr> |
106 |
</table> |
|
107 |
</form> |
|
108 |
|
|
91 |
</table>
|
|
92 |
</form>
|
|
93 |
|
|
109 | 94 |
<!-- END main_block --> |
Also available in: Unified diff
next step to validate backend themes