|
@@ 46-53 (lines=8) @@
|
| 43 |
|
$uname_tray->addElement( $uname_text ); |
| 44 |
|
$form->addElement( $uname_tray ); |
| 45 |
|
|
| 46 |
|
if ($xoopsModuleConfig['displayrealname'] == 1){ |
| 47 |
|
$name_text = new XoopsFormText( '', 'user_name', 30, 60 ); |
| 48 |
|
$name_match = new XoopsFormSelectMatchOption( '', 'user_name_match' ); |
| 49 |
|
$name_tray = new XoopsFormElementTray( _MD_XM_REALNAME, ' ' ); |
| 50 |
|
$name_tray->addElement( $name_match ); |
| 51 |
|
$name_tray->addElement( $name_text ); |
| 52 |
|
$form->addElement( $name_tray ); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
if ($xoopsModuleConfig['displayemail'] == 1){ |
| 56 |
|
$email_text = new XoopsFormText( '', 'user_email', 30, 60 ); |
|
@@ 55-62 (lines=8) @@
|
| 52 |
|
$form->addElement( $name_tray ); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
if ($xoopsModuleConfig['displayemail'] == 1){ |
| 56 |
|
$email_text = new XoopsFormText( '', 'user_email', 30, 60 ); |
| 57 |
|
$email_match = new XoopsFormSelectMatchOption( '', 'user_email_match' ); |
| 58 |
|
$email_tray = new XoopsFormElementTray( _MD_XM_EMAIL, ' ' ); |
| 59 |
|
$email_tray->addElement( $email_match ); |
| 60 |
|
$email_tray->addElement( $email_text ); |
| 61 |
|
$form->addElement( $email_tray ); |
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
if ($xoopsModuleConfig['displayurl'] == 1){ |
| 65 |
|
$form->addElement( new XoopsFormText( _MD_XM_URLC, 'user_url', 30, 100 ) ); |