You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(34) |
Sep
(302) |
Oct
(13) |
Nov
(35) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(56) |
Feb
(12) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Raphael D. P. <rap...@us...> - 2005-09-01 19:04:25
|
Update of /cvsroot/thyapi/thyapi/doc/styles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6813/doc/styles Log Message: Directory /cvsroot/thyapi/thyapi/doc/styles added to the repository |
From: Raphael D. P. <rap...@us...> - 2005-09-01 19:04:25
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/jscalendar/skins/aqua In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6813/thywidgets/external/jscalendar/skins/aqua Log Message: Directory /cvsroot/thyapi/thyapi/thywidgets/external/jscalendar/skins/aqua added to the repository |
From: Raphael D. P. <rap...@us...> - 2005-09-01 19:04:25
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6813/thywidgets/external/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts Log Message: Directory /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts added to the repository |
From: Raphael D. P. <rap...@us...> - 2005-09-01 19:04:24
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/plugins/placeholder/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6813/thywidgets/external/fckeditor/editor/plugins/placeholder/lang Log Message: Directory /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/plugins/placeholder/lang added to the repository |
From: Raphael D. P. <rap...@us...> - 2005-09-01 19:04:24
|
Update of /cvsroot/thyapi/thyapi/doc/natdoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6813/doc/natdoc Log Message: Directory /cvsroot/thyapi/thyapi/doc/natdoc added to the repository |
From: Raphael D. P. <rap...@us...> - 2005-09-01 19:04:23
|
Update of /cvsroot/thyapi/thyapi/doc/javascript In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6813/doc/javascript Log Message: Directory /cvsroot/thyapi/thyapi/doc/javascript added to the repository |
From: Raphael D. P. <rap...@us...> - 2005-09-01 19:04:23
|
Update of /cvsroot/thyapi/thyapi/doc/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6813/doc/files Log Message: Directory /cvsroot/thyapi/thyapi/doc/files added to the repository |
From: Raphael D. P. <rap...@us...> - 2005-09-01 19:04:23
|
Update of /cvsroot/thyapi/thyapi/api/ext In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6813/api/ext Log Message: Directory /cvsroot/thyapi/thyapi/api/ext added to the repository |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:02
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/filemanager/browser/default Added Files: Browser.css browser.html frmactualfolder.html frmcreatefolder.html frmfolders.html frmresourceslist.html frmresourcetype.html frmupload.html Log Message: Synching... --- NEW FILE: frmfolders.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: frmfolders.html * This page shows the list of folders available in the parent folder * 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"> var sActiveFolder ; var bIsLoaded = false ; var iIntervalId ; var oListManager = new Object() ; oListManager.Init = function() { this.Table = document.getElementById('tableFiles') ; this.UpRow = document.getElementById('trUp') ; this.TableRows = new Object() ; } oListManager.Clear = function() { // Remove all other rows available. while ( this.Table.rows.length > 1 ) this.Table.deleteRow(1) ; // Reset the TableRows collection. this.TableRows = new Object() ; } oListManager.AddItem = function( folderName, folderPath ) { // Create the new row. var oRow = this.Table.insertRow(-1) ; oRow.className = 'FolderListFolder' ; // Build the link to view the folder. var sLink = '<a href="#" onclick="OpenFolder(\'' + folderPath + '\');return false;">' ; // Add the folder icon cell. var oCell = oRow.insertCell(-1) ; oCell.width = 16 ; oCell.innerHTML = sLink + '<img alt="" src="images/spacer.gif" width="16" height="16" border="0"></a>' ; // Add the folder name cell. oCell = oRow.insertCell(-1) ; oCell.noWrap = true ; oCell.innerHTML = ' ' + sLink + folderName + '</a>' ; this.TableRows[ folderPath ] = oRow ; } oListManager.ShowUpFolder = function( upFolderPath ) { this.UpRow.style.display = ( upFolderPath != null ? '' : 'none' ) ; if ( upFolderPath != null ) { document.getElementById('linkUpIcon').onclick = document.getElementById('linkUp').onclick = function() { LoadFolders( upFolderPath ) ; return false ; } } } function CheckLoaded() { if ( window.top.IsLoadedActualFolder && window.top.IsLoadedCreateFolder && window.top.IsLoadedUpload && window.top.IsLoadedResourcesList ) { window.clearInterval( iIntervalId ) ; bIsLoaded = true ; OpenFolder( sActiveFolder ) ; } } function OpenFolder( folderPath ) { sActiveFolder = folderPath ; if ( ! bIsLoaded ) { if ( ! iIntervalId ) iIntervalId = window.setInterval( CheckLoaded, 100 ) ; return ; } // Change the style for the select row (to show the opened folder). for ( var sFolderPath in oListManager.TableRows ) { oListManager.TableRows[ sFolderPath ].className = ( sFolderPath == folderPath ? 'FolderListCurrentFolder' : 'FolderListFolder' ) ; } // Set the current folder in all frames. window.parent.frames['frmActualFolder'].SetCurrentFolder( oConnector.ResourceType, folderPath ) ; window.parent.frames['frmCreateFolder'].SetCurrentFolder( oConnector.ResourceType, folderPath ) ; window.parent.frames['frmUpload'].SetCurrentFolder( oConnector.ResourceType, folderPath ) ; // Load the resources list for this folder. window.parent.frames['frmResourcesList'].LoadResources( oConnector.ResourceType, folderPath ) ; } function LoadFolders( folderPath ) { // Clear the folders list. oListManager.Clear() ; // Get the parent folder path. var sParentFolderPath ; if ( folderPath != '/' ) sParentFolderPath = folderPath.substring( 0, folderPath.lastIndexOf( '/', folderPath.length - 2 ) + 1 ) ; // Show/Hide the Up Folder. oListManager.ShowUpFolder( sParentFolderPath ) ; if ( folderPath != '/' ) { sActiveFolder = folderPath ; oConnector.CurrentFolder = sParentFolderPath oConnector.SendCommand( 'GetFolders', null, GetFoldersCallBack ) ; } else OpenFolder( '/' ) ; } function GetFoldersCallBack( fckXml ) { // Get the current folder path. var oNode = fckXml.SelectSingleNode( 'Connector/CurrentFolder' ) ; var sCurrentFolderPath = oNode.attributes.getNamedItem('path').value ; var oNodes = fckXml.SelectNodes( 'Connector/Folders/Folder' ) ; for ( var i = 0 ; i < oNodes.length ; i++ ) { var sFolderName = oNodes[i].attributes.getNamedItem('name').value ; oListManager.AddItem( sFolderName, sCurrentFolderPath + sFolderName + "/" ) ; } OpenFolder( sActiveFolder ) ; } function SetResourceType( type ) { oConnector.ResourceType = type ; LoadFolders( '/' ) ; } window.onload = function() { oListManager.Init() ; LoadFolders( '/' ) ; } </script> </head> <body class="FileArea" bottomMargin="10" leftMargin="10" topMargin="10" rightMargin="10"> <table id="tableFiles" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr id="trUp" style="DISPLAY: none"> <td width="16"><a id="linkUpIcon" href="#"><img alt="" src="images/FolderUp.gif" width="16" height="16" border="0"></a></td> <td nowrap width="100%"> <a id="linkUp" href="#">..</a></td> </tr> </table> </body> </html> --- NEW FILE: frmactualfolder.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: frmactualfolder.html * 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"> function OnResize() { divName.style.width = "1px" ; divName.style.width = tdName.offsetWidth + "px" ; } function SetCurrentFolder( resourceType, folderPath ) { document.getElementById('tdName').innerHTML = folderPath ; } window.onload = function() { window.top.IsLoadedActualFolder = true ; } </script> </head> <body bottomMargin="0" topMargin="0"> <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td> <button style="WIDTH: 100%" type="button"> <table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td><img height="32" alt="" src="images/FolderOpened32.gif" width="32"></td> <td> </td> <td id="tdName" width="100%" nowrap class="ActualFolder">/</td> <td> </td> <td><img height="8" src="images/ButtonArrow.gif" width="12"></td> <td> </td> </tr> </table> </button> </td> </tr> </table> </body> </html> --- NEW FILE: browser.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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.html * 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"> function GetUrlParam( paramName ) { var oRegex = new RegExp( '[\?&]' + paramName + '=([^&]+)', 'i' ) ; var oMatch = oRegex.exec( window.top.location.search ) ; if ( oMatch && oMatch.length > 1 ) return oMatch[1] ; else return '' ; } var oConnector = new Object() ; oConnector.CurrentFolder = '/' ; var sConnUrl = GetUrlParam( 'Connector' ) ; // Gecko has some problems when using relative URLs (not starting with slash). if ( sConnUrl.substr(0,1) != '/' && sConnUrl.indexOf( '://' ) < 0 ) sConnUrl = window.location.href.replace( /browser.html.*$/, '' ) + sConnUrl ; oConnector.ConnectorUrl = sConnUrl + '?' ; var sServerPath = GetUrlParam( 'ServerPath' ) ; if ( sServerPath.length > 0 ) oConnector.ConnectorUrl += 'ServerPath=' + escape( sServerPath ) + '&' ; oConnector.ResourceType = GetUrlParam( 'Type' ) ; oConnector.ShowAllTypes = ( oConnector.ResourceType.length == 0 ) ; if ( oConnector.ShowAllTypes ) oConnector.ResourceType = 'File' ; oConnector.SendCommand = function( command, params, callBackFunction ) { var sUrl = this.ConnectorUrl + 'Command=' + command ; sUrl += '&Type=' + this.ResourceType ; sUrl += '&CurrentFolder=' + escape( this.CurrentFolder ) ; if ( params ) sUrl += '&' + params ; var oXML = new FCKXml() ; if ( callBackFunction ) oXML.LoadUrl( sUrl, callBackFunction ) ; // Asynchronous load. else return oXML.LoadUrl( sUrl ) ; } var oIcons = new Object() ; oIcons.AvailableIconsArray = [ 'ai','avi','bmp','cs','dll','doc','exe','fla','gif','htm','html','jpg','js', 'mdb','mp3','pdf','ppt','rdp','swf','swt','txt','vsd','xls','xml','zip' ] ; oIcons.AvailableIcons = new Object() ; for ( var i = 0 ; i < oIcons.AvailableIconsArray.length ; i++ ) oIcons.AvailableIcons[ oIcons.AvailableIconsArray[i] ] = true ; oIcons.GetIcon = function( fileName ) { var sExtension = fileName.substr( fileName.lastIndexOf('.') + 1 ).toLowerCase() ; if ( this.AvailableIcons[ sExtension ] == true ) return sExtension ; else return 'default.icon' ; } </script> </head> <frameset cols="150,*" class="Frame" framespacing="3" bordercolor="#f1f1e3" frameborder="yes"> <frameset rows="50,*" framespacing="0"> <frame src="frmresourcetype.html" scrolling="no" frameborder="no"> <frame name="frmFolders" src="frmfolders.html" scrolling="auto" frameborder="yes"> </frameset> <frameset rows="50,*,50" framespacing="0"> <frame name="frmActualFolder" src="frmactualfolder.html" scrolling="no" frameborder="no"> <frame name="frmResourcesList" src="frmresourceslist.html" scrolling="auto" frameborder="yes"> <frameset cols="150,*,0" framespacing="0" frameborder="no"> <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> </frameset> </html> --- NEW FILE: frmresourcetype.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: frmresourcetype.html * 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"> function SetResourceType( type ) { window.parent.frames["frmFolders"].SetResourceType( type ) ; } var aTypes = [ ['File','File'], ['Image','Image'], ['Flash','Flash'], ['Media','Media'] ] ; window.onload = function() { for ( var i = 0 ; i < aTypes.length ; i++ ) { if ( oConnector.ShowAllTypes || aTypes[i][0] == oConnector.ResourceType ) AddSelectOption( document.getElementById('cmbType'), aTypes[i][1], aTypes[i][0] ) ; } } </script> </head> <body bottomMargin="0" topMargin="0"> <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td nowrap> Resource Type<BR> <select id="cmbType" style="WIDTH: 100%" onchange="SetResourceType(this.value);"> </select> </td> </tr> </table> </body> </html> --- NEW FILE: frmresourceslist.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: frmresourceslist.html * 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"> var oListManager = new Object() ; oListManager.Init = function() { this.Table = document.getElementById('tableFiles') ; } oListManager.Clear = function() { // Remove all other rows available. while ( this.Table.rows.length > 0 ) this.Table.deleteRow(0) ; } oListManager.AddFolder = function( folderName, folderPath ) { // Create the new row. var oRow = this.Table.insertRow(-1) ; // Build the link to view the folder. var sLink = '<a href="#" onclick="OpenFolder(\'' + folderPath + '\');return false;">' ; // Add the folder icon cell. var oCell = oRow.insertCell(-1) ; oCell.width = 16 ; oCell.innerHTML = sLink + '<img alt="" src="images/Folder.gif" width="16" height="16" border="0"></a>' ; // Add the folder name cell. oCell = oRow.insertCell(-1) ; oCell.noWrap = true ; oCell.colSpan = 2 ; oCell.innerHTML = ' ' + sLink + folderName + '</a>' ; } oListManager.AddFile = function( fileName, fileUrl, fileSize ) { // Create the new row. var oRow = this.Table.insertRow(-1) ; // Build the link to view the folder. var sLink = '<a href="#" onclick="OpenFile(\'' + fileUrl + '\');return false;">' ; // Get the file icon. var sIcon = oIcons.GetIcon( fileName ) ; // Add the file icon cell. var oCell = oRow.insertCell(-1) ; oCell.width = 16 ; oCell.innerHTML = sLink + '<img alt="" src="images/icons/' + sIcon + '.gif" width="16" height="16" border="0"></a>' ; // Add the file name cell. oCell = oRow.insertCell(-1) ; oCell.innerHTML = ' ' + sLink + fileName + '</a>' ; // Add the file size cell. oCell = oRow.insertCell(-1) ; oCell.noWrap = true ; oCell.align = 'right' ; oCell.innerHTML = ' ' + fileSize + ' KB' ; } function OpenFolder( folderPath ) { // Load the resources list for this folder. window.parent.frames['frmFolders'].LoadFolders( folderPath ) ; } function OpenFile( fileUrl ) { window.top.opener.SetUrl( fileUrl ) ; window.top.close() ; window.top.opener.focus() ; } function LoadResources( resourceType, folderPath ) { oListManager.Clear() ; oConnector.ResourceType = resourceType ; oConnector.CurrentFolder = folderPath oConnector.SendCommand( 'GetFoldersAndFiles', null, GetFoldersAndFilesCallBack ) ; } function Refresh() { LoadResources( oConnector.ResourceType, oConnector.CurrentFolder ) ; } function GetFoldersAndFilesCallBack( fckXml ) { // Get the current folder path. var oNode = fckXml.SelectSingleNode( 'Connector/CurrentFolder' ) ; var sCurrentFolderPath = oNode.attributes.getNamedItem('path').value ; var sCurrentFolderUrl = oNode.attributes.getNamedItem('url').value ; // Add the Folders. var oNodes = fckXml.SelectNodes( 'Connector/Folders/Folder' ) ; for ( var i = 0 ; i < oNodes.length ; i++ ) { var sFolderName = oNodes[i].attributes.getNamedItem('name').value ; oListManager.AddFolder( sFolderName, sCurrentFolderPath + sFolderName + "/" ) ; } // Add the Files. var oNodes = fckXml.SelectNodes( 'Connector/Files/File' ) ; for ( var i = 0 ; i < oNodes.length ; i++ ) { var sFileName = oNodes[i].attributes.getNamedItem('name').value ; var sFileSize = oNodes[i].attributes.getNamedItem('size').value ; oListManager.AddFile( sFileName, sCurrentFolderUrl + sFileName, sFileSize ) ; } } window.onload = function() { oListManager.Init() ; window.top.IsLoadedResourcesList = true ; } </script> </head> <body class="FileArea" bottomMargin="10" leftMargin="10" topMargin="10" rightMargin="10"> <table id="tableFiles" cellSpacing="1" cellPadding="0" width="100%" border="0"> </table> </body> </html> --- NEW FILE: frmcreatefolder.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: frmcreatefolder.html * 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"> function SetCurrentFolder( resourceType, folderPath ) { oConnector.ResourceType = resourceType ; oConnector.CurrentFolder = folderPath } function CreateFolder() { var sFolderName ; while ( true ) { sFolderName = prompt( 'Type the name of the new folder:', '' ) ; if ( sFolderName == null ) return ; else if ( sFolderName.length == 0 ) alert( 'Please type the folder name' ) ; else break ; } oConnector.SendCommand( 'CreateFolder', 'NewFolderName=' + escape( sFolderName) , CreateFolderCallBack ) ; } function CreateFolderCallBack( fckXml ) { // Get the current folder path. var oNode = fckXml.SelectSingleNode( 'Connector/Error' ) ; var iErrorNumber = parseInt( oNode.attributes.getNamedItem('number').value ) ; switch ( iErrorNumber ) { case 0 : window.parent.frames['frmResourcesList'].Refresh() ; 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 creating folder. Error number: ' + iErrorNumber ) ; break ; } } window.onload = function() { window.top.IsLoadedCreateFolder = true ; } </script> </head> <body bottomMargin="0" topMargin="0"> <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td> <button type="button" style="WIDTH: 100%" onclick="CreateFolder();"> <table cellSpacing="0" cellPadding="0" border="0"> <tr> <td><img height="16" alt="" src="images/Folder.gif" width="16"></td> <td> </td> <td nowrap>Create New Folder</td> </tr> </table> </button> </td> </tr> </table> </body> </html> --- NEW FILE: Browser.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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. * * Version: 2.0 RC3 * Modified: 2004-05-31 23:07:52 * * 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); } --- NEW FILE: frmupload.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: frmupload.html * 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"> function SetCurrentFolder( resourceType, folderPath ) { var sUrl = oConnector.ConnectorUrl +'Command=FileUpload' ; sUrl += '&Type=' + resourceType ; sUrl += '&CurrentFolder=' + folderPath ; document.getElementById('frmUpload').action = sUrl ; } function OnSubmit() { if ( document.getElementById('NewFile').value.length == 0 ) { alert( 'Please select a file from your computer' ) ; return false ; } // Set the interface elements. document.getElementById('eUploadMessage').innerHTML = 'Upload a new file in this folder (Upload in progress, please wait...)' ; document.getElementById('btnUpload').disabled = true ; return true ; } function OnUploadCompleted( errorNumber, fileName ) { // Reset the Upload Worker Frame. window.parent.frames['frmUploadWorker'].location = 'about:blank' ; // Reset the upload form (On IE we must do a little trick to avout problems). if ( document.all ) document.getElementById('NewFile').outerHTML = '<input id="NewFile" name="NewFile" style="WIDTH: 100%" type="file">' ; else document.getElementById('frmUpload').reset() ; // Reset the interface elements. document.getElementById('eUploadMessage').innerHTML = 'Upload a new file in this folder' ; document.getElementById('btnUpload').disabled = false ; switch ( errorNumber ) { case 0 : window.parent.frames['frmResourcesList'].Refresh() ; break ; case 201 : window.parent.frames['frmResourcesList'].Refresh() ; alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ; break ; case 202 : alert( 'Invalid file' ) ; break ; default : alert( 'Error on file upload. Error number: ' + errorNumber ) ; break ; } } window.onload = function() { window.top.IsLoadedUpload = true ; } </script> </head> <body bottomMargin="0" topMargin="0"> <form id="frmUpload" action="" target="frmUploadWorker" method="post" enctype="multipart/form-data" onsubmit="return OnSubmit();"> <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td nowrap> <span id="eUploadMessage">Upload a new file in this folder</span><br> <table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td width="100%"><input id="NewFile" name="NewFile" style="WIDTH: 100%" type="file"></td> <td nowrap> <input id="btnUpload" type="submit" value="Upload"></td> </tr> </table> </td> </tr> </table> </form> </body> </html> |
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/skins/silver/toolbar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/skins/silver/toolbar Added Files: about.gif anchor.gif bgcolor.gif bold.gif bulletedlist.gif button.gif checkbox.gif copy.gif cut.gif docprops.gif find.gif form.gif hiddenfield.gif image.gif imagebutton.gif indent.gif inserthorizontalrule.gif insertorderedlist.gif insertunorderedlist.gif italic.gif justifycenter.gif justifyfull.gif justifyleft.gif justifyright.gif link.gif newpage.gif numberedlist.gif outdent.gif paste.gif pastetext.gif pasteword.gif preview.gif print.gif radio.gif redo.gif removeformat.gif replace.gif save.gif select.gif selectall.gif showdetails.gif showtableborders.gif smiley.gif source.gif specialchar.gif spellcheck.gif strikethrough.gif subscript.gif superscript.gif table.gif tablecell.gif tabledeletecells.gif tabledeletecolumns.gif tabledeleterows.gif tableinsertcell.gif tableinsertcolumn.gif tableinsertrow.gif tablemergecells.gif tablesplitcell.gif textarea.gif textcolor.gif textfield.gif underline.gif undo.gif universalkey.gif unlink.gif unorderedlist.gif Log Message: Synching... --- NEW FILE: textcolor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeletecolumns.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: redo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unlink.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: checkbox.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: indent.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifycenter.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyleft.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: copy.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: newpage.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: preview.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: source.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertcolumn.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyfull.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: subscript.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: inserthorizontalrule.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeletecells.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: outdent.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeleterows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: selectall.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: textarea.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablemergecells.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: form.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: anchor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smiley.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pasteword.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: find.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablesplitcell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bold.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: radio.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: textfield.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: superscript.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertcell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: showdetails.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: undo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cut.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: universalkey.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bgcolor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: about.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bulletedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: insertorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: imagebutton.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: removeformat.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: italic.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablecell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: numberedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: showtableborders.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: docprops.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: replace.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hiddenfield.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: underline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: print.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: strikethrough.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: insertunorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: select.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spellcheck.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: specialchar.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: link.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pastetext.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: save.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: table.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: paste.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/dialog/fck_universalkey In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/dialog/fck_universalkey Added Files: 00.gif data.js diacritic.js dialogue.js fck_universalkey.css keyboard_layout.gif multihexa.js Log Message: Synching... --- NEW FILE: fck_universalkey.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: fck_universalkey.css * CSS styles for the Universal Keyboard. * * Version: 2.0 RC3 * Modified: 2005-02-10 18:06:16 * * File Authors: * Michel Staelens (mic...@wa...) * Bernadette Cierzniak * Abdul-Aziz Al-Oraij (to...@ho...) */ BODY, TEXTAREA, INPUT, TD, SELECT { font-family: Tahoma,verdana,arial,sans-serif; } DIV { position: absolute; } .simple { font-size: 11pt; } .double { font-size: 9pt; } .simpledia { color: red; font-size: 11pt; } .doubledia { color: red; font-size: 9pt; } .action { color: white; font-size: 7pt; } .clavier { color: blue; font-size: 7pt; } .sign { color: gray; font-size: 7pt; } --- NEW FILE: multihexa.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: diacritic.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: dialogue.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: data.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 00.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: keyboard_layout.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/skins/office2003/toolbar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/skins/office2003/toolbar Added Files: about.gif anchor.gif bgcolor.gif bold.gif bulletedlist.gif button.gif checkbox.gif copy.gif cut.gif docprops.gif find.gif flash.gif fontstyleadv.gif form.gif hidden.gif hiddenfield.gif image.gif imagebutton.gif indent.gif input.gif inserthorizontalrule.gif insertorderedlist.gif insertunorderedlist.gif italic.gif justifycenter.gif justifyfull.gif justifyleft.gif justifyright.gif link.gif mail.gif new.gif newpage.gif numberedlist.gif open.gif outdent.gif paste.gif pastetext.gif pasteword.gif preview.gif print.gif radio.gif redo.gif removeformat.gif replace.gif save.gif select.gif selectall.gif showdetails.gif showtableborders.gif smiley.gif source.gif specialchar.gif spellcheck.gif strikethrough.gif subscript.gif superscript.gif table.gif tablecell.gif tabledeletecells.gif tabledeletecolumns.gif tabledeleterows.gif tableinsertcell.gif tableinsertcolumn.gif tableinsertrow.gif tablemergecells.gif tablesplitcell.gif textarea.gif textcolor.gif textfield.gif underline.gif undo.gif universalkey.gif unlink.gif unorderedlist.gif Log Message: Synching... --- NEW FILE: open.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: textcolor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeletecolumns.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: redo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unlink.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: checkbox.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: indent.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifycenter.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyleft.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: copy.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: newpage.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: input.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hidden.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: preview.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: source.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertcolumn.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyfull.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: subscript.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: inserthorizontalrule.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeletecells.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: outdent.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeleterows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: selectall.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: textarea.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablemergecells.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: new.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: form.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: anchor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smiley.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pasteword.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: find.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablesplitcell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bold.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cut.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: radio.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: textfield.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: superscript.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertcell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: showdetails.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: undo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: flash.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: universalkey.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bgcolor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: about.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bulletedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: insertorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: imagebutton.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: removeformat.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: italic.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablecell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: numberedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: showtableborders.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: docprops.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: replace.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hiddenfield.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: underline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: print.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mail.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: strikethrough.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: insertunorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: select.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spellcheck.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fontstyleadv.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: specialchar.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: link.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pastetext.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: save.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: table.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: paste.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/lang Added Files: ar.js bg.js bs.js ca.js cs.js da.js de.js en.js eo.js es.js et.js fa.js fcklanguagemanager.js fi.js fr.js gl.js gr.js he.js hr.js hu.js it.js ja.js ko.js lt.js nl.js no.js pl.js pt-br.js pt.js ro.js ru.js sk.js sl.js sr-latn.js sr.js sv.js th.js tr.js zh-cn.js zh.js Log Message: Synching... --- NEW FILE: ar.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: th.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lt.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ru.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pt-br.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zh-cn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ro.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: it.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ko.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hu.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cs.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: de.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ca.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bg.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fi.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sr-latn.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: no.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: eo.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fcklanguagemanager.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: da.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tr.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zh.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ja.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sk.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: en.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pt.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: et.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: he.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gl.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: es.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fa.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bs.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sv.js --- (This appears to be a binary file; contents omitted.) |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:01
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/connectors/perl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/filemanager/browser/default/connectors/perl Added Files: basexml.pl commands.pl connector.cgi io.pl upload_fck.pl util.pl Log Message: Synching... --- NEW FILE: commands.pl --- ##### # FCKeditor - The text editor for internet # Copyright (C) 2003-2004 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: commands.pl # This is the File Manager Connector for Perl. # # Version: 2.0 RC3 # Modified: 2005-02-28 17:06:07 # # File Authors: # Takashi Yamaguchi (ja...@om...) ##### sub GetFolders { local($resourceType, $currentFolder) = @_; # Map the virtual path to the local server path. $sServerDir = &ServerMapFolder($resourceType, $currentFolder); print "<Folders>"; # Open the "Folders" node. opendir(DIR,"$sServerDir"); @files = grep(!/^\.\.?$/,readdir(DIR)); closedir(DIR); foreach $sFile (@files) { if($sFile != '.' && $sFile != '..' && (-d "$sServerDir$sFile")) { $cnv_filename = &ConvertToXmlAttribute($sFile); print '<Folder name="' . $cnv_filename . '" />'; } } print "</Folders>"; # Close the "Folders" node. } sub GetFoldersAndFiles { local($resourceType, $currentFolder) = @_; # Map the virtual path to the local server path. $sServerDir = &ServerMapFolder($resourceType,$currentFolder); # Initialize the output buffers for "Folders" and "Files". $sFolders = '<Folders>'; $sFiles = '<Files>'; opendir(DIR,"$sServerDir"); @files = grep(!/^\.\.?$/,readdir(DIR)); closedir(DIR); foreach $sFile (@files) { if($sFile ne '.' && $sFile ne '..') { if(-d "$sServerDir$sFile") { $cnv_filename = &ConvertToXmlAttribute($sFile); $sFolders .= '<Folder name="' . $cnv_filename . '" />' ; } else { ($iFileSize,$refdate,$filedate,$fileperm) = (stat("$sServerDir$sFile"))[7,8,9,2]; if($iFileSize > 0) { $iFileSize = int($iFileSize / 1024); if($iFileSize < 1) { $iFileSize = 1; } } $cnv_filename = &ConvertToXmlAttribute($sFile); $sFiles .= '<File name="' . $cnv_filename . '" size="' . $iFileSize . '" />' ; } } } print $sFolders ; print '</Folders>'; # Close the "Folders" node. print $sFiles ; print '</Files>'; # Close the "Files" node. } sub CreateFolder { local($resourceType, $currentFolder) = @_; $sErrorNumber = '0' ; $sErrorMsg = '' ; if($FORM{'NewFolderName'} ne "") { $sNewFolderName = $FORM{'NewFolderName'}; # Map the virtual path to the local server path of the current folder. $sServerDir = &ServerMapFolder($resourceType, $currentFolder); if(-w $sServerDir) { $sServerDir .= $sNewFolderName; $sErrorMsg = &CreateServerFolder($sServerDir); if($sErrorMsg == 0) { $sErrorNumber = '0'; } elsif($sErrorMsg eq 'Invalid argument' || $sErrorMsg eq 'No such file or directory') { $sErrorNumber = '102'; #// Path too long. } else { $sErrorNumber = '110'; } } else { $sErrorNumber = '103'; } } else { $sErrorNumber = '102' ; } # Create the "Error" node. $cnv_errmsg = &ConvertToXmlAttribute($sErrorMsg); print '<Error number="' . $sErrorNumber . '" originalDescription="' . $cnv_errmsg . '" />'; } sub FileUpload { eval("use File::Copy;"); local($resourceType, $currentFolder) = @_; $sErrorNumber = '0' ; $sFileName = '' ; if($new_fname) { # Map the virtual path to the local server path. $sServerDir = &ServerMapFolder($resourceType,$currentFolder); # Get the uploaded file name. $sFileName = $new_fname; $sOriginalFileName = $sFileName; $iCounter = 0; while(1) { $sFilePath = $sServerDir . $sFileName; if(-e $sFilePath) { $iCounter++ ; ($path,$BaseName,$ext) = &RemoveExtension($sOriginalFileName); $sFileName = $BaseName . '(' . $iCounter . ').' . $ext; $sErrorNumber = '201'; } else { copy("$img_dir/$new_fname","$sFilePath"); chmod(0777,$sFilePath); unlink("$img_dir/$new_fname"); last; } } } else { $sErrorNumber = '202' ; } $sFileName =~ s/"/\\"/g; print "Content-type: text/html\n\n"; print '<script type="text/javascript">'; print 'window.parent.frames["frmUpload"].OnUploadCompleted(' . $sErrorNumber . ',"' . $sFileName . '") ;'; print '</script>'; exit ; } 1; --- NEW FILE: connector.cgi --- #!/usr/bin/env perl #/* # * FCKeditor - The text editor for internet # * Copyright (C) 2003-2004 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: connector.cgi # * This is the File Manager Connector for Perl. # * # * Version: 2.0 RC2 # * Modified: 2005-01-7 13:20:00 # * # * File Authors: # * Frederico Caldeira Knabben (fr...@fc...) # * Takashi Yamaguchi (ja...@om...) # */ require 'util.pl'; require 'io.pl'; require 'basexml.pl'; require 'commands.pl'; require 'upload_fck.pl'; &read_input(); if($FORM{'ServerPath'} ne "") { $GLOBALS{'UserFilesPath'} = $FORM{'ServerPath'}; if(!($GLOBALS{'UserFilesPath'} =~ /\/$/)) { $GLOBALS{'UserFilesPath'} .= '/' ; } } else { $GLOBALS{'UserFilesPath'} = '/UserFiles/'; } # Map the "UserFiles" path to a local directory. $rootpath = &GetRootPath(); $GLOBALS{'UserFilesDirectory'} = $rootpath . $GLOBALS{'UserFilesPath'}; &DoResponse(); sub DoResponse { if($FORM{'Command'} eq "" || $FORM{'Type'} eq "" || $FORM{'CurrentFolder'} eq "") { return ; } # Get the main request informaiton. $sCommand = $FORM{'Command'}; $sResourceType = $FORM{'Type'}; $sCurrentFolder = $FORM{'CurrentFolder'}; # Check the current folder syntax (must begin and start with a slash). if(!($sCurrentFolder =~ /\/$/)) { $sCurrentFolder .= '/'; } if(!($sCurrentFolder =~ /^\//)) { $sCurrentFolder = '/' . $sCurrentFolder; } # File Upload doesn't have to Return XML, so it must be intercepted before anything. if($sCommand eq 'FileUpload') { FileUpload($sResourceType,$sCurrentFolder); return ; } print << "_HTML_HEAD_"; Content-Type:text/xml; charset=utf-8 Pragma: no-cache Cache-Control: no-cache Expires: Thu, 01 Dec 1994 16:00:00 GMT _HTML_HEAD_ &CreateXmlHeader($sCommand,$sResourceType,$sCurrentFolder); # Execute the required command. if($sCommand eq 'GetFolders') { &GetFolders($sResourceType,$sCurrentFolder); } elsif($sCommand eq 'GetFoldersAndFiles') { &GetFoldersAndFiles($sResourceType,$sCurrentFolder); } elsif($sCommand eq 'CreateFolder') { &CreateFolder($sResourceType,$sCurrentFolder); } &CreateXmlFooter(); exit ; } --- NEW FILE: upload_fck.pl --- ##### # FCKeditor - The text editor for internet # Copyright (C) 2003-2004 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: upload_fck.pl # This is the File Manager Connector for Perl. # # Version: 2.0 RC3 # Modified: 2005-02-28 17:05:41 # # File Authors: # Takashi Yamaguchi (ja...@om...) ##### # image data save dir $img_dir = './temp/'; # File size max(unit KB) $MAX_CONTENT_SIZE = 30000; # Filelock (1=use,0=not use) $PM{'flock'} = '1'; # upload Content-Type list my %UPLOAD_CONTENT_TYPE_LIST = ( 'image/(x-)?png' => 'png', # PNG image 'image/p?jpe?g' => 'jpg', # JPEG image 'image/gif' => 'gif', # GIF image 'image/x-xbitmap' => 'xbm', # XBM image 'image/(x-(MS-)?)?bmp' => 'bmp', # Windows BMP image 'image/pict' => 'pict', # Macintosh PICT image 'image/tiff' => 'tif', # TIFF image 'application/pdf' => 'pdf', # PDF image 'application/x-shockwave-flash' => 'swf', # Shockwave Flash 'video/(x-)?msvideo' => 'avi', # Microsoft Video 'video/quicktime' => 'mov', # QuickTime Video 'video/mpeg' => 'mpeg', # MPEG Video 'video/x-mpeg2' => 'mpv2', # MPEG2 Video 'audio/(x-)?midi?' => 'mid', # MIDI Audio 'audio/(x-)?wav' => 'wav', # WAV Audio 'audio/basic' => 'au', # ULAW Audio 'audio/mpeg' => 'mpga', # MPEG Audio 'application/(x-)?zip(-compressed)?' => 'zip', # ZIP Compress 'text/html' => 'html', # HTML 'text/plain' => 'txt', # TEXT '(?:application|text)/(?:rtf|richtext)' => 'rtf', # RichText 'application/msword' => 'doc', # Microsoft Word 'application/vnd.ms-excel' => 'xls', # Microsoft Excel '' ); # Upload is permitted. # A regular expression is possible. my %UPLOAD_EXT_LIST = ( 'png' => 'PNG image', 'p?jpe?g|jpe|jfif|pjp' => 'JPEG image', 'gif' => 'GIF image', 'xbm' => 'XBM image', 'bmp|dib|rle' => 'Windows BMP image', 'pi?ct' => 'Macintosh PICT image', 'tiff?' => 'TIFF image', 'pdf' => 'PDF image', 'swf' => 'Shockwave Flash', 'avi' => 'Microsoft Video', 'moo?v|qt' => 'QuickTime Video', 'm(p(e?gv?|e|v)|1v)' => 'MPEG Video', 'mp(v2|2v)' => 'MPEG2 Video', 'midi?|kar|smf|rmi|mff' => 'MIDI Audio', 'wav' => 'WAVE Audio', 'au|snd' => 'ULAW Audio', 'mp(e?ga|2|a|3)|abs' => 'MPEG Audio', 'zip' => 'ZIP Compress', 'lzh' => 'LZH Compress', 'cab' => 'CAB Compress', 'd?html?' => 'HTML', 'rtf|rtx' => 'RichText', 'txt|text' => 'Text', '' ); # sjis or euc my $CHARCODE = 'sjis'; $TRANS_2BYTE_CODE = 0; ############################################################################## # Summary # # Form Read input # # Parameters # Returns # Memo ############################################################################## sub read_input { eval("use File::Copy;"); eval("use File::Path;"); my ($FORM) = @_; mkdir($img_dir,0777); chmod(0777,$img_dir); undef $img_data_exists; undef @NEWFNAMES; undef @NEWFNAME_DATA; if($ENV{'CONTENT_LENGTH'} > 10000000 || $ENV{'CONTENT_LENGTH'} > $MAX_CONTENT_SIZE * 1024) { &upload_error( 'Size Error', sprintf( "Transmitting size is too large.MAX <strong>%d KB</strong> Now Size <strong>%d KB</strong>(<strong>%d bytes</strong> Over)", $MAX_CONTENT_SIZE, int($ENV{'CONTENT_LENGTH'} / 1024), $ENV{'CONTENT_LENGTH'} - $MAX_CONTENT_SIZE * 1024 ) ); } my $Buffer; if($ENV{'CONTENT_TYPE'} =~ /multipart\/form-data/) { # METHOD POST only return unless($ENV{'CONTENT_LENGTH'}); binmode(STDIN); # STDIN A pause character is detected.'(MacIE3.0 boundary of $ENV{'CONTENT_TYPE'} cannot be trusted.) my $Boundary = <STDIN>; $Boundary =~ s/\x0D\x0A//; $Boundary = quotemeta($Boundary); while(<STDIN>) { if(/^\s*Content-Disposition:/i) { my($name,$ContentType,$FileName); # form data get if(/\bname="([^"]+)"/i || /\bname=([^\s:;]+)/i) { $name = $1; $name =~ tr/+/ /; $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; &Encode(\$name); } if(/\bfilename="([^"]*)"/i || /\bfilename=([^\s:;]*)/i) { $FileName = $1 || 'unknown'; } # head read while(<STDIN>) { last if(! /\w/); if(/^\s*Content-Type:\s*"([^"]+)"/i || /^\s*Content-Type:\s*([^\s:;]+)/i) { $ContentType = $1; } } # body read $value = ""; while(<STDIN>) { last if(/^$Boundary/o); $value .= $_; } $value =~s /\x0D\x0A$//; if($value ne '') { if($FileName || $ContentType) { $img_data_exists = 1; ( $FileName, # $Ext, # $Length, # $ImageWidth, # $ImageHeight, # $ContentName # ) = &CheckContentType(\$value,$FileName,$ContentType); $FORM{$name} = $FileName; $new_fname = $FileName; push(@NEWFNAME_DATA,"$FileName\t$Ext\t$Length\t$ImageWidth\t$ImageHeight\t$ContentName"); # Multi-upload correspondence push(@NEWFNAMES,$new_fname); open(OUT,">$img_dir/$new_fname"); binmode(OUT); eval "flock(OUT,2);" if($PM{'flock'} == 1); print OUT $value; eval "flock(OUT,8);" if($PM{'flock'} == 1); close(OUT); } elsif($name) { $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; &Encode(\$value,'trans'); $FORM{$name} .= "\0" if(defined($FORM{$name})); $FORM{$name} .= $value; } } } last if(/^$Boundary\-\-/o); } } elsif($ENV{'CONTENT_LENGTH'}) { read(STDIN,$Buffer,$ENV{'CONTENT_LENGTH'}); } foreach(split(/&/,$Buffer),split(/&/,$ENV{'QUERY_STRING'})) { my($name, $value) = split(/=/); $name =~ tr/+/ /; $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; &Encode(\$name); &Encode(\$value,'trans'); $FORM{$name} .= "\0" if(defined($FORM{$name})); $FORM{$name} .= $value; } } ############################################################################## # Summary # # CheckContentType # # Parameters # Returns # Memo ############################################################################## sub CheckContentType { my($DATA,$FileName,$ContentType) = @_; my($Ext,$ImageWidth,$ImageHeight,$ContentName,$Infomation); my $DataLength = length($$DATA); # An unknown file type $_ = $ContentType; my $UnknownType = ( !$_ || /^application\/(x-)?macbinary$/i || /^application\/applefile$/i || /^application\/octet-stream$/i || /^text\/plane$/i || /^x-unknown-content-type/i ); # MacBinary(Mac Unnecessary data are deleted.) if($UnknownType || $ENV{'HTTP_USER_AGENT'} =~ /Macintosh|Mac_/) { if($DataLength > 128 && !unpack("C",substr($$DATA,0,1)) && !unpack("C",substr($$DATA,74,1)) && !unpack("C",substr($$DATA,82,1)) ) { my $MacBinary_ForkLength = unpack("N", substr($$DATA, 83, 4)); # ForkLength Get my $MacBinary_FileName = quotemeta(substr($$DATA, 2, unpack("C",substr($$DATA, 1, 1)))); if($MacBinary_FileName && $MacBinary_ForkLength && $DataLength >= $MacBinary_ForkLength + 128 && ($FileName =~ /$MacBinary_FileName/i || substr($$DATA,102,4) eq 'mBIN')) { # DATA TOP 128byte MacBinary!! $$DATA = substr($$DATA,128,$MacBinary_ForkLength); my $ResourceLength = $DataLength - $MacBinary_ForkLength - 128; $DataLength = $MacBinary_ForkLength; } } } # A file name is changed into EUC. # &jcode::convert(\$FileName,'euc',$FormCodeDefault); # &jcode::h2z_euc(\$FileName); $FileName =~ s/^.*\\//; # Windows, Mac $FileName =~ s/^.*\///; # UNIX $FileName =~ s/&/&/g; $FileName =~ s/"/"/g; $FileName =~ s/</</g; $FileName =~ s/>/>/g; # # if($CHARCODE ne 'euc') { # &jcode::convert(\$FileName,$CHARCODE,'euc'); # } # An extension is extracted and it changes into a small letter. my $FileExt; if($FileName =~ /\.(\w+)$/) { $FileExt = $1; $FileExt =~ tr/A-Z/a-z/; } # Executable file detection (ban on upload) if($$DATA =~ /^MZ/) { $Ext = 'exe'; } # text if(!$Ext && ($UnknownType || $ContentType =~ /^text\//i || $ContentType =~ /^application\/(?:rtf|richtext)$/i || $ContentType =~ /^image\/x-xbitmap$/i) && ! $$DATA =~ /[\000-\006\177\377]/) { # $$DATA =~ s/\x0D\x0A/\n/g; # $$DATA =~ tr/\x0D\x0A/\n\n/; # # if( # $$DATA =~ /<\s*SCRIPT(?:.|\n)*?>/i # || $$DATA =~ /<\s*(?:.|\n)*?\bONLOAD\s*=(?:.|\n)*?>/i # || $$DATA =~ /<\s*(?:.|\n)*?\bONCLICK\s*=(?:.|\n)*?>/i # ) { # $Infomation = '(JavaScript contains)'; # } # if($$DATA =~ /<\s*TABLE(?:.|\n)*?>/i # || $$DATA =~ /<\s*BLINK(?:.|\n)*?>/i # || $$DATA =~ /<\s*MARQUEE(?:.|\n)*?>/i # || $$DATA =~ /<\s*OBJECT(?:.|\n)*?>/i # || $$DATA =~ /<\s*EMBED(?:.|\n)*?>/i # || $$DATA =~ /<\s*FRAME(?:.|\n)*?>/i # || $$DATA =~ /<\s*APPLET(?:.|\n)*?>/i # || $$DATA =~ /<\s*FORM(?:.|\n)*?>/i # || $$DATA =~ /<\s*(?:.|\n)*?\bSRC\s*=(?:.|\n)*?>/i # || $$DATA =~ /<\s*(?:.|\n)*?\bDYNSRC\s*=(?:.|\n)*?>/i # ) { # $Infomation = '(the HTML tag which is not safe is included)'; # } if($FileExt =~ /^txt$/i || $FileExt =~ /^cgi$/i || $FileExt =~ /^pl$/i) { # Text File $Ext = 'txt'; } elsif($ContentType =~ /^text\/html$/i || $FileExt =~ /html?/i || $$DATA =~ /<\s*HTML(?:.|\n)*?>/i) { # HTML File $Ext = 'html'; } elsif($ContentType =~ /^image\/x-xbitmap$/i || $FileExt =~ /^xbm$/i) { # XBM(x-BitMap) Image my $XbmName = $1; my ($XbmWidth, $XbmHeight); if($$DATA =~ /\#define\s*$XbmName\_width\s*(\d+)/i) { $XbmWidth = $1; } if($$DATA =~ /\#define\s*$XbmName\_height\s*(\d+)/i) { $XbmHeight = $1; } if($XbmWidth && $XbmHeight) { $Ext = 'xbm'; $ImageWidth = $XbmWidth; $ImageHeight = $XbmHeight; } } else { # $Ext = 'txt'; } } # image if(!$Ext && ($UnknownType || $ContentType =~ /^image\//i)) { # PNG if($$DATA =~ /^\x89PNG\x0D\x0A\x1A\x0A/) { if(substr($$DATA, 12, 4) eq 'IHDR') { $Ext = 'png'; ($ImageWidth, $ImageHeight) = unpack("N2", substr($$DATA, 16, 8)); } } elsif($$DATA =~ /^GIF8(?:9|7)a/) { # GIF89a(modified), GIF89a, GIF87a $Ext = 'gif'; ($ImageWidth, $ImageHeight) = unpack("v2", substr($$DATA, 6, 4)); } elsif($$DATA =~ /^II\x2a\x00\x08\x00\x00\x00/ || $$DATA =~ /^MM\x00\x2a\x00\x00\x00\x08/) { # TIFF $Ext = 'tif'; } elsif($$DATA =~ /^BM/) { # BMP $Ext = 'bmp'; } elsif($$DATA =~ /^\xFF\xD8\xFF/ || $$DATA =~ /JFIF/) { # JPEG my $HeaderPoint = index($$DATA, "\xFF\xD8\xFF", 0); my $Point = $HeaderPoint + 2; while($Point < $DataLength) { my($Maker, $MakerType, $MakerLength) = unpack("C2n",substr($$DATA,$Point,4)); if($Maker != 0xFF || $MakerType == 0xd9 || $MakerType == 0xda) { last; } elsif($MakerType >= 0xC0 && $MakerType <= 0xC3) { $Ext = 'jpg'; ($ImageHeight, $ImageWidth) = unpack("n2", substr($$DATA, $Point + 5, 4)); if($HeaderPoint > 0) { $$DATA = substr($$DATA, $HeaderPoint); $DataLength = length($$DATA); } last; } else { $Point += $MakerLength + 2; } } } } # audio if(!$Ext && ($UnknownType || $ContentType =~ /^audio\//i)) { # MIDI Audio if($$DATA =~ /^MThd/) { $Ext = 'mid'; } elsif($$DATA =~ /^\x2esnd/) { # ULAW Audio $Ext = 'au'; } elsif($$DATA =~ /^RIFF/ || $$DATA =~ /^ID3/ && $$DATA =~ /RIFF/) { my $HeaderPoint = index($$DATA, "RIFF", 0); $_ = substr($$DATA, $HeaderPoint + 8, 8); if(/^WAVEfmt $/) { # WAVE if(unpack("V",substr($$DATA, $HeaderPoint + 16, 4)) == 16) { $Ext = 'wav'; } else { # RIFF WAVE MP3 $Ext = 'mp3'; } } elsif(/^RMIDdata$/) { # RIFF MIDI $Ext = 'rmi'; } elsif(/^RMP3data$/) { # RIFF MP3 $Ext = 'rmp'; } if($ContentType =~ /^audio\//i) { $Infomation .= '(RIFF '. substr($$DATA, $HeaderPoint + 8, 4). ')'; } } } # a binary file unless ($Ext) { # PDF image if($$DATA =~ /^\%PDF/) { # Picture size is not measured. $Ext = 'pdf'; } elsif($$DATA =~ /^FWS/) { # Shockwave Flash $Ext = 'swf'; } elsif($$DATA =~ /^RIFF/ || $$DATA =~ /^ID3/ && $$DATA =~ /RIFF/) { my $HeaderPoint = index($$DATA, "RIFF", 0); $_ = substr($$DATA,$HeaderPoint + 8, 8); # AVI if(/^AVI LIST$/) { $Ext = 'avi'; } if($ContentType =~ /^video\//i) { $Infomation .= '(RIFF '. substr($$DATA, $HeaderPoint + 8, 4). ')'; } } elsif($$DATA =~ /^PK/) { # ZIP Compress File $Ext = 'zip'; } elsif($$DATA =~ /^MSCF/) { # CAB Compress File $Ext = 'cab'; } elsif($$DATA =~ /^Rar\!/) { # RAR Compress File $Ext = 'rar'; } elsif(substr($$DATA, 2, 5) =~ /^\-lh(\d+|d)\-$/) { # LHA Compress File $Infomation .= "(lh$1)"; $Ext = 'lzh'; } elsif(substr($$DATA, 325, 25) eq "Apple Video Media Handler" || substr($$DATA, 325, 30) eq "Apple \x83\x72\x83\x66\x83\x49\x81\x45\x83\x81\x83\x66\x83\x42\x83\x41\x83\x6E\x83\x93\x83\x68\x83\x89") { # QuickTime $Ext = 'mov'; } } # Header analysis failure unless ($Ext) { # It will be followed if it applies for the MIME type from the browser. foreach (keys %UPLOAD_CONTENT_TYPE_LIST) { next unless ($_); if($ContentType =~ /^$_$/i) { $Ext = $UPLOAD_CONTENT_TYPE_LIST{$_}; $ContentName = &CheckContentExt($Ext); if( grep {$_ eq $Ext;} ( 'png', 'gif', 'jpg', 'xbm', 'tif', 'bmp', 'pdf', 'swf', 'mov', 'zip', 'cab', 'lzh', 'rar', 'mid', 'rmi', 'au', 'wav', 'avi', 'exe' ) ) { $Infomation .= ' / Header analysis failure'; } if($Ext ne $FileExt && &CheckContentExt($FileExt) eq $ContentName) { $Ext = $FileExt; } last; } } # a MIME type is unknown--It judges from an extension. unless ($Ext) { $ContentName = &CheckContentExt($FileExt); if($ContentName) { $Ext = $FileExt; $Infomation .= ' / MIME type is unknown('. $ContentType. ')'; last; } } } # $ContentName = &CheckContentExt($Ext) unless($ContentName); # if($Ext && $ContentName) { # $ContentName .= $Infomation; # } else { # &upload_error( # 'Extension Error', # "$FileName A not corresponding extension ($Ext)<BR>The extension which can be responded ". join(',', sort values(%UPLOAD_EXT_LIST)) # ); # } # # SSI Tag Deletion # if($Ext =~ /.?html?/ && $$DATA =~ /<\!/) { # foreach ( # 'config', # 'echo', # 'exec', # 'flastmod', # 'fsize', # 'include' # ) { # $$DATA =~ s/\#\s*$_/\&\#35\;$_/ig # } # } return ( $FileName, $Ext, int($DataLength / 1024 + 1), $ImageWidth, $ImageHeight, $ContentName ); } ############################################################################## # Summary # # Extension discernment # # Parameters # Returns # Memo ############################################################################## sub CheckContentExt { my($Ext) = @_; my $ContentName; foreach (keys %UPLOAD_EXT_LIST) { next unless ($_); if($_ && $Ext =~ /^$_$/) { $ContentName = $UPLOAD_EXT_LIST{$_}; last; } } return $ContentName; } ############################################################################## # Summary # # Form decode # # Parameters # Returns # Memo ############################################################################## sub Encode { my($value,$Trans) = @_; # my $FormCode = &jcode::getcode($value) || $FormCodeDefault; # $FormCodeDefault ||= $FormCode; # # if($Trans && $TRANS_2BYTE_CODE) { # if($FormCode ne 'euc') { # &jcode::convert($value, 'euc', $FormCode); # } # &jcode::tr( # $value, # "\xA3\xB0-\xA3\xB9\xA3\xC1-\xA3\xDA\xA3\xE1-\xA3\xFA", # '0-9A-Za-z' # ); # if($CHARCODE ne 'euc') { # &jcode::convert($value,$CHARCODE,'euc'); # } # } else { # if($CHARCODE ne $FormCode) { # &jcode::convert($value,$CHARCODE,$FormCode); # } # } # if($CHARCODE eq 'euc') { # &jcode::h2z_euc($value); # } elsif($CHARCODE eq 'sjis') { # &jcode::h2z_sjis($value); # } } ############################################################################## # Summary # # Error Msg # # Parameters # Returns # Memo ############################################################################## sub upload_error { local($error_message) = $_[0]; local($error_message2) = $_[1]; print "Content-type: text/html\n\n"; print<<EOF; <HTML> <HEAD> <TITLE>Error Message</TITLE></HEAD> <BODY> <table border="1" cellspacing="10" cellpadding="10"> <TR bgcolor="#0000B0"> <TD bgcolor="#0000B0" NOWRAP><font size="-1" color="white"><B>Error Message</B></font></TD> </TR> </table> <UL> <H4> $error_message </H4> $error_message2 <BR> </UL> </BODY> </HTML> EOF &rm_tmp_uploaded_files; # Image Temporary deletion exit; } ############################################################################## # Summary # # Image Temporary deletion # # Parameters # Returns # Memo ############################################################################## sub rm_tmp_uploaded_files { if($img_data_exists == 1){ sleep 1; foreach $fname_list(@NEWFNAMES) { if(-e "$img_dir/$fname_list") { unlink("$img_dir/$fname_list"); } } } } 1; --- NEW FILE: util.pl --- ##### # FCKeditor - The text editor for internet # Copyright (C) 2003-2004 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: util.pl # This is the File Manager Connector for Perl. # # Version: 2.0 RC3 # Modified: 2005-02-28 17:06:13 # # File Authors: # Takashi Yamaguchi (ja...@om...) ##### sub RemoveFromStart { local($sourceString, $charToRemove) = @_; $sPattern = '^' . $charToRemove . '+' ; $sourceString =~ s/^$charToRemove+//g; return $sourceString; } sub RemoveFromEnd { local($sourceString, $charToRemove) = @_; $sPattern = $charToRemove . '+$' ; $sourceString =~ s/$charToRemove+$//g; return $sourceString; } sub ConvertToXmlAttribute { local($value) = @_; return $value; # return utf8_encode(htmlspecialchars($value)); } 1; --- NEW FILE: io.pl --- ##### # FCKeditor - The text editor for internet # Copyright (C) 2003-2004 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: io.pl # This is the File Manager Connector for Perl. # # Version: 2.0 RC3 # Modified: 2005-02-28 17:06:00 # # File Authors: # Takashi Yamaguchi (ja...@om...) ##### sub GetUrlFromPath { local($resourceType, $folderPath) = @_; if($resourceType eq '') { $rmpath = &RemoveFromEnd($GLOBALS{'UserFilesPath'},'/'); return("$rmpath$folderPath"); } else { return("$GLOBALS{'UserFilesPath'}$resourceType$folderPath"); } } sub RemoveExtension { local($fileName) = @_; local($path, $base, $ext); if($fileName !~ /\./) { $fileName .= '.'; } if($fileName =~ /([^\\\/]*)\.(.*)$/) { $base = $1; $ext = $2; if($fileName =~ /(.*)$base\.$ext$/) { $path = $1; } } return($path,$base,$ext); } sub ServerMapFolder { local($resourceType,$folderPath) = @_; # Get the resource type directory. $sResourceTypePath = $GLOBALS{'UserFilesDirectory'} . $resourceType . '/'; # Ensure that the directory exists. &CreateServerFolder($sResourceTypePath); # Return the resource type directory combined with the required path. $rmpath = &RemoveFromStart($folderPath,'/'); return("$sResourceTypePath$rmpath"); } sub GetParentFolder { local($folderPath) = @_; $folderPath =~ s/[\/][^\/]+[\/]?$//g; return $folderPath; } sub CreateServerFolder { local($folderPath) = @_; $sParent = &GetParentFolder($folderPath); # Check if the parent exists, or create it. if(!(-e $sParent)) { $sErrorMsg = &CreateServerFolder($sParent); if($sErrorMsg == 1) { return(1); } } if(!(-e $folderPath)) { umask(000); mkdir("$folderPath",0777); chmod(0777,"$folderPath"); return(0); } else { return(1); } } sub GetRootPath { #use Cwd; # my $dir = getcwd; # print $dir; # $dir =~ s/$ENV{'DOCUMENT_ROOT'}//g; # print $dir; # return($dir); # $wk = $0; # $wk =~ s/\/connector\.cgi//g; # if($wk) { # $current_dir = $wk; # } else { # $current_dir = `pwd`; # } # return($current_dir); use Cwd; if($ENV{'DOCUMENT_ROOT'}) { $dir = $ENV{'DOCUMENT_ROOT'}; } else { my $dir = getcwd; $workdir =~ s/\/connector\.cgi//g; $dir =~ s/$workdir//g; } return($dir); } 1; --- NEW FILE: basexml.pl --- ##### # FCKeditor - The text editor for internet # Copyright (C) 2003-2004 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: basexml.pl # This is the File Manager Connector for Perl. # # Version: 2.0 RC3 # Modified: 2005-02-28 17:06:22 # # File Authors: # Takashi Yamaguchi (ja...@om...) ##### sub CreateXmlHeader { local($command,$resourceType,$currentFolder) = @_; # Create the XML document header. print '<?xml version="1.0" encoding="utf-8" ?>'; # Create the main "Connector" node. print '<Connector command="' . $command . '" resourceType="' . $resourceType . '">'; # Add the current folder node. print '<CurrentFolder path="' . ConvertToXmlAttribute($currentFolder) . '" url="' . ConvertToXmlAttribute(GetUrlFromPath($resourceType,$currentFolder)) . '" />'; } sub CreateXmlFooter { print '</Connector>'; } 1; |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:01
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/skins/silver/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/skins/silver/images Added Files: toolbar.arrowright.gif toolbar.buttonarrow.gif toolbar.buttonbg.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Synching... --- NEW FILE: toolbar.expand.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.end.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.separator.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.collapse.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.start.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonbg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.arrowright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonarrow.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/images/smiley/fun In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/images/smiley/fun Added Files: aiua.gif ak.gif alien.gif alien2.gif angry.gif angry1.gif apophys.gif assjani.gif asthanos.gif bazuzeus.gif beaute.gif bigsmile.gif blush.gif boid.gif bonk.gif bored.gif borg.gif capo.gif confused.gif cool.gif crazy.gif cwm14.gif demis_roussos.gif devil.gif devil2.gif double0smile.gif eek3.gif eltaf.gif gele.gif halm.gif happy.gif icon12.gif icon23.gif icon26.gif icon_angel.gif icon_bandit.gif icon_bravo.gif icon_clown.gif jesors.gif jesors1.gif lol3.gif love.gif mad.gif megaphone.gif mmm.gif music.gif notify.gif nuts.gif obanon.gif ouaip.gif pleure.gif plugin.gif question.gif question2.gif rasta2.gif rastapop.gif rosebud.gif sad.gif sad2.gif shocked.gif sick.gif sick2.gif slaap.gif sleep.gif smile.gif smiley_peur.gif sors.gif sovxx.gif spamafote.gif tap67.gif thumbdown.gif thumbup.gif tigi.gif toad666.gif tongue.gif tuffgong.gif urgeman.gif vanadium.gif wink.gif worship.gif wouaf.gif wow.gif xp1700.gif yltype.gif yopyopyop.gif youpi.gif zoor.gif Log Message: Synching... --- NEW FILE: notify.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: assjani.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toad666.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: worship.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sick.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vanadium.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_bravo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sick2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: apophys.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bonk.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: demis_roussos.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mmm.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ak.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_clown.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon23.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: angry1.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: question2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: borg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: capo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: thumbdown.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: zoor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cool.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cwm14.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jesors.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wouaf.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bigsmile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sad.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: eltaf.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: happy.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: devil.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lol3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: eek3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shocked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_angel.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: slaap.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: angry.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wink.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sors.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tuffgong.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: rasta2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sovxx.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon26.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: rastapop.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: confused.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: asthanos.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: love.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: gele.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: halm.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: beaute.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sleep.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: yopyopyop.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bored.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: obanon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mad.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: music.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: devil2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: rosebud.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: double0smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smiley_peur.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xp1700.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bazuzeus.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon12.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pleure.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: aiua.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: blush.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jesors1.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: alien.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: yltype.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: boid.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: megaphone.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sad2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_bandit.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: question.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tigi.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: urgeman.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: alien2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: thumbup.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: youpi.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spamafote.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: plugin.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tongue.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tap67.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: crazy.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nuts.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ouaip.gif --- (This appears to be a binary file; contents omitted.) |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:01
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/skins/silver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/skins/silver Added Files: fck_contextmenu.css fck_dialog.css fck_editor.css Log Message: Synching... --- NEW FILE: fck_editor.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: fck_editor.css * Styles used by the editor IFRAME and Toolbar. * * Version: 2.0 RC3 * Modified: 2005-02-09 18:08:02 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) * gazou[Fr] */ /* ### Basic Editor IFRAME Styles. */ body { padding: 1px 1px 1px 1px; margin: 0px 0px 0px 0px; } #eWysiwygCell, .Source { border: #696969 1px solid; } #eSourceField { border: none; padding: 5px; font-family: Monospace; } /* ### Toolbar Styles */ .TB_ToolbarSet, .TB_Expand, .TB_Collapse { background-color: #f7f7f7; } .TB_End { display: none; } .TB_ExpandImg { background-image: url(images/toolbar.expand.gif); background-repeat: no-repeat; } .TB_CollapseImg { background-image: url(images/toolbar.collapse.gif); background-repeat: no-repeat; } .TB_ToolbarSet { padding: 1px; border-top: #efefde 1px outset; border-bottom: #efefde 1px outset; } .TB_ToolbarSet, .TB_ToolbarSet * { font-size: 11px; cursor: default; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .TB_Expand, .TB_Collapse { padding: 2px 2px 2px 2px; border: #efefde 1px outset; } .TB_Collapse { border: #efefde 1px outset; width: 5px; } .TB_Button_On, .TB_Button_Off, .TB_Button_Disabled { padding: 1px ; margin: 1px ; height: 21px; } .TB_Combo_Off, .TB_Combo_Disabled { padding: 1px ; margin: 2px ; height: 21px; } .TB_Button_On, .TB_Button_Off, .TB_Button_Disabled { border: #cec6b5 1px solid; } .TB_Button_On { border-color: #316ac5; background-color: #c1d2ee; } .TB_Button_Off { background: #efefef url(images/toolbar.buttonbg.gif) repeat-x; } .TB_Button_Off, .TB_Combo_Off { filter: alpha(opacity=70); -moz-opacity: 0.70; } .TB_Button_Disabled, .TB_Combo_Disabled { filter: gray() alpha(opacity=30); -moz-opacity: 0.30; } .TB_Icon DIV { width: 21px; height: 21px; background-position: 50% 50%; background-repeat: no-repeat; } .TB_Text { height: 21px; padding-right: 5px; } .TB_ButtonType_Icon .TB_Text { display: none; } .TB_ButtonType_Text .TB_Icon { display: none; } .TB_ButtonType_Text .TB_Text { padding-left: 5px; } .TB_Break { height: 23px; } --- NEW FILE: fck_dialog.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: fck_dialog.css * Styles used by the dialog boxes. * * Version: 2.0 RC3 * Modified: 2005-02-09 13:45:31 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ body { margin: 0px; padding: 10px; background-color: #f7f7f7; } body, td, input, select, textarea { font-size: 11px; font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; } body, .BackColor { background-color: #f7f7f7; } .PopupBody { margin: 0px; padding: 0px; } .PopupTitle { padding-right: 10px; padding-left: 10px; font-weight: bold; font-size: 14pt; padding-bottom: 3px; color: #504845; padding-top: 3px; background-color: #dedede; } .PopupButtons { border-top: #cec6b5 1px solid; background-color: #DEDEDE; padding: 7px 10px 7px 10px; } .Button { border: #7a7261 1px solid; color: #504845; background-color: #cec6b5; } .DarkBackground { background-color: #d7d79f; } .LightBackground { background-color: #ffffbe; } .PopupTitleBorder { border-bottom: #cec6b5 1px solid; } .PopupTabArea { color: #504845; background-color: #DEDEDE; } .PopupTabEmptyArea { padding-left: 10px ; border-bottom: #cec6b5 1px solid; } .PopupTab, .PopupTabSelected { border-right: #cec6b5 1px solid; border-top: #cec6b5 1px solid; border-left: #cec6b5 1px solid; padding-right: 5px; padding-left: 5px; padding-bottom: 3px; padding-top: 3px; color: #504845; } .PopupTab { margin-top: 1px; border-bottom: #cec6b5 1px solid; cursor: pointer; cursor: hand; } .PopupTabSelected { font-weight:bold; cursor: default; padding-top: 4px; border-bottom: #f1f1e3 1px solid; background-color: #f7f7f7; } --- NEW FILE: fck_contextmenu.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: fck_contextmenu.css * Styles used by the context menu. * * Version: 2.0 RC3 * Modified: 2005-02-23 18:58:19 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ .CM_ContextMenu, .CM_ContextMenu * { font-size: 11px; font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; } .CM_ContextMenu { border: 1px solid #8f8f73; padding: 2px; background-color: #f7f7f7; } .CM_Option, .CM_Over, .CM_Disabled { padding: 0px 3px; height: 18px; cursor: default; } .CM_Option, .CM_Over { cursor: hand; } .CM_Option .CM_Icon, .CM_Disabled .CM_Icon, .CM_Separator .CM_Icon { background-color: #dedede; } .CM_Option .CM_Icon IMG { filter: alpha(opacity=70); -moz-opacity: 0.70; } .CM_Disabled .CM_Icon IMG, .CM_Disabled .CM_Label { filter: gray() alpha(opacity=30); -moz-opacity: 0.30; } .CM_Option .CM_Label, .CM_Over .CM_Label { padding: 1px 10px 1px 3px; } .CM_Over { color: #ffffff; background-color: #8a857d; } .CM_Over .CM_Icon { background-color: #6c6761; } .CM_Separator TD { height: 3px; } .CM_Separator .CM_Label DIV { border-top: #b9b99d 1px solid; margin-left: 2px; margin-right: 3px; } /* ### Panel Styles */ .FCK_Panel { border: #8f8f73 1px solid; padding: 2px; background-color: #ffffff; } .FCK_Panel, .FCK_Panel TD { font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif; font-size: 11px; } /* ### Color Selector Panel */ .ColorBoxBorder { border: #808080 1px solid; position: static; } .ColorBox { font-size: 1px; width: 10px; position: static; height: 10px; } .ColorDeselected, .ColorSelected { cursor: default; } .ColorDeselected { border: #ffffff 1px solid; padding: 2px; float: left; } .ColorSelected { border: #316ac5 1px solid; padding: 2px; float: left; background-color: #c1d2ee; } /* ### Special Combos */ .SC_Panel { overflow-y: auto; white-space: nowrap; cursor: default; } .SC_Item, .SC_ItemSelected { margin-top: 2px; margin-bottom: 2px; background-position: left center; padding-left: 11px; padding-right: 3px; padding-top: 2px; padding-bottom: 2px; text-overflow: ellipsis; overflow: hidden; width: 100%; background-repeat: no-repeat; border: #dddddd 1px solid; } .SC_Item *, .SC_ItemSelected * { margin-top: 0px; margin-bottom: 0px; } .SC_ItemSelected { border: #9a9afb 1px solid; background-image: url(images/toolbar.arrowright.gif); } .SC_ItemOver { border: #316ac5 1px solid; } .SC_Field { border: #b7b7a6 1px solid; cursor: default; margin-top: 4px ; } .SC_FieldCaption { padding-top: 4px ; overflow: visible; padding-right: 5px; padding-left: 5px; filter: alpha(opacity=70); -moz-opacity:0.75; height: 23px; } .SC_FieldLabel { white-space: nowrap; padding: 2px; width: 100%; cursor: default; background-color: #ffffff; text-overflow: ellipsis; overflow: hidden; } .SC_FieldButton { background-position: center center; background-image: url(images/toolbar.buttonarrow.gif); border-left: #b7b7a6 1px solid; width: 14px; background-repeat: no-repeat; } .SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption { filter: gray() alpha(opacity=30); -moz-opacity:0.30; } .SC_FieldOver { border: #316ac5 1px solid; } .SC_FieldOver .SC_FieldButton { border-left: #316ac5 1px solid; } |
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/skins/default/toolbar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/skins/default/toolbar Added Files: about.gif anchor.gif bgcolor.gif bold.gif bulletedlist.gif button.gif checkbox.gif copy.gif cut.gif docprops.gif find.gif form.gif hiddenfield.gif image.gif imagebutton.gif indent.gif inserthorizontalrule.gif insertorderedlist.gif insertunorderedlist.gif italic.gif justifycenter.gif justifyfull.gif justifyleft.gif justifyright.gif link.gif newpage.gif numberedlist.gif outdent.gif paste.gif pastetext.gif pasteword.gif preview.gif print.gif radio.gif redo.gif removeformat.gif replace.gif save.gif select.gif selectall.gif showdetails.gif showtableborders.gif smiley.gif source.gif specialchar.gif spellcheck.gif strikethrough.gif subscript.gif superscript.gif table.gif tablecell.gif tabledeletecells.gif tabledeletecolumns.gif tabledeleterows.gif tableinsertcell.gif tableinsertcolumn.gif tableinsertrow.gif tablemergecells.gif tablesplitcell.gif textarea.gif textcolor.gif textfield.gif underline.gif undo.gif universalkey.gif unlink.gif unorderedlist.gif Log Message: Synching... --- NEW FILE: textcolor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeletecolumns.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: redo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unlink.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: checkbox.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: indent.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifycenter.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyleft.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: copy.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: newpage.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: preview.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: source.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertcolumn.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: justifyfull.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: subscript.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: inserthorizontalrule.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeletecells.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: outdent.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tabledeleterows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: selectall.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: textarea.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablemergecells.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: form.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: anchor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smiley.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pasteword.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: find.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablesplitcell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bold.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: radio.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: textfield.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: superscript.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tableinsertcell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: showdetails.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: undo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cut.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: universalkey.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bgcolor.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: about.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bulletedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: insertorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: imagebutton.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: removeformat.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: italic.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tablecell.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: numberedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: showtableborders.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: docprops.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: replace.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hiddenfield.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: underline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: print.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: strikethrough.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: insertunorderedlist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: select.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spellcheck.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: specialchar.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: link.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pastetext.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: save.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: table.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: paste.gif --- (This appears to be a binary file; contents omitted.) |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:00
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/skins/office2003/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/skins/office2003/images Added Files: toolbar.arrowright.gif toolbar.bg.gif toolbar.buttonarrow.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Synching... --- NEW FILE: toolbar.bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.expand.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.end.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.separator.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.collapse.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.start.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.arrowright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonarrow.gif --- (This appears to be a binary file; contents omitted.) |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:00
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/connectors/aspx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/filemanager/browser/default/connectors/aspx Added Files: connector.aspx Log Message: Synching... --- NEW FILE: connector.aspx --- <%@ Page language="c#" Inherits="FredCK.FCKeditorV2.FileBrowserConnector" AutoEventWireup="false" %> <%-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: connector.aspx * This is the File Browser Connector for ASP.NET. * * The code of this page if included in the FredCK.FCKeditorV2.dll file. So to * use it you must include the DLL in your "bin" directory. * * Version: 2.0 RC3 * Modified: 2004-11-26 23:16:40 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --%> |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:00
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/connectors/php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/filemanager/browser/default/connectors/php Added Files: basexml.php commands.php config.php connector.php io.php util.php Log Message: Synching... --- NEW FILE: connector.php --- <?php /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: connector.php * This is the File Manager Connector for PHP. * * Version: 2.0 RC3 * Modified: 2005-02-08 11:48:55 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ include('config.php') ; include('util.php') ; include('io.php') ; include('basexml.php') ; include('commands.php') ; // Get the "UserFiles" path. $GLOBALS["UserFilesPath"] = '' ; if ( isset( $Config['UserFilesPath'] ) ) $GLOBALS["UserFilesPath"] = $Config['UserFilesPath'] ; else if ( isset( $_GET['ServerPath'] ) ) $GLOBALS["UserFilesPath"] = $_GET['ServerPath'] ; else $GLOBALS["UserFilesPath"] = '/UserFiles/' ; if ( ! ereg( '/$', $GLOBALS["UserFilesPath"] ) ) $GLOBALS["UserFilesPath"] .= '/' ; // Map the "UserFiles" path to a local directory. //$GLOBALS["UserFilesDirectory"] = GetRootPath() . str_replace( '/', '\\', $GLOBALS["UserFilesPath"] ) ; $GLOBALS["UserFilesDirectory"] = GetRootPath() . $GLOBALS["UserFilesPath"] ; DoResponse() ; function DoResponse() { if ( !isset( $_GET['Command'] ) || !isset( $_GET['Type'] ) || !isset( $_GET['CurrentFolder'] ) ) return ; // Get the main request informaiton. $sCommand = $_GET['Command'] ; $sResourceType = $_GET['Type'] ; $sCurrentFolder = $_GET['CurrentFolder'] ; // Check if it is an allowed type. if ( !in_array( $sResourceType, array('File','Image','Flash','Media') ) ) return ; // Check the current folder syntax (must begin and start with a slash). if ( ! ereg( '/$', $sCurrentFolder ) ) $sCurrentFolder .= '/' ; if ( strpos( $sCurrentFolder, '/' ) !== 0 ) $sCurrentFolder = '/' . $sCurrentFolder ; // File Upload doesn't have to Return XML, so it must be intercepted before anything. if ( $sCommand == 'FileUpload' ) { FileUpload( $sResourceType, $sCurrentFolder ) ; return ; } // Prevent the browser from caching the result. // Date in the past header('Expires: Mon, 26 Jul 1997 05:00:00 GMT') ; // always modified header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT') ; // HTTP/1.1 header('Cache-Control: no-store, no-cache, must-revalidate') ; header('Cache-Control: post-check=0, pre-check=0', false) ; // HTTP/1.0 header('Pragma: no-cache') ; // Set the response format. header( 'Content-Type:text/xml; charset=utf-8' ) ; CreateXmlHeader( $sCommand, $sResourceType, $sCurrentFolder ) ; // Execute the required command. switch ( $sCommand ) { case 'GetFolders' : GetFolders( $sResourceType, $sCurrentFolder ) ; break ; case 'GetFoldersAndFiles' : GetFoldersAndFiles( $sResourceType, $sCurrentFolder ) ; break ; case 'CreateFolder' : CreateFolder( $sResourceType, $sCurrentFolder ) ; break ; } CreateXmlFooter() ; exit ; } ?> --- NEW FILE: commands.php --- <?php /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: commands.php * This is the File Manager Connector for ASP. * * Version: 2.0 RC3 * Modified: 2005-02-19 16:02:38 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ function GetFolders( $resourceType, $currentFolder ) { // Map the virtual path to the local server path. $sServerDir = ServerMapFolder( $resourceType, $currentFolder ) ; // Open the "Folders" node. echo "<Folders>" ; $oCurrentFolder = opendir( $sServerDir ) ; while ( $sFile = readdir( $oCurrentFolder ) ) { if ( $sFile != '.' && $sFile != '..' && is_dir( $sServerDir . $sFile ) ) echo '<Folder name="' . ConvertToXmlAttribute( $sFile ) . '" />' ; } closedir( $oCurrentFolder ) ; // Close the "Folders" node. echo "</Folders>" ; } function GetFoldersAndFiles( $resourceType, $currentFolder ) { // Map the virtual path to the local server path. $sServerDir = ServerMapFolder( $resourceType, $currentFolder ) ; // Initialize the output buffers for "Folders" and "Files". $sFolders = '<Folders>' ; $sFiles = '<Files>' ; $oCurrentFolder = opendir( $sServerDir ) ; while ( $sFile = readdir( $oCurrentFolder ) ) { if ( $sFile != '.' && $sFile != '..' ) { if ( is_dir( $sServerDir . $sFile ) ) $sFolders .= '<Folder name="' . ConvertToXmlAttribute( $sFile ) . '" />' ; else { $iFileSize = filesize( $sServerDir . $sFile ) ; if ( $iFileSize > 0 ) { $iFileSize = round( $iFileSize / 1024 ) ; if ( $iFileSize < 1 ) $iFileSize = 1 ; } $sFiles .= '<File name="' . ConvertToXmlAttribute( $sFile ) . '" size="' . $iFileSize . '" />' ; } } } echo $sFolders ; // Close the "Folders" node. echo '</Folders>' ; echo $sFiles ; // Close the "Files" node. echo '</Files>' ; } function CreateFolder( $resourceType, $currentFolder ) { $sErrorNumber = '0' ; $sErrorMsg = '' ; if ( isset( $_GET['NewFolderName'] ) ) { $sNewFolderName = $_GET['NewFolderName'] ; // Map the virtual path to the local server path of the current folder. $sServerDir = ServerMapFolder( $resourceType, $currentFolder ) ; if ( is_writable( $sServerDir ) ) { $sServerDir .= $sNewFolderName ; $sErrorMsg = CreateServerFolder( $sServerDir ) ; switch ( $sErrorMsg ) { case '' : $sErrorNumber = '0' ; break ; case 'Invalid argument' : case 'No such file or directory' : $sErrorNumber = '102' ; // Path too long. break ; default : $sErrorNumber = '110' ; break ; } } else $sErrorNumber = '103' ; } else $sErrorNumber = '102' ; // Create the "Error" node. echo '<Error number="' . $sErrorNumber . '" originalDescription="' . ConvertToXmlAttribute( $sErrorMsg ) . '" />' ; } function FileUpload( $resourceType, $currentFolder ) { $sErrorNumber = '0' ; $sFileName = '' ; if ( isset( $_FILES['NewFile'] ) && !is_null( $_FILES['NewFile']['tmp_name'] ) ) { $oFile = $_FILES['NewFile'] ; // Map the virtual path to the local server path. $sServerDir = ServerMapFolder( $resourceType, $currentFolder ) ; // Get the uploaded file name. $sFileName = $oFile['name'] ; $sOriginalFileName = $sFileName ; $sExtension = substr( $sFileName, ( strrpos($sFileName, '.') + 1 ) ) ; global $Config ; $arAllowed = $Config['AllowedExtensions'][$resourceType] ; $arDenied = $Config['DeniedExtensions'][$resourceType] ; if ( ( count($arAllowed) == 0 || in_array( $sExtension, $arAllowed ) ) && ( count($arDenied) == 0 || !in_array( $sExtension, $arDenied ) ) ) { $iCounter = 0 ; while ( true ) { $sFilePath = $sServerDir . $sFileName ; if ( is_file( $sFilePath ) ) { $iCounter++ ; $sFileName = RemoveExtension( $sOriginalFileName ) . '(' . $iCounter . ').' . $sExtension ; $sErrorNumber = '201' ; } else { move_uploaded_file( $oFile['tmp_name'], $sFilePath ) ; if ( is_file( $sFilePath ) ) { $oldumask = umask(0) ; chmod( $sFilePath, 0777 ) ; umask( $oldumask ) ; } break ; } } } else $sErrorNumber = '202' ; } else $sErrorNumber = '202' ; echo '<script type="text/javascript">' ; echo 'window.parent.frames["frmUpload"].OnUploadCompleted(' . $sErrorNumber . ',"' . str_replace( '"', '\\"', $sFileName ) . '") ;' ; echo '</script>' ; exit ; } ?> --- NEW FILE: basexml.php --- <?php /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: basexml.php * This is the File Manager Connector for ASP. * * Version: 2.0 RC3 * Modified: 2004-12-10 17:49:19 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ function CreateXmlHeader( $command, $resourceType, $currentFolder ) { // Create the XML document header. echo '<?xml version="1.0" encoding="utf-8" ?>' ; // Create the main "Connector" node. echo '<Connector command="' . $command . '" resourceType="' . $resourceType . '">' ; // Add the current folder node. echo '<CurrentFolder path="' . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( GetUrlFromPath( $resourceType, $currentFolder ) ) . '" />' ; } function CreateXmlFooter() { echo '</Connector>' ; } ?> --- NEW FILE: config.php --- <?php /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: config.php * Configuration file for the File Manager Connector for PHP. * * Version: 2.0 RC3 * Modified: 2005-02-08 12:01:53 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ global $Config ; // Path to user files relative to the document root. // SECURITY TIP: Uncomment the following line to set a fixed path. //$Config['UserFilesPath'] = '/UserFiles/' ; $Config['AllowedExtensions']['File'] = array() ; $Config['DeniedExtensions']['File'] = array('php','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg') ; $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ; $Config['DeniedExtensions']['Image'] = array() ; $Config['AllowedExtensions']['Flash'] = array('swf','fla') ; $Config['DeniedExtensions']['Flash'] = array() ; $Config['AllowedExtensions']['Media'] = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') ; $Config['DeniedExtensions']['Media'] = array() ; ?> --- NEW FILE: util.php --- <?php /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: util.php * This is the File Manager Connector for ASP. * * Version: 2.0 RC3 * Modified: 2004-12-10 17:46:39 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ function RemoveFromStart( $sourceString, $charToRemove ) { $sPattern = '|^' . $charToRemove . '+|' ; return preg_replace( $sPattern, '', $sourceString ) ; } function RemoveFromEnd( $sourceString, $charToRemove ) { $sPattern = '|' . $charToRemove . '+$|' ; return preg_replace( $sPattern, '', $sourceString ) ; } function ConvertToXmlAttribute( $value ) { return utf8_encode( htmlspecialchars( $value ) ) ; } ?> --- NEW FILE: io.php --- <?php /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: io.php * This is the File Manager Connector for ASP. * * Version: 2.0 RC3 * Modified: 2005-02-19 16:03:39 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ function GetUrlFromPath( $resourceType, $folderPath ) { if ( $resourceType == '' ) return RemoveFromEnd( $GLOBALS["UserFilesPath"], '/' ) . $folderPath ; else return $GLOBALS["UserFilesPath"] . $resourceType . $folderPath ; } function RemoveExtension( $fileName ) { return substr( $fileName, 0, strrpos( $fileName, '.' ) ) ; } function ServerMapFolder( $resourceType, $folderPath ) { // Get the resource type directory. // $sResourceTypePath = $GLOBALS["UserFilesDirectory"] . $resourceType . '\\' ; $sResourceTypePath = $GLOBALS["UserFilesDirectory"] . $resourceType . '/' ; // Ensure that the directory exists. CreateServerFolder( $sResourceTypePath ) ; // Return the resource type directory combined with the required path. // return $sResourceTypePath . str_replace( '/', '\\', RemoveFromStart( $folderPath, '/' ) ) ; return $sResourceTypePath . RemoveFromStart( $folderPath, '/' ) ; } function GetParentFolder( $folderPath ) { $sPattern = "-[/\\\\][^/\\\\]+[/\\\\]?$-" ; return preg_replace( $sPattern, '', $folderPath ) ; } function CreateServerFolder( $folderPath ) { $sParent = GetParentFolder( $folderPath ) ; // Check if the parent exists, or create it. if ( !file_exists( $sParent ) ) { $sErrorMsg = CreateServerFolder( $sParent ) ; if ( $sErrorMsg != '' ) return $sErrorMsg ; } if ( !file_exists( $folderPath ) ) { // Turn off all error reporting. error_reporting( 0 ) ; // Enable error tracking to catch the error. ini_set( 'track_errors', '1' ) ; // To create the folder with 0777 permissions, we need to set umask to zero. $oldumask = umask(0) ; mkdir( $folderPath, 0777 ) ; umask( $oldumask ) ; $sErrorMsg = $php_errormsg ; // Restore the configurations. ini_restore( 'track_errors' ) ; ini_restore( 'error_reporting' ) ; return $sErrorMsg ; } else return '' ; } function GetRootPath() { $sRealPath = realpath( './' ) ; // $sSelfPath = str_replace( '/', '\\', $_SERVER['PHP_SELF'] ) ; $sSelfPath = $_SERVER['PHP_SELF'] ; // $sSelfPath = substr( $sSelfPath, 0, strrpos( $sSelfPath, '\\' ) ) ; $sSelfPath = substr( $sSelfPath, 0, strrpos( $sSelfPath, '/' ) ) ; return substr( $sRealPath, 0, strlen( $sRealPath ) - strlen( $sSelfPath ) ) ; } ?> |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:00
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/skins/default/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/skins/default/images Added Files: toolbar.arrowright.gif toolbar.buttonarrow.gif toolbar.collapse.gif toolbar.end.gif toolbar.expand.gif toolbar.separator.gif toolbar.start.gif Log Message: Synching... --- NEW FILE: toolbar.expand.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.end.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.separator.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.collapse.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.start.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.arrowright.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: toolbar.buttonarrow.gif --- (This appears to be a binary file; contents omitted.) |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:16:00
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/connectors/cfm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/filemanager/browser/default/connectors/cfm Added Files: connector.cfm Log Message: Synching... --- NEW FILE: connector.cfm --- <cfsetting enablecfoutputonly="true" showdebugoutput="false"> <!--- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: connector.cfm * This is the File Browser Connector for ColdFusion. * * Notice: * FCKEditor needs an UTF-8 encoded XML packet. * Only CFMX can encode in UTF-8. If this browser doesn't work in CF 4.0/4.5/5, * please send me a notice. We then can use an more object oriented approach (CFC) * to clean up this code :) * * Please declare the base path (e.g. /UserFiles/) as an Application or Server variable * Directory structure (with optional subdirectories built by the user). * The "Type" subdirectory is automatically submitted by FCKEditor: * /UserFiles/Image/ * /UserFiles/Flash/ * /UserFiles/File/ * /UserFiles/Media/ * * Version: 2.0 RC3 * Modified: 2004-12-07 12:01:46 * * File Authors: * Hendrik Kramer (hk...@lw...) ---> <cfparam name="URL.Command" type="string"> <cfparam name="URL.Type" type="string"> <cfparam name="URL.CurrentFolder" type="string"> <!--- :: * Get base url path to the userfiles directory (may be set in Application.cfm or anywhere else) :: ---> <cfif isDefined('APPLICATION.userFilesPath')> <cflock scope="Application" type="readonly" timeout="3"> <cfset sUserFilesURL = APPLICATION.userFilesPath> </cflock> <cfelseif isDefined('SERVER.userFilesPath')> <cflock scope="SERVER" type="readonly" timeout="3"> <cfset sUserFilesURL = SERVER.userFilesPath> </cflock> <cfelse> <!--- :: then use default :: ---> <cfset sUserFilesURL = "/UserFiles/"> </cfif> <cfif not len( sUserFilesURL )> <cfthrow type="fckeditor.connector" message="You must supply a full path to the userFiles base URL in APPLICATION or SERVER Scope."> </cfif> <cfscript> /** * We must extract the physical server directory for the webroot of this project to append the base url path * e.g. * PATH=c:\inetpub\wwwroot\project1\fckeditor\editor\filemanager\browser\default\connectors\cfm\connector.cfm * URL =/fckeditor/editor/filemanager/browser/default/connectors/cfm/connector.cfm * ROOT=c:\inetpub\wwwroot\project1\ * * This may fail if you use an symbolic link inside your webroot */ sRootDir = replace( getBaseTemplatePath(), "\", "/", "ALL"); iLen = listLen( cgi.script_name, '/' ); for( i=iLen; i GTE 1; i=i-1 ) { iPos = listFindNoCase( sRootDir, listGetAt( cgi.script_name, i, '/' ), '/' ); if( iPos GT 0 ) sRootDir = listDeleteAt( sRootDir, iPos, '/' ); } // replace backslashes in URL with normal slashes sUserFilesURL = replace( sUserFilesURL, "\", "/", "ALL"); // Check the base folder syntax (must end with a slash). if( compare( right( sUserFilesURL, 1), "/" ) ) sUserFilesURL = sUserFilesURL & "/"; // Create the physical path to the media root directory sUserFilesPath = sRootDir & sUserFilesURL; sUserFilesPath = replace( sUserFilesPath, '//', '/', 'ALL' ); // Check the current folder syntax (must begin and start with a slash). if( compare( left( URL.CurrentFolder, 1), "/" ) ) URL.CurrentFolder = "/" & URL.CurrentFolder; if( compare( right( URL.CurrentFolder, 1), "/" ) ) URL.CurrentFolder = URL.CurrentFolder & "/"; /** * Prepare the XML Header and Footer */ sXMLHeader = '<?xml version="1.0" encoding="utf-8" ?><Connector command="#URL.Command#" resourceType="#URL.Type#">'; sXMLHeader = sXMLHeader & '<CurrentFolder path="#URL.CurrentFolder#" url="#sUserFilesURL##URL.Type##URL.CurrentFolder#" />'; sXMLFooter = '</Connector>'; sXMLContent = ''; </cfscript> <!--- :: Make sure that current base path exists as a directory :: ---> <cfif not directoryExists( sUserFilesPath & URL.Type & URL.CurrentFolder )> <cfdirectory action="create" directory="#sUserFilesPath##URL.Type##URL.CurrentFolder#" > </cfif> <!--- :: Switch command arguments :: ---> <cfswitch expression="#URL.Command#"> <cfcase value="FileUpload"> <cfset sFileName = ""> <cfset sFileExt = ""> <cftry> <!--- :: first upload the file with an unique filename :: ---> <cffile action="UPLOAD" fileField="NewFile" destination="#sUserFilesPath##URL.Type##URL.CurrentFolder#" nameConflict="MAKEUNIQUE" > <cfscript> sErrorNumber = 0; sFileName = CFFILE.ClientFileName; sFileExt = CFFILE.ServerFileExt; /** * Validate filename for html download. Only a-z, 0-9, _, - and . are allowed. */ if( reFind("[^A-Za-z0-9_\-\.]", sFileName) ) { sFilename = reReplace(sFilename, "[^A-Za-z0-9\-\.]", "_", "ALL"); sFilename = reReplace(sFilename, "_{2,}", "_", "ALL"); sFilename = reReplace(sFilename, "([^_]+)_+$", "\1", "ALL"); sFilename = reReplace(sFilename, "$_([^_]+)$", "\1", "ALL"); } // When the original filename already exists, add numbers (0), (1), (2), ... at the end of the filename. if( compare( CFFILE.ServerFileName, sFileName ) ) { iCounter = 0; sTmpFileName = sFileName; while( fileExists('#sUserFilesPath##URL.Type##URL.CurrentFolder##sFilename#.#sFileExt#') ) { iCounter=iCounter+1; sFileName = sTmpFileName & '(#iCounter#)'; } } </cfscript> <!--- :: Rename the uploaded file, if neccessary ---> <cfif compare( CFFILE.ServerFileName, sFileName )> <cfset sErrorNumber = "201"> <cffile action="RENAME" source="#sUserFilesPath##URL.Type##URL.CurrentFolder##CFFILE.ServerFileName#.#CFFILE.ServerFileExt#" destination="#sUserFilesPath##URL.Type##URL.CurrentFolder##sFileName#.#sFileExt#" mode="644" attributes="normal" > </cfif> <cfcatch type="Any"> <cfset sErrorNumber = "202"> </cfcatch> </cftry> <cfif sErrorNumber eq 201> <!--- :: file was changed (201), submit the new filename :: ---> <cfoutput> <script type="text/javascript"> window.parent.frames['frmUpload'].OnUploadCompleted(#sErrorNumber#,'#replace( sFileName & "." & sFileExt, "'", "\'", "ALL")#'); </script> </cfoutput> <cfelse> <!--- :: file was uploaded succesfully(0) or an error occured(202). Submit only the error code. :: ---> <cfoutput> <script type="text/javascript"> window.parent.frames['frmUpload'].OnUploadCompleted(#sErrorNumber#); </script> </cfoutput> </cfif> <cfabort> </cfcase> <cfcase value="GetFolders"> <!--- :: Sort directories first, name ascending :: ---> <cfdirectory action="LIST" directory="#sUserFilesPath##URL.Type##URL.CurrentFolder#" name="qDir" sort="type,name" > <cfscript> iLen = qDir.recordCount; i=1; sFolders = ''; while( i LTE iLen ) { if( not compareNoCase( qDir.type[i], "FILE" )) break; if( not listFind(".,..", qDir.name[i]) ) sFolders = sFolders & '<Folder name="#qDir.name[i]#" />'; i=i+1; } sXMLContent = sXMLContent & '<Folders>' & sFolders & '</Folders>'; </cfscript> </cfcase> <cfcase value="GetFoldersAndFiles"> <!--- :: Sort directories first, name ascending :: ---> <cfdirectory action="LIST" directory="#sUserFilesPath##URL.Type##URL.CurrentFolder#" name="qDir" sort="type,name" > <cfscript> iLen = qDir.recordCount; i=1; sFolders = ''; sFiles = ''; while( i LTE iLen ) { if( not compareNoCase( qDir.type[i], "DIR" ) and not listFind(".,..", qDir.name[i]) ) { sFolders = sFolders & '<Folder name="#qDir.name[i]#" />'; } else if( not compareNoCase( qDir.type[i], "FILE" ) ) { iFileSize = int( qDir.size[i] / 1024 ); sFiles = sFiles & '<File name="#qDir.name[i]#" size="#IIf( iFileSize GT 0, DE( iFileSize ), 1)#" />'; } i=i+1; } sXMLContent = sXMLContent & '<Folders>' & sFolders & '</Folders>'; sXMLContent = sXMLContent & '<Files>' & sFiles & '</Files>'; </cfscript> </cfcase> <cfcase value="CreateFolder"> <cfparam name="URL.NewFolderName" default=""> <cfif not len( URL.NewFolderName ) or len( URL.NewFolderName ) GT 255> <cfset iErrorNumber = 102> <cfelseif directoryExists( sUserFilesPath & URL.Type & URL.CurrentFolder & URL.NewFolderName )> <cfset iErrorNumber = 101> <cfelseif reFind( "^\.\.", URL.NewFolderName )> <cfset iErrorNumber = 103> <cfelse> <cfset iErrorNumber = 0> <cftry> <cfdirectory action="CREATE" directory="#sUserFilesPath##URL.Type##URL.CurrentFolder##URL.NewFolderName#" > <cfcatch> <!--- :: * Not resolvable ERROR-Numbers in ColdFusion: * 102 : Invalid folder name. * 103 : You have no permissions to create the folder. :: ---> <cfset iErrorNumber = 110> </cfcatch> </cftry> </cfif> <cfset sXMLContent = sXMLContent & '<Error number="#iErrorNumber#" />'> </cfcase> <cfdefaultcase> <cfthrow type="fckeditor.connector" message="Illegal command: #URL.Command#"> </cfdefaultcase> </cfswitch> <!--- :: * output XML (no content caching) :: ---> <cfheader name="Pragma" value="no-cache"> <cfheader name="Cache-Control" value="no-cache, no-store, must-revalidate"> <cfcontent reset="true" type="text/xml; charset=UTF-8"> <cfoutput>#sXMLHeader##sXMLContent##sXMLFooter#</cfoutput> <cfsetting enablecfoutputonly="false"> |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:15:58
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/filemanager/browser/default/js In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor/filemanager/browser/default/js Added Files: common.js fckxml.js Log Message: Synching... --- NEW FILE: common.js --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fckxml.js --- (This appears to be a binary file; contents omitted.) |
From: Raphael D. P. <rap...@us...> - 2005-09-01 18:15:58
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/editor Added Files: fckblank.html fckdebug.html fckdialog.html fckeditor.html fckeditor.original.html fckeditorarea.html Log Message: Synching... --- NEW FILE: fckeditor.original.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: fckeditor.original.html * Main page that holds the editor. * * Version: 2.0 RC3 * Modified: 2005-03-02 10:54:21 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>FCKeditor</title> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <!-- @Packager.RemoveLine --> <meta name="robots" content="noindex, nofollow" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="lang/fcklanguagemanager.js"></script> <!-- @Packager.RemoveLine <meta http-equiv="Cache-Control" content="public"> @Packager.RemoveLine --> <!-- @Packager.Remove.Start --> <script type="text/javascript" src="_source/internals/fckcoreextensions.js"></script> <script type="text/javascript" src="_source/globals/fck_constants.js"></script> <script type="text/javascript" src="_source/internals/fckbrowserinfo.js"></script> <script type="text/javascript" src="_source/internals/fckscriptloader.js"></script> <script type="text/javascript" src="_source/internals/fckurlparams.js"></script> <script type="text/javascript" src="_source/internals/fck.js"></script> <script type="text/javascript" src="_source/internals/fckconfig.js"></script> <script type="text/javascript" src="_source/globals/fckeditorapi.js"></script> <script type="text/javascript" src="_source/internals/fck_onload.js"></script> <!-- @Packager.Remove.End --> <!-- @Packager.RemoveLine <script type="text/javascript" src="js/fck_startup.js"></script> @Packager.RemoveLine --> </head> <body> <table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0" style="TABLE-LAYOUT: fixed"> <tr> <td unselectable="on" style="OVERFLOW: hidden"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr id="Collapsed" style="DISPLAY: none"> <td id="ExpandHandle" class="TB_Expand" unselectable="on" colspan="3" onclick="FCKToolbarSet.Expand();return false;"><img class="TB_ExpandImg" src="images/spacer.gif" width="8" height="4" unselectable="on"></td> </tr> <tr id="Expanded" style="DISPLAY: none"> <td id="CollapseHandle" style="DISPLAY: none" class="TB_Collapse" unselectable="on" valign="bottom" onclick="FCKToolbarSet.Collapse();return false;"><img class="TB_CollapseImg" src="images/spacer.gif" width="8" height="4" unselectable="on"></td> <td id="eToolbar" class="TB_ToolbarSet" unselectable="on"></td> <td width="1" style="BACKGROUND-COLOR: #696969"></td> </tr> </table> </td> </tr> <tr id="eWysiwyg"> <td id="eWysiwygCell" height="100%" valign="top"> <iframe id="eEditorArea" name="eEditorArea" height="100%" width="100%" frameborder="no" src="fckeditorarea.html"></iframe> </td> </tr> <tr id="eSource" style="DISPLAY: none"> <td class="Source" height="100%" valign="top"> <textarea id="eSourceField" dir="ltr" style="WIDTH: 100%; HEIGHT: 100%"></textarea> </td> </tr> </table> </body> </html> --- NEW FILE: fckblank.html --- <html> <head><title></title></head> <body></body> </html> --- NEW FILE: fckdialog.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: fckdialog.html * This page is used by all dialog box as the container. * * Version: 2.0 RC3 * Modified: 2005-02-19 14:49:02 * * 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" /> <meta name="robots" content="noindex, nofollow" /> <script type="text/javascript"> <!-- // On some Gecko browsers (probably over slow connections) the // "dialogArguments" are not set so we must get it from the opener window. if ( !dialogArguments ) dialogArguments = window.opener.FCKLastDialogInfo ; // Sets the Skin CSS document.write( '<link href="' + dialogArguments.Editor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ; // Sets the language direction. window.document.dir = dialogArguments.Editor.FCKLang.Dir ; var sTitle = dialogArguments.Title ; document.write( '<title>' + sTitle + '</title>' ) ; function LoadInnerDialog() { if ( window.onresize ) window.onresize() ; // First of all, translate the dialog box contents. dialogArguments.Editor.FCKLanguageManager.TranslatePage( document ) ; window.frames["frmMain"].document.location.href = dialogArguments.Page ; } function InnerDialogLoaded() { var oInnerDoc = document.getElementById('frmMain').contentWindow.document ; // Set the language direction. oInnerDoc.dir = dialogArguments.Editor.FCKLang.Dir ; // Sets the Skin CSS. oInnerDoc.write( '<link href="' + dialogArguments.Editor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ; SetOnKeyDown( oInnerDoc ) ; DisableContextMenu( oInnerDoc ) ; return dialogArguments.Editor ; } function SetOkButton( showIt ) { document.getElementById('btnOk').style.visibility = ( showIt ? '' : 'hidden' ) ; } var bAutoSize = false ; function SetAutoSize( autoSize ) { bAutoSize = autoSize ; RefreshSize() ; } function RefreshSize() { if ( bAutoSize ) { var oInnerDoc = document.getElementById('frmMain').contentWindow.document ; if ( document.all ) var iFrameHeight = oInnerDoc.body.offsetHeight ; else var iFrameHeight = document.getElementById('frmMain').contentWindow.innerHeight ; var iInnerHeight = oInnerDoc.body.scrollHeight ; var iDiff = iInnerHeight - iFrameHeight ; if ( iDiff > 0 ) { if ( document.all ) window.dialogHeight = ( parseInt( window.dialogHeight ) + iDiff ) + 'px' ; else window.resizeBy( 0, iDiff ) ; } } } function Ok() { if ( window.frames["frmMain"].Ok && window.frames["frmMain"].Ok() ) Cancel() ; } function Cancel() { window.close() ; } // Object that holds all available tabs. var oTabs = new Object() ; function AddTab( tabCode, tabText, startHidden ) { if ( typeof( oTabs[ tabCode ] ) != 'undefined' ) return ; var eTabsRow = document.getElementById( 'Tabs' ) ; var oCell = eTabsRow.insertCell( eTabsRow.cells.length - 1 ) ; oCell.noWrap = true ; var oDiv = document.createElement( 'DIV' ) ; oDiv.className = 'PopupTab' ; oDiv.innerHTML = tabText ; oDiv.TabCode = tabCode ; oDiv.onclick = function() { SetSelectedTab( this.TabCode ) ; } if ( startHidden ) oDiv.style.display = 'none' ; var eTabsRow = document.getElementById( 'TabsRow' ) ; oCell.appendChild( oDiv ) ; if ( eTabsRow.style.display == 'none' ) { var eTitleArea = document.getElementById( 'TitleArea' ) ; eTitleArea.className = 'PopupTitle' ; oDiv.className = 'PopupTabSelected' ; eTabsRow.style.display = '' ; if ( ! dialogArguments.Editor.FCKBrowserInfo.IsIE ) window.onresize() ; } oTabs[ tabCode ] = oDiv ; oTabs[ tabCode ].Index = oTabs.length - 1 ; } function SetSelectedTab( tabCode ) { for ( var sCode in oTabs ) { if ( sCode == tabCode ) oTabs[sCode].className = 'PopupTabSelected' ; else oTabs[sCode].className = 'PopupTab' ; } if ( typeof( window.frames["frmMain"].OnDialogTabChange ) == 'function' ) window.frames["frmMain"].OnDialogTabChange( tabCode ) ; } function SetTabVisibility( tabCode, isVisible ) { var oTab = oTabs[ tabCode ] ; oTab.style.display = isVisible ? '' : 'none' ; if ( ! isVisible && oTab.className == 'PopupTabSelected' ) { for ( var sCode in oTabs ) { if ( oTabs[sCode].style.display != 'none' ) { SetSelectedTab( sCode ) ; break ; } } } } function SetOnKeyDown( targetDocument ) { targetDocument.onkeydown = function ( e ) { var e = e || event || this.parentWindow.event ; switch ( e.keyCode ) { case 13 : // ENTER var oTarget = e.srcElement || e.target ; if ( oTarget.tagName == 'TEXTAREA' ) return ; Ok() ; return false ; case 27 : // ESC Cancel() ; return false ; break ; } } } SetOnKeyDown( document ) ; function DisableContextMenu( targetDocument ) { if ( dialogArguments.Editor.FCKBrowserInfo.IsIE ) return ; // Disable Right-Click var oOnContextMenu = function( e ) { var sTagName = e.target.tagName ; if ( ! ( ( sTagName == "INPUT" && e.target.type == "text" ) || sTagName == "TEXTAREA" ) ) e.preventDefault() ; } targetDocument.addEventListener( 'contextmenu', oOnContextMenu, true ) ; } DisableContextMenu( document ) ; if ( ! dialogArguments.Editor.FCKBrowserInfo.IsIE ) { window.onresize = function() { var oFrame = document.getElementById("frmMain") ; if ( ! oFrame ) return ; oFrame.height = 0 ; var oCell = document.getElementById("FrameCell") ; var iHeight = oCell.offsetHeight ; oFrame.height = iHeight - 2 ; } } window.onfocus = function() { document.getElementById('frmMain').contentWindow.focus() ; } //--> </script> </head> <body onload="LoadInnerDialog();" class="PopupBody"> <table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td id="TitleArea" class="PopupTitle PopupTitleBorder"> <script type="text/javascript"> <!-- document.write( sTitle ) ; //--> </script> </td> </tr> <tr id="TabsRow" style="DISPLAY: none"> <td class="PopupTabArea"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr id="Tabs" onselectstart="return false;"> <td class="PopupTabEmptyArea"> </td> <td class="PopupTabEmptyArea" width="100%"> </td> </tr> </table> </td> </tr> <tr> <td id="FrameCell" height="100%" valign="top"> <iframe id="frmMain" src="fckblank.html" name="frmMain" frameborder="0" height="100%" width="100%" scrolling="auto"> </iframe> </td> </tr> <tr> <td class="PopupButtons"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100%"> </td> <td nowrap="nowrap"> <input id="btnOk" style="VISIBILITY: hidden; WIDTH: 100px" type="button" value="Ok" class="Button" onclick="Ok();" fckLang="DlgBtnOK" /> <input type="button" value="Cancel" class="Button" onclick="Cancel();" fckLang="DlgBtnCancel" /> </td> </tr> </table> </td> </tr> </table> </body> </html> --- NEW FILE: fckeditorarea.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>FCKeditor - Editor Area</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body></body> </html> --- NEW FILE: fckeditor.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: fckeditor.html * Main page that holds the editor. * * Version: 2.0 RC3 * Modified: 2005-03-02 10:54:21 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>FCKeditor</title> <meta name="robots" content="noindex, nofollow" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="lang/fcklanguagemanager.js"></script> <meta http-equiv="Cache-Control" content="public"> <script type="text/javascript" src="js/fck_startup.js"></script> </head> <body> <table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0" style="TABLE-LAYOUT: fixed"> <tr> <td unselectable="on" style="OVERFLOW: hidden"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr id="Collapsed" style="DISPLAY: none"> <td id="ExpandHandle" class="TB_Expand" unselectable="on" colspan="3" onclick="FCKToolbarSet.Expand();return false;"><img class="TB_ExpandImg" src="images/spacer.gif" width="8" height="4" unselectable="on"></td> </tr> <tr id="Expanded" style="DISPLAY: none"> <td id="CollapseHandle" style="DISPLAY: none" class="TB_Collapse" unselectable="on" valign="bottom" onclick="FCKToolbarSet.Collapse();return false;"><img class="TB_CollapseImg" src="images/spacer.gif" width="8" height="4" unselectable="on"></td> <td id="eToolbar" class="TB_ToolbarSet" unselectable="on"></td> <td width="1" style="BACKGROUND-COLOR: #696969"></td> </tr> </table> </td> </tr> <tr id="eWysiwyg"> <td id="eWysiwygCell" height="100%" valign="top"> <iframe id="eEditorArea" name="eEditorArea" height="100%" width="100%" frameborder="no" src="fckeditorarea.html"></iframe> </td> </tr> <tr id="eSource" style="DISPLAY: none"> <td class="Source" height="100%" valign="top"> <textarea id="eSourceField" dir="ltr" style="WIDTH: 100%; HEIGHT: 100%"></textarea> </td> </tr> </table> </body> </html> --- NEW FILE: fckdebug.html --- <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 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: fckdebug.html * This is the Debug window. * It automatically popups if the Debug = true in the configuration file. * * Version: 2.0 RC3 * Modified: 2005-02-23 20:49:25 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta name="ROBOTS" content="NOINDEX, NOFOLLOW"> <title>FCKeditor Debug Window</title> <script type="text/javascript"> var oWindow ; var oDiv ; if ( !window.FCKMessages ) window.FCKMessages = new Array() ; function Initialize() { oWindow = window.frames[ 'eOutput' ] oWindow.document.open() ; oWindow.document.write( '<div id="divMsg"></div>' ) ; oWindow.document.close() ; oDiv = oWindow.document.getElementById('divMsg') ; } function Output( message, color ) { if ( color ) message = '<font color="' + color + '">' + message + '</font>' ; window.FCKMessages[ window.FCKMessages.length ] = message ; StartTimer() ; } function StartTimer() { window.setTimeout( 'CheckMessages()', 100 ) ; } function CheckMessages() { if ( window.FCKMessages.length > 0 ) { // Get the first item in the queue var sMessage = window.FCKMessages[0] ; // Removes the first item from the queue var oTempArray = new Array() ; for ( i = 1 ; i < window.FCKMessages.length ; i++ ) oTempArray[ i - 1 ] = window.FCKMessages[ i ] ; window.FCKMessages = oTempArray ; var d = new Date() ; var sTime = ( d.getHours() + 100 + '' ).substr( 1,2 ) + ':' + ( d.getMinutes() + 100 + '' ).substr( 1,2 ) + ':' + ( d.getSeconds() + 100 + '' ).substr( 1,2 ) + ':' + ( d.getMilliseconds() + 1000 + '' ).substr( 1,3 ) ; var oMsgDiv = oWindow.document.createElement( 'div' ) ; oMsgDiv.innerHTML = sTime + ': <b>' + sMessage + '</b>' ; oDiv.appendChild( oMsgDiv ) ; oMsgDiv.scrollIntoView() ; } } function Clear() { oDiv.innerHTML = '' ; } </script> </head> <body onload="Initialize();" bottomMargin="10" leftMargin="10" topMargin="10" rightMargin="10"> <TABLE height="100%" cellSpacing="5" cellPadding="0" width="100%" border="0"> <TR> <TD> <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0"> <TR> <TD><FONT size="+2"><STRONG>FCKeditor Debug Window</STRONG></FONT></TD> <TD align="right"><INPUT type="button" value="Clear" onclick="Clear();"></TD> </TR> </TABLE> </TD> </TR> <TR> <TD height="100%" style="BORDER-RIGHT: #696969 1px solid; BORDER-TOP: #696969 1px solid; BORDER-LEFT: #696969 1px solid; BORDER-BOTTOM: #696969 1px solid"> <iframe id="eOutput" name="eOutput" width="100%" height="100%" scrolling="auto" src="fckblank.html" frameborder="no"></iframe> </TD> </TR> </TABLE> </body> </html> |