Commit 702c241e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2009-06-18 Kazuhiko

* overrides frmresourceslist.html so as to use relative path for embedded images/files.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27644 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b6f01601
...@@ -144,7 +144,7 @@ oIcons.GetIcon = function( fileName )\n ...@@ -144,7 +144,7 @@ oIcons.GetIcon = function( fileName )\n
\t\t</frameset>\n \t\t</frameset>\n
\t\t<frameset rows="0,*,50" framespacing="0">\n \t\t<frameset rows="0,*,50" framespacing="0">\n
\t\t\t<frame name="frmActualFolder" src="editor/filemanager/browser/zope/frmactualfolder.html" scrolling="no" frameborder="no" />\n \t\t\t<frame name="frmActualFolder" src="editor/filemanager/browser/zope/frmactualfolder.html" scrolling="no" frameborder="no" />\n
\t\t\t<frame name="frmResourcesList" src="editor/filemanager/browser/zope/frmresourceslist.html" scrolling="auto" frameborder="yes" />\n \t\t\t<frame name="frmResourcesList" src="frmresourceslist.html" scrolling="auto" frameborder="yes" />\n
\t\t\t<frameset cols="0,*,0" framespacing="0" frameborder="no">\n \t\t\t<frameset cols="0,*,0" framespacing="0" frameborder="no">\n
\t\t\t\t<frame name="frmCreateFolder" src="editor/filemanager/browser/zope/frmcreatefolder.html" scrolling="no" frameborder="no" />\n \t\t\t\t<frame name="frmCreateFolder" src="editor/filemanager/browser/zope/frmcreatefolder.html" scrolling="no" frameborder="no" />\n
\t\t\t\t<frame name="frmUpload" src="editor/filemanager/browser/zope/frmupload.html" scrolling="no" frameborder="no" />\n \t\t\t\t<frame name="frmUpload" src="editor/filemanager/browser/zope/frmupload.html" scrolling="no" frameborder="no" />\n
......
...@@ -9,6 +9,12 @@ ...@@ -9,6 +9,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>connectors</string> </value> <value> <string>connectors</string> </value>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!--\n
* FCKeditor - The text editor for internet\n
* Copyright (C) 2003-2004 Frederico Caldeira Knabben\n
* \n
* Licensed under the terms of the GNU Lesser General Public License:\n
* \t\thttp://www.opensource.org/licenses/lgpl-license.php\n
* \n
* For further information visit:\n
* \t\thttp://www.fckeditor.net/\n
* \n
* File Name: frmresourceslist.html\n
* \tThis page shows all resources available in a folder in the File Browser.\n
* \n
* Version specifique Zope\n
* Modified: 2005-09-16\n
* \n
* File Authors:\n
* \t\tFrederico Caldeira Knabben (fredck@fckeditor.net)\n
* \t\tadaptation zope : jean-mat@macadames.com\n
-->\n
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\n
<html>\n
\t<head>\n
\t\t<link href="editor/filemanager/browser/zope/Browser.css" type="text/css" rel="stylesheet" />\n
\t\t<script type="text/javascript" src="editor/filemanager/browser/zope/js/common.js"></script>\n
\t\t<script language="javascript">\n
\n
function preview(url)\n
{\n
top_win = parseInt(screen.height/20) ;\n
left_win = parseInt(screen.width/20) ;\n
agt = navigator.userAgent.toLowerCase();\n
win_h = parseInt(screen.height/2) ;\n
win_w = parseInt(screen.width/2) ;\n
stringwin = "width=" + win_w + ",height=" + win_h + ",top=" + top_win + ",left=" + left_win + ",alwaysRaised=yes,toolbar=yes,scrollbars=yes,resizable";\n
inf = window.open(url,"inf",stringwin);\n
inf.blur();\n
inf.focus();\n
}\n
\n
\n
\n
\n
var oListManager = new Object() ;\n
\n
\n
// define the nb cell by row for new album presentation\n
// nb cells = frame width / cells width (approx. 130) \n
// gecko browsers only\n
\n
agt = navigator.userAgent.toLowerCase();\n
if (agt.indexOf(\'netscape\') != -1 || agt.indexOf(\'gecko\')!= -1)\n
{\n
frame_w = parseInt(self.innerWidth) ;\n
var nbCell = Math.floor (frame_w/140);\n
}\n
\n
else\n
{\n
var nbCell = 4;\n
}\n
\n
\n
\n
\n
\n
oListManager.Init = function()\n
{\n
\tthis.Table = document.getElementById(\'tableFiles\') ;\n
// init cellspacing and cellpading to standard values before changing resource type view\n
this.Table.cellPadding=\'0\' ;\n
this.Table.cellSpacing=\'1\' ;\n
}\n
\n
\n
\n
oListManager.Clear = function()\n
{\n
// reinit cellspacing and cellpading to standard values before changing resource type view\n
this.Table.cellPadding=\'0\' ;\n
this.Table.cellSpacing=\'1\' ;\n
\n
\t// Remove all other rows available.\n
\twhile ( this.Table.rows.length > 0 )\n
\t\tthis.Table.deleteRow(0) ;\n
}\n
\n
oListManager.AddFolder = function( folderName, folderTitle, folderPath, sType, sLinkbyuid, sUid, sMetatype )\n
{\n
\t// Create the new row.\n
\tvar oRow = this.Table.insertRow(-1) ;\n
\n
\t// Build the link to view the folder.\n
\tvar sLink = \'<a href="#" onclick="OpenFolder(\\\'\' + folderPath + \'\\\');return false;">\' ;\n
var sLinkFolder = \'\';\n
if (sType==\'File\') {\n
if (sLinkbyuid==\'yes\' && sUid !=\'\') {\n
sFolderUrl = \'./resolveUid/\' + sUid ;\n
}\n
else {\n
sFolderUrl = folderPath ;\n
}\n
sLinkFolder = \'Link the folder&nbsp;<a title="link the folder" href="#" onclick="OpenFile(\\\'\' + sFolderUrl + \'\\\');return false;"><img alt="link the folder" src="editor/filemanager/browser/zope/images/lier.gif" width="16" height="16" border="0"><\\/a>\' ;\n
}\n
if (sMetatype==\'CMF ZPhotoSlides\' || sMetatype==\'Photo Album\')\n
{\n
sMeta=\'&nbsp;(Photo album)\';\n
}\n
else if (sMetatype==\'PloneArticle\')\n
{\n
sMeta=\'&nbsp;(Plone Article attachements)\';\n
}\n
else \n
{\n
sMeta=\'\';\n
}\n
\n
\t// Add the folder icon cell.\n
\tvar oCell = oRow.insertCell(-1) ;\n
\toCell.width = 16 ;\n
\toCell.innerHTML = sLink + \'<img alt="" src="editor/filemanager/browser/zope/images/Folder.gif" width="16" height="16" border="0"><\\/a>\' ;\n
\n
\t// Add the folder name cell.\n
\toCell = oRow.insertCell(-1) ;\n
\toCell.noWrap = true ;\n
\toCell.innerHTML = \'&nbsp;\' + sLink + folderTitle + \'<\\/a>\'+ sMeta\n
\t// Add the link folder cell.\n
\toCell = oRow.insertCell(-1) ;\n
oCell.align = \'left\' ;\n
\toCell.noWrap = true ;\n
\toCell.innerHTML = sLinkFolder ;\n
\t// Add the size folder cell (empty)\n
\toCell = oRow.insertCell(-1) ;\n
oCell.align = \'right\' ;\n
\toCell.noWrap = true ;\n
\toCell.innerHTML = \'&nbsp;\' ;\n
\n
}\n
\n
oListManager.AddFile = function( fileName, fileTitle, filePhoto, fileUrl, realUrl, fileSize, sType, isPA3img )\n
{\n
\t// Create the new row.\n
\tvar oRow = this.Table.insertRow(-1) ;\n
\n
\t// Build the link to view the file.\n
var sLink = \'<a href="#" onclick="OpenFile(\\\'\' + fileUrl + \'\\\');return false;">\' ;\n
// Change the link if type is image since setUrl for images support more arguments\n
if (sType==\'Image\') {\n
\t sLink = \'<a href="#" onclick="OpenImage(\\\'\' + fileName + \'\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
}\n
\n
\t// Get the file icon.\n
\tvar sIcon = oIcons.GetIcon( fileName ) ;\n
var sPreview = \'&nbsp;Preview&nbsp;:&nbsp;<a title="click for preview" href="#" onclick="preview(\\\'\' + fileUrl + \'\\\');return false;"><img alt="click for preview" src="editor/filemanager/browser/zope/images/preview.gif" width="16" height="16" border="0"><\\/a>\' ;\n
\t// Add the file icon cell.\n
\tvar oCell = oRow.insertCell(-1) ;\n
\toCell.width = 16 ;\n
\toCell.innerHTML = sLink + \'<img alt="" src="editor/filemanager/browser/zope/images/icons/\' + sIcon + \'.gif" width="16" height="16" border="0"><\\/a>\' ;\n
\n
\t// Add the file name cell.\n
\toCell = oRow.insertCell(-1) ;\n
\toCell.innerHTML = \'&nbsp;\' + sLink + fileTitle + \'<\\/a>\' ;\n
if (filePhoto==\'yes\') {\n
var sLinkThumb = \'<a href="#" onclick="OpenImage(\\\'\' + realUrl + \'?size=thumb\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
var sLinkMedium = \'<a href="#" onclick="OpenImage(\\\'\' + realUrl + \'?size=medium\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
var sLinkFull = \'<a href="#" onclick="OpenImage(\\\'\' + fileUrl + \'\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
// Add the photo cell.\n
oCell = oRow.insertCell(-1) ;\n
oCell.innerHTML = \'Size&nbsp;:&nbsp;\' + sLinkThumb + \'small<\\/a>&nbsp;-&nbsp;\' + sLinkMedium + \'medium<\\/a>&nbsp;-&nbsp;\' + sLinkFull + \'full<\\/a>\' ;\n
}\n
else if (isPA3img==\'yes\')\n
{\n
var sLinkThumb = \'<a href="#" onclick="OpenImage(\\\'\' + realUrl + \'\\/image\\/thumb?width=100\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
var sLinkMedium = \'<a href="#" onclick="OpenImage(\\\'\' + realUrl + \'\\/image\\/thumb?width=300\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
var sLinkFull = \'<a href="#" onclick="OpenImage(\\\'\' + fileUrl + \'\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
// Add the photo cell.\n
oCell = oRow.insertCell(-1) ;\n
oCell.innerHTML = \'Size&nbsp;:&nbsp;\' + sLinkThumb + \'small<\\/a>&nbsp;-&nbsp;\' + sLinkMedium + \'medium<\\/a>&nbsp;-&nbsp;\' + sLinkFull + \'full<\\/a>\' ;\n
} \n
\n
// Add the preview cell\n
\toCell = oRow.insertCell(-1) ;\n
\toCell.noWrap = true ;\n
\toCell.align = \'left\' ;\n
\toCell.innerHTML = sPreview ;\n
\t\n
\t// Add the file size cell.\n
\toCell = oRow.insertCell(-1) ;\n
\toCell.noWrap = true ;\n
\toCell.align = \'right\' ;\n
\toCell.innerHTML = \'&nbsp;\' + fileSize ;\n
}\n
\n
oListManager.AddFolderToAlbum = function( folderName, folderTitle, folderPath, sType, sLinkbyuid, sUid, numCell, sMetatype )\n
{\n
\n
\n
//define table style\n
if (numCell==0)\n
{\n
\t this.Table.cellPadding=\'5\' ;\n
\t this.Table.cellSpacing=\'5\' ;\n
}\n
\n
\t// Create the new row.\n
if (numCell%nbCell==0)\n
{\n
\t var oRow = this.Table.insertRow(-1) ;\n
}\n
else\n
{\n
numRow = Math.floor (numCell/nbCell);\n
var oRow= this.Table.rows[numRow];\n
}\n
\n
\t// Build the link to browse the folder.\n
\tvar sLink = \'<a href="#" title="browse the folder" onclick="OpenFolder(\\\'\' + folderPath + \'\\\');return false;">\' ;\n
\n
\t// Add the folder icon cell.\n
if (sMetatype==\'CMF ZPhotoSlides\' || sMetatype==\'Photo Album\')\n
{\n
sIcon=\'images/FolderPhoto100.gif\';\n
}\n
else if (sMetatype==\'PloneArticle\')\n
{\n
sIcon=\'images/FolderPA100.gif\';\n
}\n
else \n
{\n
sIcon=\'images/Folder100.gif\';\n
}\n
\tvar oCell = oRow.insertCell(-1) ;\n
\toCell.width = 130 ;\n
oCell.height = 130;\n
oCell.noWrap = true ;\n
oCell.align = \'center\' ;\n
\toCell.innerHTML = sLink + \'<img alt="browse the folder" src="editor/filemanager/browser/zope/\' + sIcon + \'" width="100" height="100" border="0"><\\/a>\' + \'<br \\/>\' + sLink + folderTitle + \'<\\/a><br \\/>\' ;\n
\n
}\n
\n
oListManager.AddFileToAlbum = function( fileName, fileTitle, filePhoto, fileUrl, realUrl, fileSize, sType, isPA3img, numCell )\n
{\n
\n
\n
//define table style\n
if (numCell==0)\n
{\n
\t this.Table.cellPadding=\'5\' ;\n
\t this.Table.cellSpacing=\'5\' ;\n
}\n
\n
\t// Create the new row.\n
if (numCell%nbCell==0)\n
{\n
\t var oRow = this.Table.insertRow(-1) ;\n
}\n
else\n
{\n
numRow = Math.floor (numCell/nbCell);\n
var oRow= this.Table.rows[numRow];\n
}\n
// init sLinksPhoto\n
var sLinksPhoto=\'\' ;\n
\t// Build the link to view the file.\n
var sLink = \'<a title="link the file" href="#" onclick="OpenFile(\\\'\' + fileUrl + \'\\\');return false;">\' ;\n
// Change the link if type is image since setUrl for images support more arguments\n
if (sType==\'Image\') {\n
\t sLink = \'<a title="link the image" href="#" onclick="OpenImage(\\\'\' + fileName + \'\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
}\n
\n
\t// Get the thumb for album display\n
if (filePhoto==\'no\' && isPA3img==\'no\' )\n
{\n
var sIcon = realUrl ;\n
}\n
else if (isPA3img==\'yes\')\n
{\n
var sIcon = realUrl + \'/image/thumb?width=100\';\n
}\n
else {\n
var sIcon = realUrl + \'?size=thumb\';\n
}\n
\n
\n
sPreview = \'&nbsp;Preview&nbsp;:&nbsp;<a title="click for preview" href="#" onclick="preview(\\\'\' + fileUrl + \'\\\');return false;"><img alt="click for preview" src="editor/filemanager/browser/zope/images/preview.gif" width="16" height="16" border="0"><\\/a>\' ;\n
\n
if (filePhoto==\'yes\') {\n
var sLinkThumb = \'<a href="#" onclick="OpenImage(\\\'\' + realUrl + \'?size=thumb\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
var sLinkMedium = \'<a href="#" onclick="OpenImage(\\\'\' + realUrl + \'?size=medium\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
var sLinkFull = \'<a href="#" onclick="OpenImage(\\\'\' + fileUrl + \'\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
sLinksPhoto = \'Size&nbsp;:&nbsp;\' + sLinkThumb + \'small<\\/a>&nbsp;-&nbsp;\' + sLinkMedium + \'medium<\\/a>&nbsp;-&nbsp;\' + sLinkFull + \'full<\\/a>\' ;\n
}\n
\n
else if (isPA3img==\'yes\')\n
{\n
var sLinkThumb = \'<a href="#" onclick="OpenImage(\\\'\' + fileUrl + \'\\/image\\/thumb?width=100\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
var sLinkMedium = \'<a href="#" onclick="OpenImage(\\\'\' + fileUrl + \'\\/image\\/thumb?width=300\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
var sLinkFull = \'<a href="#" onclick="OpenImage(\\\'\' + fileUrl + \'\\\',\\\'\\\',\\\'\\\',\\\'\' + fileTitle + \'\\\');return false;">\' ;\n
sLinksPhoto = \'Size&nbsp;:&nbsp;\' + sLinkThumb + \'small<\\/a>&nbsp;-&nbsp;\' + sLinkMedium + \'medium<\\/a>&nbsp;-&nbsp;\' + sLinkFull + \'full<\\/a>\' ;\n
} \n
\n
\n
\t// Add the file icon cell.\n
\tvar oCell = oRow.insertCell(-1) ;\n
\toCell.width = 130 ; \n
oCell.height = 130;\n
oCell.align = \'center\' ;\n
\toCell.innerHTML = sLink + \'<img alt="" src="editor/filemanager/browser/zope/\' + sIcon + \'" width="100" height="100" border="0"><\\/a>\' + \'<br\\/>\' + sLink + fileTitle + \'<\\/a><br\\/>\' + sLinksPhoto + \'<br\\/>\' + sPreview + \'<br\\/>\' + fileSize ;\n
\n
}\n
\n
\n
\n
function OpenFolder( folderPath )\n
{\n
\t// Load the resources list for this folder.\n
\twindow.parent.frames[\'frmFolders\'].LoadFolders( folderPath ) ;\n
}\n
\n
function OpenFile( fileUrl )\n
{\n
\twindow.top.opener.SetUrl( fileUrl ) ;\n
\twindow.top.close() ;\n
\twindow.top.opener.focus() ;\n
}\n
\n
function OpenImage( fileUrl, fileWidth, fileHeight, fileTitle )\n
{\n
\twindow.top.opener.SetUrl( fileUrl, fileWidth, fileHeight, fileTitle ) ;\n
\twindow.top.close() ;\n
\twindow.top.opener.focus() ;\n
}\n
\n
function LoadResources( resourceType, folderPath )\n
{\n
\toListManager.Clear() ;\n
\toConnector.ResourceType = resourceType ;\n
\toConnector.CurrentFolder = folderPath\n
\toConnector.SendCommand( \'GetFoldersAndFiles\', null, GetFoldersAndFilesCallBack ) ;\n
}\n
\n
function Refresh()\n
{\n
\tLoadResources( oConnector.ResourceType, oConnector.CurrentFolder ) ;\n
}\n
\n
function GetFoldersAndFilesCallBack( fckXml )\n
{\n
\n
// Get the resourceType\n
\tvar sRootType\t= oConnector.ResourceType ;\n
\t// Get the current folder path.\n
\tvar oNode = fckXml.SelectSingleNode( \'Connector/CurrentFolder\' ) ;\n
\tvar sCurrentFolderPath\t= oNode.attributes.getNamedItem(\'path\').value ;\n
\tvar sCurrentFolderUrl\t= oNode.attributes.getNamedItem(\'url\').value ;\n
// need j to continue in the same row or table\n
var j= 0;\n
\n
\t// Add the Folders.\t\n
\tvar oNodes = fckXml.SelectNodes( \'Connector/Folders/Folder\' ) ;\n
\tfor ( var i = 0 ; i < oNodes.length ; i++ )\n
\t{\n
\t\tvar sFolderName = oNodes[i].attributes.getNamedItem(\'name\').value ;\n
\t\tvar sFolderTitle = oNodes[i].attributes.getNamedItem(\'title\').value ;\n
var sType = oNodes[i].attributes.getNamedItem(\'type\').value ;\n
var sMetatype = oNodes[i].attributes.getNamedItem(\'metatype\').value ;\n
var sLinkbyuid = oNodes[i].attributes.getNamedItem(\'linkbyuid\').value ;\n
var sUid = oNodes[i].attributes.getNamedItem(\'uid\').value ;\n
if (sRootType!= \'Image\')\n
{\n
\t\t oListManager.AddFolder( sFolderName, sFolderTitle, sCurrentFolderPath + sFolderName + "/", sType, sLinkbyuid, sUid, sMetatype ) ;\n
}\n
else\n
{\n
oListManager.AddFolderToAlbum( sFolderName, sFolderTitle, sCurrentFolderPath + sFolderName + "/", sType, sLinkbyuid, sUid, i, sMetatype ) ;\n
// need j to continue in the same row or table\n
j= i+1;\n
}\n
\t}\n
\t// Add the Files.\t\n
\tvar oNodes = fckXml.SelectNodes( \'Connector/Files/File\' ) ;\n
\tfor ( var i = 0 ; i < oNodes.length ; i++ )\n
\t{\n
\t\tvar sFileName = oNodes[i].attributes.getNamedItem(\'name\').value ;\n
\t\tvar sFileSize = oNodes[i].attributes.getNamedItem(\'size\').value ;\n
\t\tvar sFileTitle = oNodes[i].attributes.getNamedItem(\'title\').value ;\n
\t\tvar sFilePhoto = oNodes[i].attributes.getNamedItem(\'photo\').value ;\n
var sLinkbyuid = oNodes[i].attributes.getNamedItem(\'linkbyuid\').value ;\n
var sUid = oNodes[i].attributes.getNamedItem(\'uid\').value ;\n
var sType = oNodes[i].attributes.getNamedItem(\'type\').value ;\n
var sIsAttach = oNodes[i].attributes.getNamedItem(\'isattach\').value ;\n
var sIsPA3img = oNodes[i].attributes.getNamedItem(\'isPA3img\').value ;\n
var sAttachId = oNodes[i].attributes.getNamedItem(\'attachid\').value ;\n
var sFileUrl = sCurrentFolderUrl + sFileName ;\n
// for image thumbs\n
var sRealUrl= sFileUrl;\n
if (sLinkbyuid==\'yes\' && sUid !=\'\') {\n
sFileUrl = \'./resolveUid/\' + sUid ;\n
}\n
// special Plone Article v2 attachements\n
if (sLinkbyuid==\'no\' && sIsAttach==\'yes\' && sAttachId !=\'\') {\n
sFileUrl = sFileUrl +\'/\' + sAttachId ;\n
}\n
if (sAttachId !=\'\')\n
{\n
sFileName = sAttachId ;\n
}\n
\n
if (sRootType!= \'Image\')\n
{\n
\t\t oListManager.AddFile( sFileName, sFileTitle, sFilePhoto, sFileUrl, sRealUrl, sFileSize, sType, sIsPA3img ) ;\n
}\n
else\n
{\n
oListManager.AddFileToAlbum( sFileName, sFileTitle, sFilePhoto, sFileUrl, sRealUrl, sFileSize, sType, sIsPA3img, j+i ) ;\n
}\t\n
}\n
}\n
\n
window.onload = function()\n
{\n
\toListManager.Init() ;\n
\twindow.top.IsLoadedResourcesList = true ;\n
}\n
\t\t</script>\n
\t</head>\n
\t<body class="FileArea" bottomMargin="10" leftMargin="10" topMargin="10" rightMargin="10">\n
\t\t<table id="tableFiles" cellSpacing="1" cellPadding="0" width="100%" border="0">\n
\t\t</table>\n
\t</body>\n
</html>\n
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>frmresourceslist.html</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
768 769
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment