Revision 1253
Added by Dietmar 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 |
<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 |
|
|
108 | 108 |
<!-- END main_block --> |
Also available in: Unified diff
fix some more small css-errors in WB Backend (thanks to Ruebenwurzel)