diff --git a/mod/register.php b/mod/register.php index 208f97bc..f4c65708 100644 --- a/mod/register.php +++ b/mod/register.php @@ -239,7 +239,6 @@ function register_content(&$a) { )); } - $license = ''; $o = get_markup_template("register.tpl"); @@ -267,7 +266,7 @@ function register_content(&$a) { '$openid' => $openid_url, '$namelabel' => t('Your Full Name ' . "\x28" . 'e.g. Joe Smith' . "\x29" . ': '), '$addrlabel' => t('Your Email Address: '), - '$nickdesc' => t('Choose a profile nickname. This must begin with a text character. Your profile address on this site will then be \'nickname@$sitename\'.'), + '$nickdesc' => str_replace('$sitename',$a->get_hostname(),t('Choose a profile nickname. This must begin with a text character. Your profile address on this site will then be \'nickname@$sitename\'.')), '$nicklabel' => t('Choose a nickname: '), '$photo' => $photo, '$publish' => $profile_publish, diff --git a/view/register.tpl b/view/register.tpl index 7cf11881..2275356a 100644 --- a/view/register.tpl +++ b/view/register.tpl @@ -11,10 +11,12 @@
$fillwith
$fillext
+{{ if $oidlabel }}{{$fillwith}}
{{$fillext}}
+{{if $oidlabel }}$realpeople
$fillwith $fillext
diff --git a/view/theme/frost-mobile/smarty3/register.tpl b/view/theme/frost-mobile/smarty3/register.tpl index 62b147a8..bc0ce4cc 100644 --- a/view/theme/frost-mobile/smarty3/register.tpl +++ b/view/theme/frost-mobile/smarty3/register.tpl @@ -11,10 +11,12 @@{{$realpeople}}
{{$fillwith}} {{$fillext}}
diff --git a/view/theme/frost/register.tpl b/view/theme/frost/register.tpl index 89dcffdf..15ce5040 100644 --- a/view/theme/frost/register.tpl +++ b/view/theme/frost/register.tpl @@ -11,10 +11,12 @@$realpeople
$fillwith $fillext
diff --git a/view/theme/frost/smarty3/register.tpl b/view/theme/frost/smarty3/register.tpl index 6b8e85a0..72b628f3 100644 --- a/view/theme/frost/smarty3/register.tpl +++ b/view/theme/frost/smarty3/register.tpl @@ -11,10 +11,12 @@{{$realpeople}}
{{$fillwith}} {{$fillext}}