Revision 1289
Added by kweitzel over 14 years ago
media_browse.htt | ||
---|---|---|
1 |
<!-- BEGIN main_block --> |
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
4 |
<head> |
|
5 |
<title>Browse Media</title> |
|
6 |
<link href="{THEME_URL}/media.css" rel="stylesheet" type="text/css" /> |
|
7 |
<script language="javascript" type="text/javascript"> |
|
8 |
function confirm_link(message, url) { |
|
9 |
if(confirm(message)) location.href = url; |
|
10 |
} |
|
11 |
</script> |
|
12 |
|
|
13 |
<link href="{THEME_URL}/fancybox.css" rel="stylesheet" type="text/css" /> |
|
14 |
|
|
15 |
<script type="text/javascript" src="{INCLUDE_PATH}/jquery/jquery-min.js"></script> |
|
16 |
<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-fixedheader.js"></script> |
|
17 |
<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-fancybox.js"></script> |
|
18 |
<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-metadata.js"></script> |
|
19 |
|
|
20 |
<script language="javascript" type="text/javascript"> |
|
21 |
$(document).ready(function(){ |
|
22 |
$("#browser").fixedHeader({ |
|
23 |
width: '100%', height: 355 |
|
24 |
}); |
|
25 |
|
|
26 |
$("table#browser a.preview").fancybox({ |
|
27 |
'hideOnContentClick': true, |
|
28 |
'overlayShow': true, |
|
29 |
'zoomSpeedIn': 0, |
|
30 |
'zoomSpeedOut': 0 |
|
31 |
}); |
|
32 |
}) |
|
33 |
</script> |
|
34 |
|
|
35 |
</head> |
|
36 |
<body onload="parent.document.create.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}'; parent.document.upload.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}';"> |
|
37 |
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="browse_header"> |
|
38 |
<tr> |
|
39 |
<td align="left" width="100"> |
|
40 |
<a href="{PARENT_DIR_LINK}"> |
|
41 |
<img src="{THEME_URL}/images/up_folder_16.png" border="0" class="{DISPLAY_UP_ARROW}" alt="^" align="absmiddle" /> |
|
42 |
</a> |
|
43 |
<a href="{PARENT_DIR_LINK}" class="{DISPLAY_UP_ARROW}"> |
|
44 |
{TEXT_UP} |
|
45 |
</a> |
|
46 |
</td> |
|
47 |
<td align="center"> |
|
48 |
{TEXT_CURRENT_FOLDER}: {MEDIA_DIRECTORY}{CURRENT_DIR} |
|
49 |
</td> |
|
50 |
<td align="right" width="100" > |
|
51 |
<a href="browse.php?dir={CURRENT_DIR}"> |
|
52 |
<img src="{THEME_URL}/images/reload_16.png" border="0" alt="" align="absmiddle" /> |
|
53 |
</a> |
|
54 |
<a id="reload" href="browse.php?dir={CURRENT_DIR}"> |
|
55 |
{TEXT_RELOAD} |
|
56 |
</a> |
|
57 |
</td> |
|
58 |
</tr> |
|
59 |
</table> |
|
60 |
|
|
61 |
<table id="browser" cellpadding="4" cellspacing="0" border="0" width="100%" class="{DISPLAY_LIST_TABLE}"> |
|
62 |
<thead> |
|
63 |
<tr style="background-color: #EEE;"> |
|
64 |
<th width="18" class="headline">{TEXT_TYPE}</th> |
|
65 |
<th align="left" class="headline">{TEXT_NAME}</th> |
|
66 |
<th align="right" width="80" class="headline">{TEXT_SIZE}</th> |
|
67 |
<th align="right" width="80" class="headline">{TEXT_DATE}</th> |
|
68 |
<th align="right" width="40" class="headline">{TEXT_RENAME}</th> |
|
69 |
<th align="right" width="40" class="headline">{TEXT_DELETE}</th> |
|
70 |
</tr> |
|
71 |
</thead> |
|
72 |
<tbody> |
|
73 |
<!-- BEGIN list_block --> |
|
74 |
<tr style="background-color: #{ROW_BG_COLOR};" onmouseover="this.style.backgroundColor = '#F1F8DD'" onmouseout="this.style.backgroundColor = '#{ROW_BG_COLOR}'"> |
|
75 |
<td style="padding-left: 10px;"> |
|
76 |
<img src="{FILETYPE_ICON}" class="{DISPLAY_ICON}" border="0" alt="" /> |
|
77 |
</td> |
|
78 |
<td> |
|
79 |
<a href="{LINK}" target="{LINK_TARGET}" class="{PREVIEW}"> |
|
80 |
{NAME} |
|
81 |
</a> |
|
82 |
</td> |
|
83 |
<td align="right" style="font-size: 10px;">{SIZE}</td> |
|
84 |
<td align="right" style="font-size: 10px;">{DATE}</td> |
|
85 |
<td align="right" class="{DISPLAY_RENAME}"> |
|
86 |
<a href="rename.php?dir={CURRENT_DIR}&id={TEMP_ID}" title="{TEXT_RENAME}"> |
|
87 |
<img src="{THEME_URL}/images/modify_16.png" alt="" border="0" /> |
|
88 |
</a> |
|
89 |
</td> |
|
90 |
<td style="padding-right: 5px;" align="right" class="{DISPLAY_DELETE}"> |
|
91 |
<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}&id={TEMP_ID}');" title="{TEXT_DELETE}"> |
|
92 |
<img src="{THEME_URL}/images/delete_16.png" alt="" border="0" /> |
|
93 |
</a> |
|
94 |
</td> |
|
95 |
</tr> |
|
96 |
<!-- END list_block --> |
|
97 |
</table> |
|
98 |
|
|
99 |
<span class="{DISPLAY_NONE_FOUND}"> |
|
100 |
<br /> |
|
101 |
|
|
102 |
{NONE_FOUND} |
|
103 |
</span> |
|
104 |
|
|
105 |
</body> |
|
106 |
</html> |
|
107 |
|
|
1 |
<!-- BEGIN main_block --> |
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
4 |
<head> |
|
5 |
<title>Browse Media</title> |
|
6 |
<link href="{THEME_URL}/media.css" rel="stylesheet" type="text/css" /> |
|
7 |
<link href="{THEME_URL}/jquery/plugins/fancybox/fancybox.css" rel="stylesheet" type="text/css" /> |
|
8 |
<script type="text/javascript"> |
|
9 |
function confirm_link(message, url) { |
|
10 |
if(confirm(message)) location.href = url; |
|
11 |
} |
|
12 |
</script> |
|
13 |
|
|
14 |
<script src="{INCLUDE_PATH}/jquery/jquery-min.js" type="text/javascript"></script> |
|
15 |
<script src="{THEME_URL}/jquery/jquery-fixedheader.js" type="text/javascript"></script> |
|
16 |
<script src="{THEME_URL}/jquery/plugins/fancybox/jquery-fancybox.js" type="text/javascript"></script> |
|
17 |
<script src="{THEME_URL}/jquery/jquery-metadata.js" type="text/javascript"></script> |
|
18 |
|
|
19 |
<script language="javascript" type="text/javascript"> |
|
20 |
$(document).ready(function(){ |
|
21 |
$("#browser").fixedHeader({ |
|
22 |
width: '100%', height: 355 |
|
23 |
}); |
|
24 |
|
|
25 |
$("table#browser a.preview").fancybox({ |
|
26 |
'hideOnContentClick': true, |
|
27 |
'overlayShow': true, |
|
28 |
'zoomSpeedIn': 0, |
|
29 |
'zoomSpeedOut': 0 |
|
30 |
}); |
|
31 |
}) |
|
32 |
</script> |
|
33 |
|
|
34 |
</head> |
|
35 |
<body onload="parent.document.create.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}'; parent.document.upload.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}';"> |
|
36 |
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="browse_header"> |
|
37 |
<tr> |
|
38 |
<td align="left" width="100"> |
|
39 |
<a href="{PARENT_DIR_LINK}"> |
|
40 |
<img src="{THEME_URL}/images/up_folder_16.png" border="0" class="{DISPLAY_UP_ARROW}" alt="^" align="absmiddle" /> |
|
41 |
</a> |
|
42 |
<a href="{PARENT_DIR_LINK}" class="{DISPLAY_UP_ARROW}"> |
|
43 |
{TEXT_UP} |
|
44 |
</a> |
|
45 |
</td> |
|
46 |
<td align="center"> |
|
47 |
{TEXT_CURRENT_FOLDER}: {MEDIA_DIRECTORY}{CURRENT_DIR} |
|
48 |
</td> |
|
49 |
<td align="right" width="100" > |
|
50 |
<a href="browse.php?dir={CURRENT_DIR}"> |
|
51 |
<img src="{THEME_URL}/images/reload_16.png" border="0" alt="" align="absmiddle" /> |
|
52 |
</a> |
|
53 |
<a id="reload" href="browse.php?dir={CURRENT_DIR}"> |
|
54 |
{TEXT_RELOAD} |
|
55 |
</a> |
|
56 |
</td> |
|
57 |
</tr> |
|
58 |
</table> |
|
59 |
|
|
60 |
<table id="browser" cellpadding="4" cellspacing="0" border="0" width="100%" class="{DISPLAY_LIST_TABLE}"> |
|
61 |
<thead> |
|
62 |
<tr style="background-color: #EEE;"> |
|
63 |
<th width="18" class="headline">{TEXT_TYPE}</th> |
|
64 |
<th align="left" class="headline">{TEXT_NAME}</th> |
|
65 |
<th align="right" width="80" class="headline">{TEXT_SIZE}</th> |
|
66 |
<th align="right" width="80" class="headline">{TEXT_DATE}</th> |
|
67 |
<th align="right" width="40" class="headline">{TEXT_RENAME}</th> |
|
68 |
<th align="right" width="40" class="headline">{TEXT_DELETE}</th> |
|
69 |
</tr> |
|
70 |
</thead> |
|
71 |
<tbody> |
|
72 |
<!-- BEGIN list_block --> |
|
73 |
<tr style="background-color: #{ROW_BG_COLOR}" onmouseover="this.style.backgroundColor = '#F1F8DD'" onmouseout="this.style.backgroundColor = '#{ROW_BG_COLOR}'"> |
|
74 |
<td style="padding-left: 10px;"> |
|
75 |
<img src="{FILETYPE_ICON}" class="{DISPLAY_ICON}" border="0" alt="" /> |
|
76 |
</td> |
|
77 |
<td> |
|
78 |
<a href="{LINK}" target="{LINK_TARGET}" class="{PREVIEW}"> |
|
79 |
{NAME} |
|
80 |
</a> |
|
81 |
</td> |
|
82 |
<td align="right" style="font-size: 10px;">{SIZE}</td> |
|
83 |
<td align="right" style="font-size: 10px;">{DATE}</td> |
|
84 |
<td align="right" class="{DISPLAY_RENAME}"> |
|
85 |
<a href="rename.php?dir={CURRENT_DIR}&id={TEMP_ID}" title="{TEXT_RENAME}"> |
|
86 |
<img src="{THEME_URL}/images/modify_16.png" alt="" border="0" /> |
|
87 |
</a> |
|
88 |
</td> |
|
89 |
<td style="padding-right: 5px;" align="right" class="{DISPLAY_DELETE}"> |
|
90 |
<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}&id={TEMP_ID}');" title="{TEXT_DELETE}"> |
|
91 |
<img src="{THEME_URL}/images/delete_16.png" alt="" border="0" /> |
|
92 |
</a> |
|
93 |
</td> |
|
94 |
</tr> |
|
95 |
<!-- END list_block --> |
|
96 |
</table> |
|
97 |
|
|
98 |
<span class="{DISPLAY_NONE_FOUND}"> |
|
99 |
<br /> |
|
100 |
|
|
101 |
{NONE_FOUND} |
|
102 |
</span> |
|
103 |
|
|
104 |
</body> |
|
105 |
</html> |
|
106 |
|
|
108 | 107 |
<!-- END main_block --> |
Also available in: Unified diff
Branch 2.8.1 merged back into Trunk