Home
last modified time | relevance | path

Searched refs:sExtension (Results 1 – 11 of 11) sorted by relevance

/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php182 $sExtension = substr( $sFileName, ( strrpos($sFileName, '.') + 1 ) ) ;
183 $sExtension = strtolower( $sExtension ) ;
187 if ( !IsImageValid( $oFile['tmp_name'], $sExtension ) )
195 …if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) && DetectHtml( $oFile['tmp_name'] …
202 if ( !$sErrorNumber && IsAllowedExt( $sExtension, $resourceType ) )
213 $sFileName = RemoveExtension( $sOriginalFileName ) . '(' . $iCounter . ').' . $sExtension ;
H A Dio.php176 function IsAllowedExt( $sExtension, $resourceType ) argument
183 if ( count($arAllowed) > 0 && !in_array( $sExtension, $arAllowed ) )
186 if ( count($arDenied) > 0 && in_array( $sExtension, $arDenied ) )
/plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php627 $sExtension = substr( $sFileName, ( strrpos($sFileName, '.') + 1 ) ) ;
628 $sExtension = strtolower( $sExtension ) ;
631 if(in_array($sExtension,$Config['AllowedExtensions']['Image'])) {
637 if ( ( $isImageValid = IsImageValid( $oFile['tmp_name'], $sExtension ) ) === false )
645 if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) &&
655 if ( !$sErrorNumber && IsAllowedExt( $sExtension, $resourceType ) )
693 …ileName = RemoveExtension(dwiki_decodeFN($sOriginalFileName)) . '_' . $iCounter . ".$sExtension" ;
695 … else $sFileName = RemoveExtension($sOriginalFileName) . '_' . $iCounter . ".$sExtension" ;
729 …if ( isset( $isImageValid ) && $isImageValid === -1 && IsImageValid( $sFilePath, $sExtension ) ===…
H A Dio.php194 function IsAllowedExt( $sExtension, $resourceType ) argument
201 if ( count($arAllowed) > 0 && !in_array( $sExtension, $arAllowed ) )
204 if ( count($arDenied) > 0 && in_array( $sExtension, $arDenied ) )
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php622 $sExtension = substr( $sFileName, ( strrpos($sFileName, '.') + 1 ) ) ;
623 $sExtension = strtolower( $sExtension ) ;
626 if(in_array($sExtension,$Config['AllowedExtensions']['Image'])) {
632 if ( ( $isImageValid = IsImageValid( $oFile['tmp_name'], $sExtension ) ) === false )
640 if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) &&
650 if ( !$sErrorNumber && IsAllowedExt( $sExtension, $resourceType ) )
688 …ileName = RemoveExtension(dwiki_decodeFN($sOriginalFileName)) . '_' . $iCounter . ".$sExtension" ;
690 … else $sFileName = RemoveExtension($sOriginalFileName) . '_' . $iCounter . ".$sExtension" ;
724 …if ( isset( $isImageValid ) && $isImageValid === -1 && IsImageValid( $sFilePath, $sExtension ) ===…
H A Dio.php194 function IsAllowedExt( $sExtension, $resourceType ) argument
201 if ( count($arAllowed) > 0 && !in_array( $sExtension, $arAllowed ) )
204 if ( count($arDenied) > 0 && in_array( $sExtension, $arDenied ) )
/plugin/fckg/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php611 $sExtension = substr( $sFileName, ( strrpos($sFileName, '.') + 1 ) ) ;
612 $sExtension = strtolower( $sExtension ) ;
615 if(in_array($sExtension,$Config['AllowedExtensions']['Image'])) {
621 if ( ( $isImageValid = IsImageValid( $oFile['tmp_name'], $sExtension ) ) === false )
629 if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) &&
639 if ( !$sErrorNumber && IsAllowedExt( $sExtension, $resourceType ) )
675 $sFileName = RemoveExtension($sOriginalFileName) . '_' . $iCounter . ".$sExtension" ;
710 …if ( isset( $isImageValid ) && $isImageValid === -1 && IsImageValid( $sFilePath, $sExtension ) ===…
H A Dio.php192 function IsAllowedExt( $sExtension, $resourceType ) argument
199 if ( count($arAllowed) > 0 && !in_array( $sExtension, $arAllowed ) )
202 if ( count($arDenied) > 0 && in_array( $sExtension, $arDenied ) )
/plugin/ckgedit/fckeditor/editor/filemanager/browser/default/js/
H A Dbrowser.js222 var sExtension = fileName.substr( fileName.lastIndexOf('.') + 1 ).toLowerCase() ;
224 if ( this.AvailableIcons[ sExtension ] == true )
225 return sExtension ;
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/asp/
H A Dcommands.asp148 Dim sFileName, sOriginalFileName, sExtension
165 sExtension = oUploader.File( "NewFile" ).Ext
178 sFileName = RemoveExtension( sOriginalFileName ) & "(" & iCounter & ")." & sExtension
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/cfm/
H A Dcf_io.cfm139 <cfargument name="sExtension" required="true">
144 …t listFindNoCase( REQUEST.Config.AllowedExtensions[ARGUMENTS.resourceType], ARGUMENTS.sExtension )>
150 …nd listFindNoCase( REQUEST.Config.DeniedExtensions[ARGUMENTS.resourceType], ARGUMENTS.sExtension )>