Ticket #4924: 4924.patch
File 4924.patch, 1.9 KB (added by , 13 years ago) |
---|
-
ckeditor_php4.php
456 456 $args = ""; 457 457 $ckeditorPath = $this->ckeditorPath(); 458 458 459 if (!empty($this->timestamp) && $this->timestamp != "% TIMESTAMP%") {459 if (!empty($this->timestamp) && $this->timestamp != "%"."TIMESTAMP%") { 460 460 $args = '?t=' . $this->timestamp; 461 461 } 462 462 … … 473 473 $extraCode .= ($extraCode ? "\n" : "") . "if (typeof(CKEDITOR) == 'undefined') { alert('The CKEDITOR object was not found. Please make sure that the ckeditor.js file is available in your installation.'); }"; 474 474 } 475 475 // %REMOVE_END% 476 if ( !empty($this->timestamp) &&$this->timestamp != $this->_timestamp) {476 if ($this->timestamp != $this->_timestamp) { 477 477 $extraCode .= ($extraCode ? "\n" : "") . "CKEDITOR.timestamp = '". $this->timestamp ."';"; 478 478 } 479 479 if ($extraCode) { -
ckeditor_php5.php
448 448 $args = ""; 449 449 $ckeditorPath = $this->ckeditorPath(); 450 450 451 if (!empty($this->timestamp) && $this->timestamp != "% TIMESTAMP%") {451 if (!empty($this->timestamp) && $this->timestamp != "%"."TIMESTAMP%") { 452 452 $args = '?t=' . $this->timestamp; 453 453 } 454 454 … … 465 465 $extraCode .= ($extraCode ? "\n" : "") . "if (typeof(CKEDITOR) == 'undefined') { alert('The CKEDITOR object was not found. Please make sure that the ckeditor.js file is available in your installation.'); }"; 466 466 } 467 467 // %REMOVE_END% 468 if ( !empty($this->timestamp) &&$this->timestamp != self::timestamp) {468 if ($this->timestamp != self::timestamp) { 469 469 $extraCode .= ($extraCode ? "\n" : "") . "CKEDITOR.timestamp = '". $this->timestamp ."';"; 470 470 } 471 471 if ($extraCode) {