Project

General

Profile

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}" selected="selected">{MEDIA_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}" selected="selected">{MEDIA_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>
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>
107
</form>
108

    
109
<!-- END main_block -->
(14-14/31)