X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Ftemplates%2FUsercreate.php;h=50dfaecb47fb0f0cf1337d990df84754bfaa494c;hb=c93a33559f65e185dc07d823a2dbfb3ff77392fe;hp=3d848cf5e189ed5ab9101cc2ef9f4cb8c9f88bf8;hpb=34981172de480cab30d120be9945d3da0384d42e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/templates/Usercreate.php b/includes/templates/Usercreate.php index 3d848cf5e1..50dfaecb47 100644 --- a/includes/templates/Usercreate.php +++ b/includes/templates/Usercreate.php @@ -58,7 +58,7 @@ class UsercreateTemplate extends BaseTemplate {

msg( $this->data['createAnother'] ? + $this->msg( $this->data['loggedin'] ? 'createacct-another-join' : 'createacct-join' ); ?>

@@ -89,7 +89,7 @@ class UsercreateTemplate extends BaseTemplate { 'tabindex' => '1', 'size' => '20', 'required', - 'placeholder' => $this->getMsg( $this->data['createAnother'] ? + 'placeholder' => $this->getMsg( $this->data['loggedin'] ? 'createacct-another-username-ph' : 'userlogin-yourname-ph' )->text(), ) ); ?> @@ -162,7 +162,7 @@ class UsercreateTemplate extends BaseTemplate { 'id' => 'wpEmail', 'tabindex' => '6', 'size' => '20', - 'placeholder' => $this->getMsg( $this->data['createAnother'] ? + 'placeholder' => $this->getMsg( $this->data['loggedin'] ? 'createacct-another-email-ph' : 'createacct-email-ph' )->text() ) + ( $this->data['emailrequired'] ? array() : array( 'required' => '' ) ) ); ?> @@ -175,7 +175,7 @@ class UsercreateTemplate extends BaseTemplate { tabindex="7" value="text( 'realname' ); ?>" size='20' />
- msgWiki( $this->data['createAnother'] ? 'createacct-another-realname-tip' : 'prefs-help-realname' ); ?> + msgWiki( $this->data['loggedin'] ? 'createacct-another-realname-tip' : 'prefs-help-realname' ); ?>
getMsg( $this->data['createAnother'] ? + $this->getMsg( $this->data['loggedin'] ? 'createacct-another-submit' : 'createacct-submit' ), 'submit', array(