From: Thyamad c. <th...@us...> - 2005-09-29 19:50:25
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv563/thywidgets/external/fckeditor/editor/filemanager/browser/default Modified Files: browser.html frmactualfolder.html frmcreatefolder.html frmfolders.html frmresourceslist.html frmresourcetype.html frmupload.html Added Files: browser.css Log Message: Commiting file additions and modification from SVN revision 2028 to 2029... Changes made by frank on 2005-09-29 21:42:57 +0200 (Thu, 29 Sep 2005) corresponding to SVN revision 2029 with message: updating fckeditor in dynapi Index: frmfolders.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/frmfolders.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** frmfolders.html 1 Sep 2005 18:15:42 -0000 1.4 --- frmfolders.html 29 Sep 2005 19:49:18 -0000 1.5 *************** *** 1,5 **** ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: --- 1,5 ---- ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: *************** *** 13,26 **** * of the current folder. * - * Version: 2.0 RC3 - * Modified: 2005-02-25 22:01:23 - * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> ! <link href="Browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> --- 13,23 ---- * of the current folder. * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> ! <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> *************** *** 152,155 **** --- 149,155 ---- function GetFoldersCallBack( fckXml ) { + if ( oConnector.CheckError( fckXml ) != 0 ) + return ; + // Get the current folder path. var oNode = fckXml.SelectSingleNode( 'Connector/CurrentFolder' ) ; Index: frmactualfolder.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/frmactualfolder.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** frmactualfolder.html 1 Sep 2005 18:15:42 -0000 1.4 --- frmactualfolder.html 29 Sep 2005 19:49:18 -0000 1.5 *************** *** 1,5 **** ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: --- 1,5 ---- ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: *************** *** 12,25 **** * This page shows the actual folder path. * - * Version: 2.0 RC3 - * Modified: 2005-02-25 22:01:23 - * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> ! <link href="Browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript"> --- 12,22 ---- * This page shows the actual folder path. * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> ! <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript"> Index: browser.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/browser.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** browser.html 1 Sep 2005 18:15:42 -0000 1.4 --- browser.html 29 Sep 2005 19:49:18 -0000 1.5 *************** *** 1,5 **** ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: --- 1,5 ---- ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: *************** *** 12,26 **** * This page compose the File Browser dialog frameset. * - * Version: 2.0 RC3 - * Modified: 2005-02-25 22:01:23 - * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>FCKeditor - Resources Browser</title> ! <link href="Browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/fckxml.js"></script> <script language="javascript"> --- 12,23 ---- * This page compose the File Browser dialog frameset. * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>FCKeditor - Resources Browser</title> ! <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/fckxml.js"></script> <script language="javascript"> *************** *** 46,50 **** sConnUrl = window.location.href.replace( /browser.html.*$/, '' ) + sConnUrl ; ! oConnector.ConnectorUrl = sConnUrl + '?' ; var sServerPath = GetUrlParam( 'ServerPath' ) ; --- 43,47 ---- sConnUrl = window.location.href.replace( /browser.html.*$/, '' ) + sConnUrl ; ! oConnector.ConnectorUrl = sConnUrl + ( sConnUrl.indexOf('?') != -1 ? '&' : '?' ) ; var sServerPath = GetUrlParam( 'ServerPath' ) ; *************** *** 74,77 **** --- 71,110 ---- } + oConnector.CheckError = function( responseXml ) + { + var iErrorNumber = 0 + var oErrorNode = responseXml.SelectSingleNode( 'Connector/Error' ) ; + + if ( oErrorNode ) + { + iErrorNumber = parseInt( oErrorNode.attributes.getNamedItem('number').value ) ; + + switch ( iErrorNumber ) + { + case 0 : + break ; + case 1 : // Custom error. Message placed in the "text" attribute. + alert( oErrorNode.attributes.getNamedItem('text').value ) ; + break ; + case 101 : + alert( 'Folder already exists' ) ; + break ; + case 102 : + alert( 'Invalid folder name' ) ; + break ; + case 103 : + alert( 'You have no permissions to create the folder' ) ; + break ; + case 110 : + alert( 'Unknown error creating folder' ) ; + break ; + default : + alert( 'Error on your request. Error number: ' + iErrorNumber ) ; + break ; + } + } + return iErrorNumber ; + } + var oIcons = new Object() ; *************** *** 107,111 **** <frame name="frmCreateFolder" src="frmcreatefolder.html" scrolling="no" frameborder="no"> <frame name="frmUpload" src="frmupload.html" scrolling="no" frameborder="no"> ! <frame name="frmUploadWorker" src="" scrolling="no" frameborder="no"> </frameset> </frameset> --- 140,144 ---- <frame name="frmCreateFolder" src="frmcreatefolder.html" scrolling="no" frameborder="no"> <frame name="frmUpload" src="frmupload.html" scrolling="no" frameborder="no"> ! <frame name="frmUploadWorker" src="../../../fckblank.html" scrolling="no" frameborder="no"> </frameset> </frameset> Index: frmresourcetype.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/frmresourcetype.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** frmresourcetype.html 1 Sep 2005 18:15:42 -0000 1.4 --- frmresourcetype.html 29 Sep 2005 19:49:18 -0000 1.5 *************** *** 1,5 **** ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: --- 1,5 ---- ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: *************** *** 12,26 **** * This page shows the list of available resource types. * - * Version: 2.0 RC3 - * Modified: 2005-02-25 22:01:23 - * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> ! <link href="Browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> --- 12,23 ---- * This page shows the list of available resource types. * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> ! <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> Index: frmresourceslist.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/frmresourceslist.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** frmresourceslist.html 1 Sep 2005 18:15:42 -0000 1.4 --- frmresourceslist.html 29 Sep 2005 19:49:18 -0000 1.5 *************** *** 1,5 **** ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: --- 1,5 ---- ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: *************** *** 12,25 **** * This page shows all resources available in a folder in the File Browser. * - * Version: 2.0 RC3 - * Modified: 2005-02-25 22:01:23 - * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> ! <link href="Browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> --- 12,22 ---- * This page shows all resources available in a folder in the File Browser. * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> ! <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> *************** *** 114,117 **** --- 111,117 ---- function GetFoldersAndFilesCallBack( fckXml ) { + if ( oConnector.CheckError( fckXml ) != 0 ) + return ; + // Get the current folder path. var oNode = fckXml.SelectSingleNode( 'Connector/CurrentFolder' ) ; Index: frmcreatefolder.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** frmcreatefolder.html 1 Sep 2005 18:15:42 -0000 1.4 --- frmcreatefolder.html 29 Sep 2005 19:49:18 -0000 1.5 *************** *** 1,5 **** ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: --- 1,5 ---- ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: *************** *** 12,26 **** * Page used to create new folders in the current folder. * - * Version: 2.0 RC3 - * Modified: 2005-02-25 22:01:23 - * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> ! <link href="Browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> --- 12,23 ---- * Page used to create new folders in the current folder. * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> ! <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> *************** *** 53,56 **** --- 50,57 ---- function CreateFolderCallBack( fckXml ) { + if ( oConnector.CheckError( fckXml ) == 0 ) + window.parent.frames['frmResourcesList'].Refresh() ; + + /* // Get the current folder path. var oNode = fckXml.SelectSingleNode( 'Connector/Error' ) ; *************** *** 78,81 **** --- 79,83 ---- break ; } + */ } --- NEW FILE: browser.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: browser.css * CSS styles used by all pages that compose the File Browser. * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ body { background-color: #f1f1e3; } form { margin: 0px 0px 0px 0px ; padding: 0px 0px 0px 0px ; } .Frame { background-color: #f1f1e3; border-color: #f1f1e3; border-right: thin inset; border-top: thin inset; border-left: thin inset; border-bottom: thin inset; } body.FileArea { background-color: #ffffff; } body, td, input, select { font-size: 11px; font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; } .ActualFolder { font-weight: bold; font-size: 14px; } .PopupButtons { border-top: #d5d59d 1px solid; background-color: #e3e3c7; padding: 7px 10px 7px 10px; } .Button, button { border-right: #737357 1px solid; border-top: #737357 1px solid; border-left: #737357 1px solid; color: #3b3b1f; border-bottom: #737357 1px solid; background-color: #c7c78f; } .FolderListCurrentFolder img { background-image: url(images/FolderOpened.gif); } .FolderListFolder img { background-image: url(images/Folder.gif); } Index: frmupload.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/frmupload.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** frmupload.html 1 Sep 2005 18:15:42 -0000 1.4 --- frmupload.html 29 Sep 2005 19:49:18 -0000 1.5 *************** *** 1,5 **** ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: --- 1,5 ---- ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: *************** *** 12,25 **** * Page used to upload new files in the current folder. * - * Version: 2.0 RC3 - * Modified: 2004-11-29 16:04:32 - * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> ! <link href="Browser.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> --- 12,22 ---- * Page used to upload new files in the current folder. * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> ! <link href="browser.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="js/common.js"></script> <script language="javascript"> |