From 8aa6e62f4b603ed0a83b3ae1320ad0abfa7fb930 Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 26 Jul 2012 12:46:48 +0200 Subject: Fixes #4765. Removed space in input/text view. --- views/default/input/text.php | 1 - 1 file changed, 1 deletion(-) (limited to 'views/default/input') diff --git a/views/default/input/text.php b/views/default/input/text.php index 707a50179..07ce5c710 100644 --- a/views/default/input/text.php +++ b/views/default/input/text.php @@ -23,5 +23,4 @@ $defaults = array( $vars = array_merge($defaults, $vars); ?> - /> \ No newline at end of file -- cgit v1.2.3 From 8d05eac78a351a312b52c009351b7b6a43faac77 Mon Sep 17 00:00:00 2001 From: Sem Date: Sun, 5 Aug 2012 02:27:15 +0200 Subject: Fixes #4772. "cols" and "rows" attributes requiried in textareas. --- views/default/input/longtext.php | 2 ++ views/default/input/plaintext.php | 2 ++ 2 files changed, 4 insertions(+) (limited to 'views/default/input') diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php index 2b1462635..61dc7ca19 100644 --- a/views/default/input/longtext.php +++ b/views/default/input/longtext.php @@ -19,6 +19,8 @@ if (isset($vars['class'])) { $defaults = array( 'value' => '', + 'rows' => '10', + 'cols' => '50', 'id' => 'elgg-input-' . rand(), //@todo make this more robust ); diff --git a/views/default/input/plaintext.php b/views/default/input/plaintext.php index cd0aaafcf..e92c61ced 100644 --- a/views/default/input/plaintext.php +++ b/views/default/input/plaintext.php @@ -20,6 +20,8 @@ if (isset($vars['class'])) { $defaults = array( 'value' => '', + 'rows' => '10', + 'cols' => '50', 'disabled' => false, ); -- cgit v1.2.3