$oidlabel = '';
}
else {
- $oidhtml = '<label for="register-openid" id="label-register-openid" >$oidlabel</label><input type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="$openid" >';
+ $oidhtml = '<label for="register-openid" id="label-register-openid" >%s</label><input type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="%s" >';
+ $oidhtml_old = '<label for="register-openid" id="label-register-openid" >$oidlabel</label><input type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="$openid" >';
$fillwith = t("You may \x28optionally\x29 fill in this form via OpenID by supplying your OpenID and clicking 'Register'.");
$fillext = t('If you are not familiar with OpenID, please leave that field blank and fill in the rest of the items.');
$oidlabel = t("Your OpenID \x28optional\x29: ");
$o = replace_macros($o, array(
'$oidhtml' => $oidhtml,
+ '$oidhtml_old' => $oidhtml_old,
'$invitations' => get_config('system','invitation_only'),
'$invite_desc' => t('Membership on this site is by invitation only.'),
'$invite_label' => t('Your invitation ID: '),
<p id="register-fill-ext">$fillext</p>
<div id="register-openid-wrapper" >
- $oidhtml
+ $oidhtml_old
</div>
<div id="register-openid-end" ></div>
<p id="register-fill-ext">{{$fillext}}</p>
<div id="register-openid-wrapper" >
- {{$oidhtml}}
+ {{$oidhtml|sprintf:$oidlabel:$openid}}
</div>
<div id="register-openid-end" ></div>
</div>
<div id="register-email-end" ></div>
- <p id="register-nickname-desc" >{{$nickdesc}}</p>
+ <p id="register-nickname-desc" >{{$nickdesc|replace:'$sitename':$sitename}}</p>
<div id="register-nickname-wrapper" >
<label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label>
<br />
<div id="register-openid-wrapper" class="field input" >
- $oidhtml
+ $oidhtml_old
</div>
<div id="register-openid-end" ></div>
<br />
<div id="register-openid-wrapper" class="field input" >
- {{$oidhtml}}
+ {{$oidhtml|sprintf:$oidlabel:$openid}}
</div>
<div id="register-openid-end" ></div>
<div id="register-nickname-end" ></div>
<div class="register-explain-wrapper">
- <p id="register-nickname-desc" >{{$nickdesc}}</p>
+ <p id="register-nickname-desc" >{{$nickdesc|replace:'$sitename':$sitename}}</p>
</div>
{{$publish}}
<br />
<div id="register-openid-wrapper" class="field input" >
- $oidhtml
+ $oidhtml_old
</div>
<div id="register-openid-end" ></div>
<br />
<div id="register-openid-wrapper" class="field input" >
- {{$oidhtml}}
+ {{$oidhtml|sprintf:$oidlabel:$openid}}
</div>
<div id="register-openid-end" ></div>
<div id="register-nickname-end" ></div>
<div class="register-explain-wrapper">
- <p id="register-nickname-desc" >{{$nickdesc}}</p>
+ <p id="register-nickname-desc" >{{$nickdesc|replace:'$sitename':$sitename}}</p>
</div>
{{$publish}}