Home
last modified time | relevance | path

Searched refs:currentFolder (Results 1 – 24 of 24) sorted by relevance

/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/py/
H A Dfckutil.py77 def getCurrentFolder(currentFolder): argument
78 if not currentFolder:
79 currentFolder = '/'
82 if (currentFolder[-1] <> "/"):
83 currentFolder += "/"
84 if (currentFolder[0] <> "/"):
85 currentFolder = "/" + currentFolder
88 while '//' in currentFolder:
89 currentFolder = currentFolder.replace('//','/')
92 if '..' in currentFolder:
[all …]
H A Dzope.py70 def getFolders(self, resourceType, currentFolder): argument
74 zopeFolder = self.findZopeFolder(resourceType, currentFolder)
83 def getZopeFoldersAndFiles(self, resourceType, currentFolder): argument
84 folders = self.getZopeFolders(resourceType, currentFolder)
85 files = self.getZopeFiles(resourceType, currentFolder)
89 def getZopeFiles(self, resourceType, currentFolder): argument
93 zopeFolder = self.findZopeFolder(resourceType, currentFolder)
120 def createFolder(self, resourceType, currentFolder): argument
122 zopeFolder = self.findZopeFolder(resourceType, currentFolder)
132 def uploadFile(self, resourceType, currentFolder, count=None): argument
[all …]
H A Dfckcommands.py40 def getFolders(self, resourceType, currentFolder): argument
45 serverPath = mapServerFolder(self.userFilesFolder,currentFolder)
57 def getFoldersAndFiles(self, resourceType, currentFolder): argument
62 serverPath = mapServerFolder(self.userFilesFolder,currentFolder)
84 def createFolder(self, resourceType, currentFolder): argument
93 newFolderPath = mapServerFolder(self.userFilesFolder, combinePaths(currentFolder, newFolder))
118 def uploadFile(self, resourceType, currentFolder): argument
151 currentFolderPath = mapServerFolder(self.userFilesFolder, currentFolder)
175 newFileUrl = self.webUserFilesFolder + currentFolder + newFileName
H A Dconnector.py56 currentFolder = getCurrentFolder(self.request.get("CurrentFolder"))
58 if currentFolder is None:
88 return self.uploadFile(resourceType, currentFolder)
91 url = combinePaths( self.webUserFilesFolder, currentFolder )
94 s += self.createXmlHeader(command, resourceType, currentFolder, url)
100 s += selector[command](resourceType, currentFolder)
H A Dupload.py44 currentFolder = getCurrentFolder(self.request.get("CurrentFolder",""))
46 if currentFolder is None:
71 return self.uploadFile(resourceType, currentFolder)
H A Dfckoutput.py68 def createXmlHeader(self, command, resourceType, currentFolder, url): argument
80 convertToXmlAttribute(currentFolder),
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/perl/
H A Dcommands.pl27 local($resourceType, $currentFolder) = @_;
30 $sServerDir = &ServerMapFolder($resourceType, $currentFolder);
49 local($resourceType, $currentFolder) = @_;
51 $sServerDir = &ServerMapFolder($resourceType,$currentFolder);
88 local($resourceType, $currentFolder) = @_;
95 $sServerDir = &ServerMapFolder($resourceType, $currentFolder);
121 local($resourceType, $currentFolder) = @_;
127 $sServerDir = &ServerMapFolder($resourceType,$currentFolder);
153 SendUploadResults($sErrorNumber, $resourceType.$currentFolder.$sFileName, $sFileName, '');
H A Dbasexml.pl26 local($command,$resourceType,$currentFolder) = @_;
35 …="' . ConvertToXmlAttribute($currentFolder) . '" url="' . ConvertToXmlAttribute(GetUrlFromPath($re…
/plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php72 function GetFolders( $resourceType, $currentFolder ) argument
77 $currentFolder=encode_dir($currentFolder);
166 function GetFoldersAndFiles( $resourceType, $currentFolder ) argument
176 $currentFolder=encode_dir($currentFolder);
196 $temp_folder = $currentFolder;
316 function CreateFolder( $resourceType, $currentFolder ) argument
486 return GetFoldersAndFiles( $resourceType, $currentFolder );
527 function FileUpload( $resourceType, $currentFolder, $sCommand ) argument
573 … if(preg_match('/%[a-z]+[0-9]/',$currentFolder) || preg_match('/%[0-9][a-z]/',$currentFolder)) {
577 $ns_tmp = dwiki_decodeFN(trim($currentFolder, '/'));
[all …]
H A Dbasexml.php45 function CreateXmlHeader( $command, $resourceType, $currentFolder ) argument
56 … . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( GetUrlFromPath( $r…
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php71 function GetFolders( $resourceType, $currentFolder ) argument
76 $currentFolder=encode_dir($currentFolder);
165 function GetFoldersAndFiles( $resourceType, $currentFolder ) argument
175 $currentFolder=encode_dir($currentFolder);
195 $temp_folder = $currentFolder;
315 function CreateFolder( $resourceType, $currentFolder ) argument
480 return GetFoldersAndFiles( $resourceType, $currentFolder );
521 function FileUpload( $resourceType, $currentFolder, $sCommand ) argument
568 … if(preg_match('/%[a-z]+[0-9]/',$currentFolder) || preg_match('/%[0-9][a-z]/',$currentFolder)) {
572 $ns_tmp = dwiki_decodeFN(trim($currentFolder, '/'));
[all …]
H A Dbasexml.php45 function CreateXmlHeader( $command, $resourceType, $currentFolder ) argument
56 … . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( GetUrlFromPath( $r…
/plugin/fckg/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php73 function GetFolders( $resourceType, $currentFolder ) argument
79 $currentFolder=encode_dir($currentFolder);
167 function GetFoldersAndFiles( $resourceType, $currentFolder ) argument
178 $currentFolder=encode_dir($currentFolder);
198 $temp_folder = $currentFolder;
314 function CreateFolder( $resourceType, $currentFolder ) argument
474 return GetFoldersAndFiles( $resourceType, $currentFolder );
484 return GetFoldersAndFiles( $resourceType, $currentFolder );
523 function FileUpload( $resourceType, $currentFolder, $sCommand ) argument
561 $ns_tmp = dwiki_decodeFN(trim($currentFolder, '/'));
[all …]
H A Dbasexml.php45 function CreateXmlHeader( $command, $resourceType, $currentFolder ) argument
56 … . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( GetUrlFromPath( $r…
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php25 function GetFolders( $resourceType, $currentFolder ) argument
28 $sServerDir = ServerMapFolder( $resourceType, $currentFolder, 'GetFolders' ) ;
54 function GetFoldersAndFiles( $resourceType, $currentFolder ) argument
57 $sServerDir = ServerMapFolder( $resourceType, $currentFolder, 'GetFoldersAndFiles' ) ;
107 function CreateFolder( $resourceType, $currentFolder ) argument
125 $sServerDir = ServerMapFolder( $resourceType, $currentFolder, 'CreateFolder' ) ;
158 function FileUpload( $resourceType, $currentFolder, $sCommand ) argument
173 $sServerDir = ServerMapFolder( $resourceType, $currentFolder, $sCommand ) ;
238 $sFileUrl = CombinePaths( GetResourceTypePath( $resourceType, $sCommand ) , $currentFolder ) ;
H A Dbasexml.php45 function CreateXmlHeader( $command, $resourceType, $currentFolder ) argument
56 … . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( GetUrlFromPath( $r…
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/cfm/
H A Dcf5_upload.cfm40 <cfparam name="url.currentFolder" default="/">
70 <cfif find( "..", url.currentFolder)>
93 url.currentFolder = replace(url.currentFolder, "\", "/", "ALL");
94 url.currentFolder = replace(url.currentFolder, '//', '/', 'ALL');
95 if ( right(url.currentFolder,1) neq "/" ) {
96 url.currentFolder = url.currentFolder & "/";
98 if ( left(url.currentFolder,1) neq "/" ) {
99 url.currentFolder = "/" & url.currentFolder;
131 <cfset userFilesServerPath = expandpath( resourceTypeUrl ) & url.currentFolder>
143 <cfset userFilesServerPath = Config.FileTypesAbsolutePath[url.type] & url.currentFolder>
[all …]
H A Dcf5_connector.cfm40 <cfparam name="url.currentFolder">
66 url.currentFolder = replace(url.currentFolder, "\", "/", "ALL");
67 url.currentFolder = replace(url.currentFolder, '//', '/', 'ALL');
68 if ( right(url.currentFolder,1) neq "/" )
70 url.currentFolder = url.currentFolder & "/";
72 if ( left(url.currentFolder,1) neq "/" )
74 url.currentFolder = "/" & url.currentFolder;
113 <cfset userFilesServerPath = Config.FileTypesAbsolutePath[url.type] & url.currentFolder>
116 <cfset userFilesServerPath = expandpath( resourceTypeUrl ) & url.currentFolder>
132 <cfelseif find("..",url.currentFolder)>
[all …]
H A Dcf_commands.cfm28 <cfargument name="currentFolder" type="string" required="yes" default="">
46 …<cfset sServerDir = ServerMapFolder( ARGUMENTS.resourceType, ARGUMENTS.currentFolder, ARGUMENTS.sC…
111 …CombinePaths( GetResourceTypePath( ARGUMENTS.resourceType, sCommand ) , ARGUMENTS.currentFolder ) >
130 <cfargument name="currentFolder" type="String" required="true">
135 …<cfset var sServerDir = ServerMapFolder( ARGUMENTS.resourceType, ARGUMENTS.currentFolder, "GetFold…
154 <cfargument name="currentFolder" type="String" required="true">
160 …<cfset var sServerDir = ServerMapFolder( ARGUMENTS.resourceType, ARGUMENTS.currentFolder, "GetFold…
185 <cfargument name="currentFolder" required="true" type="string">
191 …<cfset var currentFolderPath = ServerMapFolder( ARGUMENTS.resourceType, ARGUMENTS.currentFolder, '…
H A Dcf_basexml.cfm35 <cfargument name="currentFolder" required="true">
40 …er path="#HTMLEditFormat(ARGUMENTS.currentFolder)#" url="#HTMLEditFormat( GetUrlFromPath( resource…
H A Dcf_upload.cfm27 <cfparam name="url.currentFolder" default="/">
H A Dcf_connector.cfm29 <cfparam name="url.currentFolder">
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/asp/
H A Dcommands.asp25 Sub GetFolders( resourceType, currentFolder )
28 sServerDir = ServerMapFolder( resourceType, currentFolder, "GetFolders" )
37 SendError 102, currentFolder
53 Sub GetFoldersAndFiles( resourceType, currentFolder )
56 sServerDir = ServerMapFolder( resourceType, currentFolder, "GetFoldersAndFiles" )
62 SendError 102, currentFolder
94 Sub CreateFolder( resourceType, currentFolder )
106 …sServerDir = ServerMapFolder( resourceType, CombinePaths(currentFolder, sNewFolderName), "CreateFo…
136 Sub FileUpload( resourceType, currentFolder, sCommand )
156 sServerDir = ServerMapFolder( resourceType, currentFolder, sCommand )
[all …]
H A Dbasexml.asp37 Sub CreateXmlHeader( command, resourceType, currentFolder, url )
45 …Response.Write "<CurrentFolder path=""" & ConvertToXmlAttribute( currentFolder ) & """ url=""" & C…