Revision 1161
Added by Dietmar over 14 years ago
frmresourceslist.html | ||
---|---|---|
29 | 29 |
<script type="text/javascript" src="js/common.js"></script> |
30 | 30 |
<script type="text/javascript"> |
31 | 31 |
|
32 |
|
|
33 |
|
|
34 |
|
|
32 | 35 |
var oListManager = new Object() ; |
33 | 36 |
|
34 | 37 |
oListManager.Clear = function() |
... | ... | |
63 | 66 |
{ |
64 | 67 |
// Build the link to view the folder. |
65 | 68 |
var sLink = '<a href="#" onclick="OpenFile(\'' + ProtectPath( fileUrl ) + '\');return false;">' ; |
69 |
var relLink = '<a href="'+fileUrl+'" rel="lightbox">' ; |
|
66 | 70 |
|
67 | 71 |
// Get the file icon. |
68 | 72 |
var sIcon = oIcons.GetIcon( fileName ) ; |
69 | 73 |
|
70 | 74 |
return '<tr>' + |
71 |
'<td width="16">' +
|
|
75 |
'<td class="icon">' +
|
|
72 | 76 |
sLink + |
73 | 77 |
'<img alt="" src="images/icons/' + sIcon + '.gif" width="16" height="16" border="0"><\/a>' + |
74 |
'<\/td><td> ' + |
|
78 |
'<\/td>'+ |
|
79 |
'<td class="thumbnail">' + |
|
75 | 80 |
sLink + |
81 |
'<img alt="" src="' + fileUrl + '" width="100"><\/a>' + |
|
82 |
'<\/td>' + |
|
83 |
'<td class="filename">' + |
|
84 |
sLink + |
|
76 | 85 |
fileName + |
77 | 86 |
'<\/a>' + |
78 |
'<\/td><td align="right" nowrap> ' + |
|
87 |
'<\/td>'+ |
|
88 |
'<td align="right" nowrap> ' + |
|
79 | 89 |
fileSize + |
80 | 90 |
' KB' + |
81 | 91 |
'<\/td><\/tr>' ; |
... | ... | |
89 | 99 |
|
90 | 100 |
function OpenFile( fileUrl ) |
91 | 101 |
{ |
92 |
window.top.opener.SetUrl( encodeURI( fileUrl ).replace( '#', '%23' ) ) ;
|
|
102 |
window.top.opener.SetUrl( fileUrl ) ;
|
|
93 | 103 |
window.top.close() ; |
94 | 104 |
window.top.opener.focus() ; |
95 | 105 |
} |
... | ... | |
145 | 155 |
|
146 | 156 |
// Get the optional "url" attribute. If not available, build the url. |
147 | 157 |
var oFileUrlAtt = oNodes[j].attributes.getNamedItem('url') ; |
148 |
var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : sCurrentFolderUrl + sFileName ;
|
|
158 |
var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : encodeURI( sCurrentFolderUrl + sFileName ).replace( /#/g, '%23' ) ;
|
|
149 | 159 |
|
150 |
// hide index.php in browse media - added for Website Baker |
|
151 |
if (sFileName != "index.php") |
|
152 |
{ |
|
153 |
oHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ; |
|
154 |
} |
|
160 |
oHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ; |
|
155 | 161 |
} |
156 | 162 |
|
157 | 163 |
oHtml.Append( '<\/table>' ) ; |
... | ... | |
166 | 172 |
{ |
167 | 173 |
window.top.IsLoadedResourcesList = true ; |
168 | 174 |
} |
175 |
|
|
169 | 176 |
</script> |
170 | 177 |
</head> |
171 | 178 |
<body class="FileArea"> |
Also available in: Unified diff
new update FCKeditor to Version 2.6.5 Modulversion 2.9.1