aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-03 19:05:07 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-03 19:05:07 -0700
commit6af2a79e9078656f89ff68048ae460c3e1f27332 (patch)
tree3f7393422793af2fa36dfc93cd696ecc667bccc7
parent8f7e81a8b31aa8d734d9fe014ecdb7d2a13301d2 (diff)
downloadvolse-hubzilla-6af2a79e9078656f89ff68048ae460c3e1f27332.tar.gz
volse-hubzilla-6af2a79e9078656f89ff68048ae460c3e1f27332.tar.bz2
volse-hubzilla-6af2a79e9078656f89ff68048ae460c3e1f27332.zip
fix rego page
-rw-r--r--mod/register.php4
-rw-r--r--view/register.tpl8
2 files changed, 8 insertions, 4 deletions
diff --git a/mod/register.php b/mod/register.php
index f74f57146..fc7301d52 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -230,7 +230,9 @@ function register_content(&$a) {
$o = file_get_contents("view/register.tpl");
$o = replace_macros($o, array(
- '$registertext' =>((x($a->config,'register_text'))? $a->config['register_text'] : "" ),
+ '$registertext' =>((x($a->config,'register_text'))
+ ? '<div class="error-message">' . $a->config['register_text'] . '</div>'
+ : "" ),
'$sitename' => $a->get_hostname()
));
return $o;
diff --git a/view/register.tpl b/view/register.tpl
index 29da2194b..441015bd0 100644
--- a/view/register.tpl
+++ b/view/register.tpl
@@ -1,7 +1,9 @@
<h3>Registration</h3>
<form action="register" method="post" >
- <div class="error-message">$registertext</div>
+
+ $registertext
+
<div id="register-name-wrapper" >
<label for="register-name" id="label-register-name" >Your Full Name (e.g. Joe Smith): </label>
<input type="text" maxlength="60" size="32" name="username" id="register-name" value="" >
@@ -16,8 +18,8 @@
<div id="register-email-end" ></div>
<p id="register-nickname-desc" >
- You will use a unique nickname to identify yourself in our social network. This must begin with a text character.
- Your profile identifier will then be '<strong>nickname@$sitename</strong>'.
+ Choose a profile nickname. This must begin with a text character.
+ Your global profile locator will then be '<strong>nickname@$sitename</strong>'.
</p>
<div id="register-nickname-wrapper" >
<label for="register-nickname" id="label-register-nickname" >Choose a nickname: </label>