Skip to content

Commit

Permalink
Merge pull request TwistedInteractive#9 from justify/master
Browse files Browse the repository at this point in the history
Text Box
  • Loading branch information
kanduvisla committed Dec 6, 2011
2 parents dd13667 + 0cd8abc commit 146fd8a
Show file tree
Hide file tree
Showing 65 changed files with 11 additions and 4 deletions.
Empty file modified LICENCE.txt
100644 → 100755
Empty file.
Empty file modified README.markdown
100644 → 100755
Empty file.
Empty file modified assets/filebrowser.css
100644 → 100755
Empty file.
Empty file modified assets/filebrowser.js
100644 → 100755
Empty file.
Empty file modified assets/images/doc.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/font.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/html.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/image.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/pdf.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/presentation.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/sound.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/spreadsheet.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/swf.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/txt.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/unknown.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/video.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/zip.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/jquery.ba-serializeobject.min.js
100644 → 100755
Empty file.
Empty file modified assets/jquery.form.js
100644 → 100755
Empty file.
Empty file modified assets/symphony.ckeditor.css
100644 → 100755
Empty file.
6 changes: 5 additions & 1 deletion assets/symphony.ckeditor.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ if (typeof Symphony.ADMIN == "undefined") {
}

jQuery(document).ready(function () {

// See if there are any ckeditor textareas:
jQuery('textarea.ckeditor, textarea.ckeditor_compact').each(function(index) {
// Set the configurationdata:
Expand Down Expand Up @@ -65,7 +66,10 @@ jQuery(document).ready(function () {
jQuery("label.ck_compact td.cke_contents").css({borderBottom: "1px solid #aaa"});
});

//Stop CKEditor creating another instance
jQuery(this).removeClass('ckeditor ckeditor_compact');

// Replace CKEditor instances:
CKEDITOR.replace(objectName, configurationData);
});
});
});
Empty file modified content/content.filebrowser.php
100644 → 100755
Empty file.
Empty file modified content/content.filebrowserajax.php
100644 → 100755
Empty file.
Empty file modified content/content.pages.php
100644 → 100755
Empty file.
9 changes: 6 additions & 3 deletions extension.driver.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ public function uninstall()
*/
protected $addedCKEditorHeaders = false;

public function applyCKEditor($context) {
if($context['field']->get('formatter') != 'ckeditor' && $context['field']->get('formatter') != 'ckeditor_compact') return;
public function applyCKEditor($context) {

$format = $context['field']->get('text_formatter') == TRUE ? 'text_formatter' : 'formatter';

if(($context['field']->get($format) != 'ckeditor' && $context['field']->get($format) != 'ckeditor_compact')) return;

if(!$this->addedCKEditorHeaders){
Administration::instance()->Page->addScriptToHead(URL . '/extensions/ckeditor/lib/ckeditor/ckeditor.js', 200, false);
Expand All @@ -117,4 +120,4 @@ public function applyCKEditor($context) {

}

?>
?>
Empty file modified lib/ckeditor/.htaccess
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/adapters/jquery.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/ckeditor.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/config.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/contents.css
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/images/spacer.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/lang/en.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/plugins/image/dialogs/image.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/plugins/link/dialogs/anchor.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/plugins/link/dialogs/link.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/plugins/link/images/anchor.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/link/plugin.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/plugins/liststyle/dialogs/liststyle.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_address.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_blockquote.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_div.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_h1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_h2.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_h3.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_h4.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_h5.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_h6.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_p.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified lib/ckeditor/plugins/showblocks/images/block_pre.png
100644 → 100755
Empty file modified lib/ckeditor/plugins/styles/styles/default.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/skins/chris/dialog.css
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/skins/chris/editor.css
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/skins/chris/icons.png
100644 → 100755
Empty file modified lib/ckeditor/skins/chris/images/dialog_sides.gif
100644 → 100755
Empty file modified lib/ckeditor/skins/chris/images/dialog_sides.png
100644 → 100755
Empty file modified lib/ckeditor/skins/chris/images/gradient.png
100644 → 100755
Empty file modified lib/ckeditor/skins/chris/images/mini.gif
100644 → 100755
Empty file modified lib/ckeditor/skins/chris/images/noimage.png
100644 → 100755
Empty file modified lib/ckeditor/skins/chris/images/sprites.png
100644 → 100755
Empty file modified lib/ckeditor/skins/chris/images/sprites_ie6.png
100644 → 100755
Empty file modified lib/ckeditor/skins/chris/skin.js
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/skins/chris/templates.css
100644 → 100755
Empty file.
Empty file modified lib/ckeditor/themes/default/theme.js
100644 → 100755
Empty file.
Empty file modified text-formatters/formatter.ckeditor.php
100644 → 100755
Empty file.
Empty file modified text-formatters/formatter.ckeditor_compact.php
100644 → 100755
Empty file.

0 comments on commit 146fd8a

Please sign in to comment.