Replace message textfield by textarea

Tulan - June 15, 2008 - 19:14
Project:Shoutbox
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

It's more simple for users to write in a multilines textarea than a single line textfield.

In file shoutbox.module, line 480, replace:

  $form['message'] = array(
    '#type' => 'textfield',
    '#default_value' => $default_msg,
    '#size' => 15,
  );

By:
  $form['message'] = array(
    '#type' => 'textarea',   
    '#default_value' => $default_msg,
    '#cols' => 15,
    '#rows' => 4,
  );

#1

disterics - July 10, 2008 - 10:19
Version:5.x-1.x-dev» HEAD

Deferred till next release

 
 

Drupal is a registered trademark of Dries Buytaert.