Ignore:
Timestamp:
Feb 19, 2011, 3:38:31 PM (13 years ago)
Author:
patdenice
Message:

Update to CK Editor 3.5.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FCKEditor/ckeditor/ckeditor_php4.php

    r7950 r9293  
    11<?php
    22/*
    3 * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
     3* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
    44* For licensing, see LICENSE.html or http://ckeditor.com/license
    55*/
     
    2222         * \private
    2323         */
    24         var $version = '3.4.2';
     24        var $version = '3.5.2';
    2525        /**
    2626         * A constant string unique for each release of %CKEditor.
    2727         * \private
    2828         */
    29         var $_timestamp = 'AA4E4NT';
     29        var $_timestamp = 'B1GG4Z6';
    3030
    3131        /**
     
    8181         * Do not change it unless you want to force browsers to not use previously cached version of %CKEditor.
    8282         */
    83         var $timestamp = "AA4E4NT";
     83        var $timestamp = "B1GG4Z6";
    8484        /**
    8585         * An array that holds event listeners.
     
    501501                else {
    502502                        /**
    503                          * realpath Returns canonicalized absolute pathname
     503                         * realpath - Returns canonicalized absolute pathname
    504504                         */
    505505                        $realPath = realpath( './' ) ;
     
    520520                $documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath));
    521521                $fileUrl = substr($file, strlen($documentRoot));
    522                 $ckeditorUrl = str_replace("ckeditor_php5.php", "", $fileUrl);
     522                $ckeditorUrl = str_replace("ckeditor_php4.php", "", $fileUrl);
    523523
    524524                return $ckeditorUrl;
     
    566566
    567567                                $val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val);
     568                                if (strtoupper(substr($val, 0, 9)) == 'CKEDITOR.') {
     569                                        return $val;
     570                                }
    568571
    569572                                return '"' . $val . '"';
Note: See TracChangeset for help on using the changeset viewer.