diff --git a/boot.php b/boot.php index 864cdedd3..9fd9b2c64 100644 --- a/boot.php +++ b/boot.php @@ -12,7 +12,7 @@ require_once('library/Mobile_Detect/Mobile_Detect.php'); require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '3.1.1574' ); +define ( 'FRIENDICA_VERSION', '3.1.1575' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DB_UPDATE_VERSION', 1157 ); diff --git a/mod/register.php b/mod/register.php index 208f97bcb..f4c657087 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/util/messages.po b/util/messages.po index 73bd51ec6..9fc1745f5 100644 --- a/util/messages.po +++ b/util/messages.po @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: 3.1.1574\n" +"Project-Id-Version: 3.1.1575\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-12-31 10:00-0800\n" +"POT-Creation-Date: 2013-01-01 10:00-0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/view/register.tpl b/view/register.tpl index 7cf11881a..2275356a2 100644 --- a/view/register.tpl +++ b/view/register.tpl @@ -11,10 +11,12 @@

$fillwith

$fillext

+{{ if $oidlabel }}
- $oidhtml +
+{{ endif }} {{ if $invitations }} diff --git a/view/smarty3/register.tpl b/view/smarty3/register.tpl index bdec2ffb4..768ca9387 100644 --- a/view/smarty3/register.tpl +++ b/view/smarty3/register.tpl @@ -11,10 +11,12 @@

{{$fillwith}}

{{$fillext}}

+{{if $oidlabel }}
- {{$oidhtml}} +
+{{/if}} {{if $invitations}} diff --git a/view/theme/frost-mobile/register.tpl b/view/theme/frost-mobile/register.tpl index cbc58a784..041be5e96 100644 --- a/view/theme/frost-mobile/register.tpl +++ b/view/theme/frost-mobile/register.tpl @@ -11,10 +11,12 @@

$realpeople


-
- $oidhtml +{{ if $oidlabel }} +
+
+{{ endif }}

$fillwith $fillext

diff --git a/view/theme/frost-mobile/smarty3/register.tpl b/view/theme/frost-mobile/smarty3/register.tpl index 62b147a8e..bc0ce4cc9 100644 --- a/view/theme/frost-mobile/smarty3/register.tpl +++ b/view/theme/frost-mobile/smarty3/register.tpl @@ -11,10 +11,12 @@

{{$realpeople}}


-
- {{$oidhtml}} +{{if $oidlabel }} +
+
+{{/if}}

{{$fillwith}} {{$fillext}}

diff --git a/view/theme/frost/register.tpl b/view/theme/frost/register.tpl index 89dcffdf2..15ce5040e 100644 --- a/view/theme/frost/register.tpl +++ b/view/theme/frost/register.tpl @@ -11,10 +11,12 @@

$realpeople


-
- $oidhtml +{{ if $oidlabel }} +
+
+{{ endif }}

$fillwith $fillext

diff --git a/view/theme/frost/smarty3/register.tpl b/view/theme/frost/smarty3/register.tpl index 6b8e85a03..72b628f39 100644 --- a/view/theme/frost/smarty3/register.tpl +++ b/view/theme/frost/smarty3/register.tpl @@ -11,10 +11,12 @@

{{$realpeople}}


-
- {{$oidhtml}} +{{if $oidlabel }} +
+
+{{/if}}

{{$fillwith}} {{$fillext}}