浏览代码

FCKeditor integration improvements

Ralf S. Engelschall 17 年之前
父节点
当前提交
5a4ab9df08
共有 2 个文件被更改,包括 23 次插入2 次删除
  1. 20 1
      drupal/drupal.patch
  2. 3 1
      drupal/drupal.spec

+ 20 - 1
drupal/drupal.patch

@@ -330,7 +330,7 @@ Index: sites/all/modules/img_assist/img_assist_popup.js
 --- /dev/null	2008-05-02 21:08:21 +0200
 +++ sites/all/modules/img_assist/img_assist_popup.js	2008-05-02 21:05:56 +0200
 @@ -0,0 +1,20 @@
-+/* $Id: drupal.patch,v 1.5 2008/05/02 19:17:58 rse Exp $ */
++/* $Id: drupal.patch,v 1.6 2008/05/02 21:16:00 rse Exp $ */
 +
 +function launch_popup(nid, mw, mh) {
 +	var ox = mw;
@@ -368,3 +368,22 @@ Index: sites/all/modules/img_assist/img_assist.module
            $node->images[$key] = $destination;
            _image_insert($node, $key, file_create_path($destination));
          }
+
+-----------------------------------------------------------------------------
+
+Activate the Drupal glue code for the FCKeditor filemanager.
+
+Index: sites/all/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php
+--- sites/all/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php.orig	2008-03-25 16:28:24 +0100
++++ sites/all/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php	2008-05-02 23:02:23 +0200
+@@ -39,6 +39,9 @@
+ // Attention: The above 'UserFilesPath' must point to the same directory.
+ $Config['UserFilesAbsolutePath'] = '' ;
+ 
++// activate Drupal glue code for filemanager
++require_once "../../../../../filemanager.config.php";
++
+ // Due to security issues with Apache modules, it is recommended to leave the
+ // following setting enabled.
+ $Config['ForceSingleExtension'] = true ;
+

+ 3 - 1
drupal/drupal.spec

@@ -191,7 +191,7 @@
 %define       V_theme_zen                  6.x-1.x-dev
 
 #   package versions (auxilliary libraries)
-%define       V_aux_fckeditor              2.6
+%define       V_aux_fckeditor              2.5.1
 %define       V_aux_geshi                  1.0.7.20
 %define       V_aux_simplepie              1.1
 %define       V_aux_tinymce                2_1_3
@@ -1448,6 +1448,8 @@ AutoReqProv:  no
     #   install additional third-party files
     ( cd sites/all/modules/fckeditor || exit $?
       %{l_tar} xfz %{SOURCE300}
+      chmod -R u+rw .
+      chmod -R a+r .
     ) || exit $?
     ( cd sites/all/modules/geshifilter || exit $?
       %{l_tar} xfz %{SOURCE301}