]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/messageform.php
better output for registration confirmation
[quix0rs-gnu-social.git] / lib / messageform.php
index bd46d7389df4d824b51cf74bf389060626a5e5de..80e7716cda4972d9c211cc14185d3222abfbb689 100644 (file)
@@ -178,4 +178,32 @@ class MessageForm extends Form
                                            // TRANS: Button text for sending a direct notice.
                                            'value' => _m('Send button for sending notice', 'Send')));
     }
+
+
+    /**
+     * Show the form
+     *
+     * Uses a recipe to output the form.
+     *
+     * @return void
+     * @see Widget::show()
+     */
+
+    function show()
+    {
+        $this->elementStart('div', 'input_forms');
+        $this->elementStart(
+            'div',
+            array(
+                'id'    => 'input_form_direct',
+                'class' => 'input_form current nonav'
+            )
+        );
+
+        parent::show();
+
+        $this->elementEnd('div');
+        $this->elementEnd('div');
+
+    }
 }