aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-28 07:47:37 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-28 07:47:37 -0400
commit0924491d5aa61c47ba60506c6398b14a30e1cb27 (patch)
treebfe50480aebea380eb5fda3dda77ae436b04570f
parenta07f6da7110885ec8600dad1fd63af833a258241 (diff)
downloadelgg-0924491d5aa61c47ba60506c6398b14a30e1cb27.tar.gz
elgg-0924491d5aa61c47ba60506c6398b14a30e1cb27.tar.bz2
Fixes #3579 using input/plaintext in the wire form
-rw-r--r--mod/thewire/views/default/forms/thewire/add.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/thewire/views/default/forms/thewire/add.php b/mod/thewire/views/default/forms/thewire/add.php
index 743294dcc..8607b3662 100644
--- a/mod/thewire/views/default/forms/thewire/add.php
+++ b/mod/thewire/views/default/forms/thewire/add.php
@@ -20,8 +20,13 @@ if ($post) {
'value' => $post->guid,
));
}
+
+echo elgg_view('input/plaintext', array(
+ 'name' => 'body',
+ 'class' => 'mtm',
+ 'id' => 'thewire-textarea',
+));
?>
-<textarea id="thewire-textarea" name="body" class="mtm"></textarea>
<div id="thewire-characters-remaining">
<span>140</span> <?php echo elgg_echo('thewire:charleft'); ?>
</div>