PHP 8.1.33
Preview: ckfinder.html Size: 3.20 KB
/home/jambtst2015/public_html/ckfinder/ckfinder.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>

	<title>CKFinder 2</title>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<script type="text/javascript" src="ckfinder.js"></script>

	<style type="text/css">

		body, html, iframe, #ckfinder {

			margin: 0;

			padding: 0;

			border: 0;

			width: 100%;

			height: 100%;

			overflow: hidden;

		}

	</style>

</head>

<body>

	<div id="ckfinder"></div>

	<script type="text/javascript">

(function()

{

		var config = {

		};

		var get = CKFinder.tools.getUrlParam;

		var getBool = function( v )

		{

			var t = get( v );



			if ( t === null )

				return null;



			return t == '0' ? false : true;

		};



		var tmp;

		if ( tmp = get( 'basePath' ) )

			CKFINDER.basePath = tmp;



		if ( tmp = get( 'startupPath' ) )

			config.startupPath = decodeURIComponent( tmp );



		config.id = get( 'id' ) || '';



		if ( ( tmp = getBool( 'rlf' ) ) !== null )

			config.rememberLastFolder = tmp;



		if ( ( tmp = getBool( 'dts' ) ) !== null )

			config.disableThumbnailSelection = tmp;



		if ( tmp = get( 'data' ) )

			config.selectActionData = tmp;



		if ( tmp = get( 'tdata' ) )

			config.selectThumbnailActionData = tmp;



		if ( tmp = get( 'type' ) )

			config.resourceType = tmp;



		if ( tmp = get( 'skin' ) )

			config.skin = tmp;



		if ( tmp = get( 'langCode' ) )

			config.language = tmp;



		// Try to get desired "File Select" action from the URL.

		var action;

		if ( tmp = get( 'CKEditor' ) )

		{

			if ( tmp.length )

				action = 'ckeditor';

		}

		if ( !action )

			action = get( 'action' );



		var parentWindow = ( window.parent == window )

			? window.opener : window.parent;



		switch ( action )

		{

			case 'js':

				var actionFunction = get( 'func' );

				if ( actionFunction && actionFunction.length > 0 )

					config.selectActionFunction = parentWindow[ actionFunction ];



				actionFunction = get( 'thumbFunc' );

				if ( actionFunction && actionFunction.length > 0 )

					config.selectThumbnailActionFunction = parentWindow[ actionFunction ];

				break ;



			case 'ckeditor':

				var funcNum = get( 'CKEditorFuncNum' );

				if ( parentWindow['CKEDITOR'] )

				{

					config.selectActionFunction = function( fileUrl, data )

					{

						parentWindow['CKEDITOR'].tools.callFunction( funcNum, fileUrl, data );

					};



					config.selectThumbnailActionFunction = config.selectActionFunction;

				}

				break;



			default:

				if ( parentWindow && parentWindow['FCK'] && parentWindow['SetUrl'] )

				{

					action = 'fckeditor' ;

					config.selectActionFunction = parentWindow['SetUrl'];



					if ( !config.disableThumbnailSelection )

						config.selectThumbnailActionFunction = parentWindow['SetUrl'];

				}

				else

					action = null ;

		}



		config.action = action;



		// Always use 100% width and height when nested using this middle page.

		config.width = config.height = '100%';



		var ckfinder = new CKFinder( config );

		ckfinder.replace( 'ckfinder', config );

})();

	</script>

</body>

</html>

Directory Contents

Dirs: 7 × Files: 10

Name Size Perms Modified Actions
core DIR
- drwxr-xr-x 2024-12-14 02:40:02
Edit Download
help DIR
- drwxr-xr-x 2024-12-14 02:39:49
Edit Download
lang DIR
- drwxr-xr-x 2024-12-14 02:39:40
Edit Download
plugins DIR
- drwxr-xr-x 2024-12-14 02:39:29
Edit Download
skins DIR
- drwxr-xr-x 2024-12-14 02:39:19
Edit Download
userfiles DIR
- drwxr-xr-x 2024-12-14 02:39:11
Edit Download
_samples DIR
- drwxr-xr-x 2024-12-14 02:40:13
Edit Download
2.64 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
3.20 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
227.46 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
596 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download
6.41 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download
392 B lrw-r--r-- 2024-11-22 17:53:10
Edit Download
10.28 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
10.71 KB lrw-r--r-- 2025-11-04 04:35:35
Edit Download
245 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download
8.97 KB lrw-r--r-- 2024-11-22 17:53:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).