CVSROOT: /cvsroot/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 06/08/28 09:42:02
Modified files:
inc : class.richtext.inc.php
Log message:
formatting
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.richtext.inc.php?cvsroot=phpgwapi&r1=1.2&r2=1.3
Patches:
Index: class.richtext.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.richtext.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- class.richtext.inc.php 25 Jul 2006 01:04:39 -0000 1.2
+++ class.richtext.inc.php 28 Aug 2006 09:42:01 -0000 1.3
@@ -9,7 +9,7 @@
* @license http://www.fsf.org/licenses/gpl.html GNU General Public
License
* @package phpgwapi
* @subpackage gui
- * @version $Id: class.richtext.inc.php,v 1.2 2006/07/25 01:04:39
skwashd Exp $
+ * @version $Id: class.richtext.inc.php,v 1.3 2006/08/28 09:42:01
skwashd Exp $
*/
/**
@@ -97,13 +97,13 @@
foreach ( $this->targets as $target => $crap )
{
$str .= "var oFCKeditor_{$target} = new
FCKeditor( '{$target}' ) ;\n" .
-
"oFCKeditor_{$target}.AutoDetectLanguage = false;\n" .
- "oFCKeditor_{$target}.BaseHref
= '{$this->base_url}';\n" .
- "oFCKeditor_{$target}.BasePath
=
'{$GLOBALS['phpgw_info']['server']['webserver_url']}/phpgwapi/js/fckeditor/';\n"
.
-
"oFCKeditor_{$target}.DefaultLanguage =
'{$GLOBALS['phpgw_info']['user']['preferences']['common']['lang']}';\n" .
-
"oFCKeditor_{$target}.GeckoUseSPAN = false;\n" .
-
"oFCKeditor_{$target}.SpellChecker = '" . (extension_loaded('pspell') ?
'SpellerPages' : 'ieSpell') . "';\n" .
-
"oFCKeditor_{$target}.ReplaceTextarea();\n\n";
+
"\toFCKeditor_{$target}.AutoDetectLanguage = false;\n" .
+
"\toFCKeditor_{$target}.BaseHref = '{$this->base_url}';\n" .
+
"\toFCKeditor_{$target}.BasePath =
'{$GLOBALS['phpgw_info']['server']['webserver_url']}/phpgwapi/js/fckeditor/';\n"
.
+
"\toFCKeditor_{$target}.DefaultLanguage =
'{$GLOBALS['phpgw_info']['user']['preferences']['common']['lang']}';\n" .
+
"\toFCKeditor_{$target}.GeckoUseSPAN = false;\n" .
+
"\toFCKeditor_{$target}.SpellChecker = '" . (extension_loaded('pspell') ?
'SpellerPages' : 'ieSpell') . "';\n" .
+
"\toFCKeditor_{$target}.ReplaceTextarea();\n\n";
}
$GLOBALS['phpgw']->js->add_event('load', $str);
}
_______________________________________________
Phpgroupware-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs