Update of /cvsroot/phpwebsite-comm/modules/xwysiwyg/js
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4828/xwysiwyg/js
Modified Files:
wysiwyg.php
Log Message:
small movements
Index: wysiwyg.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/xwysiwyg/js/wysiwyg.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** wysiwyg.php 26 Oct 2004 18:38:01 -0000 1.3
--- wysiwyg.php 26 Oct 2004 18:57:58 -0000 1.4
***************
*** 1,3 ****
--- 1,4 ----
<?php
+ // start xwysiwyg code
$xwysiwyg = FALSE;
$xw_button = FALSE;
***************
*** 17,24 ****
}
if($supported){
- /*We'll want to keep the phpws wysiwyg functions for form fields,
- *then add an exclusion list of items we want to use xwysiwyg with.
- *Then filter those out.
- *I've included a list of ones I knew about, if you have others, please add them */
if(!isset($GLOBALS['xwysiwyg_settings'])) $settings = PHPWS_xwysiwyg::readConfig();
else $settings = $GLOBALS['xwysiwyg_settings'];
--- 18,21 ----
***************
*** 31,36 ****
}
-
- // xwysiwyg-code
if ($xwysiwyg) {
$GLOBALS['xwysiwyg_areas'][] = $section_name; //write an array for the theme.php
--- 28,31 ----
***************
*** 38,41 ****
--- 33,37 ----
$GLOBALS['xwysiwyg']++;
}
+ // end xwysiwyg-code
***************
*** 52,56 ****
if(!$xwysiwyg|$onRequest) {
if($GLOBALS['wysiwyg'] == 1) {
!
$GLOBALS['core']->js_func[] = "
--- 48,53 ----
if(!$xwysiwyg|$onRequest) {
if($GLOBALS['wysiwyg'] == 1) {
! // ykuendig added the two functions addXwysiwyg(form, section)
! // and actXwysiwyg(form, section, editor) below
$GLOBALS['core']->js_func[] = "
|