diff options
author | friendica <info@friendica.com> | 2012-07-21 03:48:59 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-21 03:48:59 -0700 |
commit | 6e08f398200de8a1560e14cdb4fb6c278a8e2b94 (patch) | |
tree | 9ca6e1e6350ba49b8f3abc130c9551afe7fa436d /mod/register.php | |
parent | bf386749047731d3a7f47fd99f7dcc4e93ed7be7 (diff) | |
download | volse-hubzilla-6e08f398200de8a1560e14cdb4fb6c278a8e2b94.tar.gz volse-hubzilla-6e08f398200de8a1560e14cdb4fb6c278a8e2b94.tar.bz2 volse-hubzilla-6e08f398200de8a1560e14cdb4fb6c278a8e2b94.zip |
simplify
Diffstat (limited to 'mod/register.php')
-rw-r--r-- | mod/register.php | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/mod/register.php b/mod/register.php index d52b5a6e1..d48a7086d 100644 --- a/mod/register.php +++ b/mod/register.php @@ -202,24 +202,13 @@ function register_content(&$a) { $photo = ((x($_POST,'photo')) ? $_POST['photo'] : ((x($_GET,'photo')) ? hex2bin($_GET['photo']) : '')); $invite_id = ((x($_POST,'invite_id')) ? $_POST['invite_id'] : ((x($_GET,'invite_id')) ? $_GET['invite_id'] : '')); - $noid = get_config('system','no_openid'); - if($noid) { - $oidhtml = ''; - $fillwith = ''; - $fillext = ''; - $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" >'; - $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: "); - } - - // I set this and got even more fake names than before... + $oidhtml = ''; + $fillwith = ''; + $fillext = ''; + $oidlabel = ''; - $realpeople = ''; // t('Members of this network prefer to communicate with real people who use their real names.'); + $realpeople = ''; if(get_config('system','publish_all')) { $profile_publish_reg = '<input type="hidden" name="profile_publish_reg" value="1" />'; |