Ignore:
Timestamp:
09/19/06 19:35:56 (13 years ago)
Author:
ray
Message:

ExtendedFileManager? updates:

*to complete cofigurability through js directories can now be set for images and files individually (optional & backwards compatible)

  • relocated button from the end of toolbar next to createlink
  • insert image/link with double click
  • preview img didn't have src when no image selected, which showed a "image not found icon" in IE
  • slight modifications and updates in Readme.txt (kicked out afru's website. The domain isn't even registered anymore)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/editorFrame.php

    r521 r579  
    88 * http://www.afrusoft.com/htmlarea 
    99 */ 
     10if(isset($_REQUEST['mode'])) $insertMode=$_REQUEST['mode']; 
     11        if(!isset($insertMode)) $insertMode="image"; 
    1012 
    1113require_once('config.inc.php'); 
     
    1315require_once('../ImageManager/Classes/ImageEditor.php'); 
    1416 
    15 $manager = new ExtendedFileManager($IMConfig); 
     17$manager = new ExtendedFileManager($IMConfig,$insertMode); 
    1618$editor = new ImageEditor($manager); 
    1719$imageInfo = $editor->processImage(); 
     
    2628<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/EditorContent.js"></script> 
    2729<script type="text/javascript"> 
    28     var _backend_url = "<?php print $IMConfig['backend_url']; ?>"; 
     30    var _backend_url = "<?php print $IMConfig['backend_url']."&mode=$insertMode"; ?>&"; 
    2931 
    3032    if(window.top) 
Note: See TracChangeset for help on using the changeset viewer.