]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better instructions
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 19:48:16 +0000 (14:48 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 19:48:16 +0000 (14:48 -0500)
darcs-hash:20081202194816-5ed1f-93a18c7b978950a770b833e7dea9e1fd5bb71de8.gz

actions/register.php

index a9cc7e9d6149f304116348eb36c86538a9016225..a22ffca28e8b53b8cecba0419deb3f5722e20a77 100644 (file)
@@ -153,10 +153,13 @@ class RegisterAction extends Action {
                if ($error) {
                        common_element('p', 'error', $error);
                } else {
+                       $instr = common_markup_to_html(_('With this form you can create a new account. ' .
+                                                                                        'You can then post notices and link up to friends and colleagues. '.
+                                                                                        '(Have an [OpenID](http://openid.net/)? ' .
+                                                                                        'Try our [OpenID registration](%%action.openidlogin%%)!)'));
+
                        common_element_start('div', 'instructions');
-                       common_element('p', NULL,
-                                                  _('With this form you can create a new account. You can then post notices and link up to friends and colleagues. '.
-                                                        '(Have an [OpenID](http://openid.net/)? Try our [OpenID registration](%%action.openidlogin%%)!)'));
+                       common_raw($instr);
                        common_element_end('div');
                }
        }