diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php
index 6b8616ab777..ccc229e33bf 100644
--- a/htdocs/public/members/new.php
+++ b/htdocs/public/members/new.php
@@ -563,47 +563,47 @@ if (!empty($conf->global->MEMBER_SKIP_TABLE) || !empty($conf->global->MEMBER_NEW
print '
| '.$langs->trans("Company").' | ';
print img_picto('', 'company', 'class="pictofixedwidth"');
print ' |
'."\n";
-
+
// Title
print '| '.$langs->trans('UserTitle').' | ';
print $formcompany->select_civility(GETPOST('civility_id'), 'civility_id').' |
'."\n";
-
+
// Lastname
print '| '.$langs->trans("Lastname").' * | |
'."\n";
-
+
// Firstname
print '| '.$langs->trans("Firstname").' * | |
'."\n";
-
+
// EMail
print '| '.$langs->trans("Email").($conf->global->ADHERENT_MAIL_REQUIRED ? ' *' : '').' | ';
//print img_picto('', 'email', 'class="pictofixedwidth"');
print ' |
'."\n";
-
+
// Login
if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) {
print '| '.$langs->trans("Login").' * | |
'."\n";
print '| '.$langs->trans("Password").' * | |
'."\n";
print '| '.$langs->trans("PasswordRetype").' * | |
'."\n";
}
-
+
// Gender // TODO: add diverse gender
print '| '.$langs->trans("Gender").' | ';
print '';
$arraygender = array('man'=>$langs->trans("Genderman"), 'woman'=>$langs->trans("Genderwoman"));
print $form->selectarray('gender', $arraygender, GETPOST('gender') ?GETPOST('gender') : $object->gender, 1);
print ' |
';
-
+
// Address
print '| '.$langs->trans("Address").' | '."\n";
print ' |
'."\n";
-
+
// Zip / Town
print '| '.$langs->trans('Zip').' / '.$langs->trans('Town').' | ';
print $formcompany->select_ziptown(GETPOST('zipcode'), 'zipcode', array('town', 'selectcountry_id', 'state_id'), 0, 1, '', 'width75');
print ' / ';
print $formcompany->select_ziptown(GETPOST('town'), 'town', array('zipcode', 'selectcountry_id', 'state_id'), 0, 1);
print ' |
';
-
+
// Country
print '| '.$langs->trans('Country').' | ';
print img_picto('', 'country', 'class="pictofixedwidth"');
@@ -633,22 +633,22 @@ if (!empty($conf->global->MEMBER_SKIP_TABLE) || !empty($conf->global->MEMBER_NEW
}
print ' |
';
}
-
+
// Birthday
print '| '.$langs->trans("DateOfBirth").' | ';
print $form->selectDate($birthday, 'birth', 0, 0, 1, "newmember", 1, 0);
print ' |
'."\n";
-
+
// Photo
print '| '.$langs->trans("URLPhoto").' | |
'."\n";
-
+
// Public
print '| '.$langs->trans("Public").' | |
'."\n";
-
+
// Other attributes
$tpl_context = 'public'; // define template context to public
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_add.tpl.php';
-
+
// Comments
print '';
print '| '.$langs->trans("Comments").' | ';
@@ -763,7 +763,6 @@ if (!empty($conf->global->MEMBER_SKIP_TABLE) || !empty($conf->global->MEMBER_NEW
print "
";
print '';
} else { // Show the table of membership types
-
// Get units
$measuringUnits = new CUnits($db);
$result = $measuringUnits->fetchAll('', '', 0, 0, array('t.active' => 1));