Commit fe6569b1 authored by Nigel McNie's avatar Nigel McNie Committed by Penny Leach
Browse files

Small layout changes to the wall form so the text box just fills up the width...

Small layout changes to the wall form so the text box just fills up the width of the block and the 'private' checkbox doesn't reduce the space for it.
parent c30c518f
...@@ -94,6 +94,7 @@ class PluginBlocktypeWall extends SystemBlocktype { ...@@ -94,6 +94,7 @@ class PluginBlocktypeWall extends SystemBlocktype {
public static function wallpost_form($replyid=0, $replyuser=0) { public static function wallpost_form($replyid=0, $replyuser=0) {
return pieform(array( return pieform(array(
'name' => 'wallpost', 'name' => 'wallpost',
'renderer' => 'maharatable',
'action' => get_config('wwwroot') . 'blocktype/wall/post.php', 'action' => get_config('wwwroot') . 'blocktype/wall/post.php',
'elements' => array( 'elements' => array(
'text' => array( 'text' => array(
...@@ -101,6 +102,7 @@ class PluginBlocktypeWall extends SystemBlocktype { ...@@ -101,6 +102,7 @@ class PluginBlocktypeWall extends SystemBlocktype {
'rows' => 3, 'rows' => 3,
'cols' => 50, 'cols' => 50,
'defaultvalue' => '', 'defaultvalue' => '',
'width' => '100%',
), ),
'private' => array( 'private' => array(
'type' => 'checkbox', 'type' => 'checkbox',
......
Supports Markdown
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