1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Remove more XUP-related items

This commit is contained in:
e107steved
2011-12-27 22:54:34 +00:00
parent f50320eba7
commit 7eb71fe400
7 changed files with 6 additions and 119 deletions

View File

@@ -57,23 +57,6 @@ elseif($pref['user_reg_veri'])
SC_END
SC_BEGIN SIGNUP_XUP
global $pref, $tp, $SIGNUP_XUP_FORM, $signup_shortcodes;
if(isset($pref['xup_enabled']) && $pref['xup_enabled'])
{
return $tp->parseTemplate($SIGNUP_XUP_FORM, TRUE, $signup_shortcodes);
}
SC_END
SC_BEGIN SIGNUP_XUP_ACTION
global $pref, $tp, $SIGNUP_XUP_BUTTON, $signup_shortcodes;
if(isset($pref['xup_enabled']) && $pref['xup_enabled'])
{
// Puts the button to allow XUP signup onto the 'normal' signup screen
return $tp->parseTemplate($SIGNUP_XUP_BUTTON, TRUE, $signup_shortcodes);
}
SC_END
SC_BEGIN SIGNUP_DISPLAYNAME
global $pref, $rs;
@@ -292,20 +275,6 @@ SC_BEGIN SIGNUP_FORM_CLOSE
return "</form>";
SC_END
SC_BEGIN SIGNUP_XUP_LOGINNAME
global $rs, $loginname;
return $rs->form_text("loginnamexup", 30, $loginname, 30);
SC_END
SC_BEGIN SIGNUP_XUP_PASSWORD1
global $rs, $password1;
return $rs->form_password("password1xup", 30, $password1, 20);
SC_END
SC_BEGIN SIGNUP_XUP_PASSWORD2
global $rs, $password1;
return $rs->form_password("password2xup", 30, $password2, 20);
SC_END
SC_BEGIN SIGNUP_IS_MANDATORY
global $pref;

View File

@@ -192,13 +192,6 @@ if ($pref['photo_upload'] && FILE_UPLOADS)
}
SC_END
SC_BEGIN XUP
global $pref,$curVal;
if(isset($pref['xup_enabled']) && $pref['xup_enabled'] == 1)
{
return "<input class='tbox' type='text' name='user_xup' size='50' value='{$curVal['user_xup']}' maxlength='100' />";
}
SC_END
SC_BEGIN USEREXTENDED_ALL