Revision: 9870
http://xoops.svn.sourceforge.net/xoops/?rev=9870&view=rev
Author: dhcst
Date: 2012-07-14 08:33:41 +0000 (Sat, 14 Jul 2012)
Log Message:
-----------
fix quickreplyform
Modified Paths:
--------------
XoopsModules/newbb/branches/alfred/newbb/viewtopic.php
Modified: XoopsModules/newbb/branches/alfred/newbb/viewtopic.php
===================================================================
--- XoopsModules/newbb/branches/alfred/newbb/viewtopic.php 2012-07-14 08:23:09 UTC (rev 9869)
+++ XoopsModules/newbb/branches/alfred/newbb/viewtopic.php 2012-07-14 08:33:41 UTC (rev 9870)
@@ -599,10 +599,12 @@
$quickform = ( !empty($xoopsModuleConfig["editor_default"]) ) ? $xoopsModuleConfig["editor_default"] : "textarea";
$editor_configs = array();
- $editor_configs["caption"] = _MD_MESSAGEC;
- $editor_configs["name"] ="message";
- $editor_configs["rows"] = 10;
- $editor_configs["cols"] = 30;
+ $editor_configs [ "name" ] = "message" ;
+ $editor_configs [ "value" ] = $message ;
+ $editor_configs [ "rows" ] = empty( $xoopsModuleConfig [ "editor_rows" ]) ? 10 : $xoopsModuleConfig [ "editor_rows" ];
+ $editor_configs [ "cols" ] = empty( $xoopsModuleConfig [ "editor_cols" ]) ? 30 : $xoopsModuleConfig [ "editor_cols" ];
+ $editor_configs [ "width" ] = empty( $xoopsModuleConfig [ "editor_width" ]) ? "100%" : $xoopsModuleConfig [ "editor_width" ];
+ $editor_configs [ "height" ] = empty( $xoopsModuleConfig [ "editor_height" ])? "400px" : $xoopsModuleConfig [ "editor_height" ];
$_editor = new XoopsFormEditor(_MD_MESSAGEC, $quickform, $editor_configs, true);
$forum_form->addElement($_editor, true);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|