diff --git a/e107_admin/comment.php b/e107_admin/comment.php
index 654bf6962..6e5e78120 100644
--- a/e107_admin/comment.php
+++ b/e107_admin/comment.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/comment.php,v $
-| $Revision: 1.8 $
-| $Date: 2009-11-04 03:37:56 $
-| $Author: e107coders $
+| $Revision: 1.9 $
+| $Date: 2009-11-04 23:47:15 $
+| $Author: secretr $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@@ -65,7 +65,7 @@ class comments_admin_ui extends e_admin_ui
'comment_id' => array('title'=> ID, 'type' => 'int', 'width' =>'5%', 'forced'=> TRUE, 'primary'=>TRUE),
'comment_item_id' => array('title'=> "item id", 'type' => 'text', 'width' => 'auto'),
'comment_subject' => array('title'=> "subject", 'type' => 'text', 'width' => 'auto', 'thclass' => 'left first'), // Display name
- 'comment_comment' => array('title'=> "comment", 'type' => 'text', 'width' => 'auto'), // Display name
+ 'comment_comment' => array('title'=> "comment", 'type' => 'textarea', 'width' => '30%', 'readParms' => 'expand=...&truncate=50'), // Display name
'comment_author_id' => array('title'=> "authorID", 'type' => 'text', 'width' => 'auto'), // User name
'comment_author_name' => array('title'=> "authorName", 'type' => 'text', 'width' => 'auto'), // User name
'comment_datestamp' => array('title'=> "datestamp", 'type' => 'text', 'width' => 'auto'), // User name
@@ -96,7 +96,7 @@ class comments_admin_ui extends e_admin_ui
class comments_admin_form_ui extends e_admin_form_ui
{
function comment_type($curVal,$mode) // not really necessary since we can use 'dropdown' - but just an example of a custom function.
- {
+ {
if($mode == 'list')
{
return e107::getComment()->getTable($curVal);
diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php
index a1c1fd72d..d10650fa5 100644
--- a/e107_handlers/form_handler.php
+++ b/e107_handlers/form_handler.php
@@ -9,8 +9,8 @@
* Form Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
- * $Revision: 1.66 $
- * $Date: 2009-11-04 21:42:03 $
+ * $Revision: 1.67 $
+ * $Date: 2009-11-04 23:47:14 $
* $Author: secretr $
*
*/
@@ -941,7 +941,7 @@ class e_form
if(!vartrue($parms['noparse'])) $value = $tp->toHTML($value, (vartrue($parms['bb']) ? true : false), vartrue($parms['parse']));
if(vartrue($parms['expand']))
{
- $expand = ''.defset($parms['expand'], $parms['expand'])."";
+ $expand = ' '.defset($parms['expand'], $parms['expand'])."";
}
$oldval = $value;