Update of /cvsroot/openfirst/base/config/functions
In directory sc8-pr-cvs1:/tmp/cvs-serv32211
Modified Files:
wysiwyg.php
Log Message:
Make wysiwyg find the image which it requires, rather than generating a 404 error every time due to an improper path.
Index: wysiwyg.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/functions/wysiwyg.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** wysiwyg.php 20 Aug 2003 02:45:33 -0000 1.1
--- wysiwyg.php 23 Oct 2003 14:14:39 -0000 1.2
***************
*** 43,47 ****
<!--
var myEditor = new dhtmlEditor;
! myEditor.registerApiModul(MODUL__toggleEditModeGetApiInfoArray('../images/newdoc.gif'));
myEditor.make_andReplaceTextarea('<?php echo $fieldname; ?>');
//-->
--- 43,47 ----
<!--
var myEditor = new dhtmlEditor;
! myEditor.registerApiModul(MODUL__toggleEditModeGetApiInfoArray('<?php echo $basepath; ?>/config/functions/wysiwyg/images/newdoc.gif'));
myEditor.make_andReplaceTextarea('<?php echo $fieldname; ?>');
//-->
|