PHP 8.1.33
Preview: ckeditor.html Size: 2.55 KB
/home/jambtst2015/public_html/ckfinder/_samples/ckeditor.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--

 * CKFinder

 * ========

 * http://ckfinder.com

 * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved.

 *

 * The software, this file and its contents are subject to the CKFinder

 * License. Please read the license.txt file before using, installing, copying,

 * modifying or distribute this file or part of its contents. The contents of

 * this file is part of the Source Code of CKFinder.

-->

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

	<title>CKFinder - Sample - CKEditor Integration</title>

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

	<meta name="robots" content="noindex, nofollow" />

	<link href="sample.css" rel="stylesheet" type="text/css" />

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

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

</head>

<body>

	<h1>

		CKFinder - Sample - CKEditor Integration

	</h1>

	<hr />

	<p>

		CKFinder can be easily integrated with CKEditor. Try it now, by clicking

		the "Image" or "Link" icons and then the "<strong>Browse Server</strong>" button.</p>

	<p>

	<textarea id="editor1" name="editor1" rows="10" cols="80"></textarea>



		<script type="text/javascript">



// This is a check for the CKEditor class. If not defined, the paths must be checked.

if ( typeof CKEDITOR == 'undefined' )

{

	document.write(

		'<strong><span style="color: #ff0000">Error</span>: CKEditor not found</strong>.' +

		'This sample assumes that CKEditor (not included with CKFinder) is installed in' +

		'the "/ckeditor/" path. If you have it installed in a different place, just edit' +

		'this file, changing the wrong paths in the &lt;head&gt; (line 5) and the "BasePath"' +

		'value (line 32).' ) ;

}

else

{

	var editor = CKEDITOR.replace( 'editor1' );

	editor.setData( '<p>Just click the <b>Image</b> or <b>Link</b> button, and then <b>&quot;Browse Server&quot;</b>.</p>' );



	// Just call CKFinder.SetupCKEditor and pass the CKEditor instance as the first argument.

	// The second parameter (optional), is the path for the CKFinder installation (default = "/ckfinder/").

	CKFinder.setupCKEditor( editor, '../' ) ;



	// It is also possible to pass an object with selected CKFinder properties as a second argument.

	// CKFinder.SetupCKEditor( editor, { BasePath : '../../', RememberLastFolder : false } ) ;

}



		</script>

	</p>

</body>

</html>

Directory Contents

Dirs: 1 × Files: 9

Name Size Perms Modified Actions
php DIR
- drwxr-xr-x 2025-10-09 06:22:33
Edit Download
2.55 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.59 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.28 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.22 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
3.75 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
3.97 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
1.32 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.78 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.87 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download

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