Skip to content

Commit

Permalink
Implements/Fixes Link Browser (Source Selector) for CKeditor & FCKedi…
Browse files Browse the repository at this point in the history
…tor for both pages and sections. Uncovers an anomaly in CKeditor which encodes all returns

[#34 state:resolved]
  • Loading branch information
dleffler committed Mar 16, 2011
1 parent 641672c commit 42f362a
Show file tree
Hide file tree
Showing 16 changed files with 93 additions and 820 deletions.
16 changes: 11 additions & 5 deletions content_selector.php
Expand Up @@ -2,7 +2,7 @@

##################################################
#
# Copyright (c) 2004-2006 OIC Group, Inc.
# Copyright (c) 2004-2011 OIC Group, Inc.
# Written and Designed by James Hunt
#
# This file is part of Exponent
Expand All @@ -20,15 +20,21 @@
define('SCRIPT_EXP_RELATIVE','');
define('SCRIPT_FILENAME','content_selector.php');

// Initialize the Exponent Framework
include_once('exponent.php');
/* exdoc
* Define Content Selector constant as 1, since we are not selecting orphaned content.
* @node General
*/
define('CONTENT_SELECTOR',1);

// Initialize the Exponent Framework
include_once('exponent.php');
$section = $router->getSection();
$sectionObj = $router->getSectionObj($section);

// Call the real selector script. It will use the value of CONTENT_SELECTOR to determine what it needs to do.
include_once('selector.php');

// Include the Selector script, which does all of the real work.
include_once(dirname(__realpath(__FILE__)).'/selector.php');
//include_once(dirname(__realpath(__FILE__)).'/selector.php');

?>
?>
23 changes: 0 additions & 23 deletions external/editors/ckconnector/content_linked.php

This file was deleted.

263 changes: 0 additions & 263 deletions external/editors/ckconnector/insert_image.php

This file was deleted.

50 changes: 0 additions & 50 deletions external/editors/ckconnector/lang/de.js

This file was deleted.

5 changes: 0 additions & 5 deletions external/editors/ckconnector/lang/en.js

This file was deleted.

0 comments on commit 42f362a

Please sign in to comment.