Commit 48960821 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Added hidden label to wall post textarea (Bug #1262870)"

parents 0824fc66 b9e48bad
......@@ -135,6 +135,8 @@ class PluginBlocktypeWall extends SystemBlocktype {
'elements' => array(
'text' => array(
'type' => 'textarea',
'title' => get_string('Post', 'blocktype.wall'),
'hiddenlabel' => true,
'description' => bbcode_format_post_message(),
'rows' => 3,
'cols' => 50,
......
......@@ -5,7 +5,7 @@
echo $form_tag;
echo '<div id="wall"><div class="description">' . $elements['postsizelimit']['html'] . ' ' . $elements['text']['description'] . '</div>';
echo '<div>' . $elements['text']['html'] .'</div>';
echo '<div>' . $elements['text']['labelhtml'] . $elements['text']['html'] .'</div>';
if (isset($elements['text']['error'])) {
echo '<div>' . $elements['text']['error'] . '</div>';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment