equal
deleted
inserted
replaced
28 if($_POST["commit"]) { |
28 if($_POST["commit"]) { |
29 add_new_user($_POST); |
29 add_new_user($_POST); |
30 success(SUC_USER_ADD); |
30 success(SUC_USER_ADD); |
31 } |
31 } |
32 |
32 |
33 echo " <h2>" . _('Add a user') . "</h2>\n"; |
33 echo " <h2>" . _('Add user') . "</h2>\n"; |
34 echo " <form method=\"post\">\n"; |
34 echo " <form method=\"post\">\n"; |
35 echo " <table>\n"; |
35 echo " <table>\n"; |
36 echo " <tr>\n"; |
36 echo " <tr>\n"; |
37 echo " <td class=\"n\">" . _('Username') . "</td>\n"; |
37 echo " <td class=\"n\">" . _('Username') . "</td>\n"; |
38 echo " <td class=\"n\"><input type=\"text\" class=\"input\" name=\"username\" value=\"\"></td>\n"; |
38 echo " <td class=\"n\"><input type=\"text\" class=\"input\" name=\"username\" value=\"\"></td>\n"; |
44 echo " <tr>\n"; |
44 echo " <tr>\n"; |
45 echo " <td class=\"n\">" . _('Password') . "</td>\n"; |
45 echo " <td class=\"n\">" . _('Password') . "</td>\n"; |
46 echo " <td class=\"n\"><input type=\"password\" class=\"input\" name=\"password\"></td>\n"; |
46 echo " <td class=\"n\"><input type=\"password\" class=\"input\" name=\"password\"></td>\n"; |
47 echo " </tr>\n"; |
47 echo " </tr>\n"; |
48 echo " <tr>\n"; |
48 echo " <tr>\n"; |
49 echo " <td class=\"n\">" . _('Email') . "</td>\n"; |
49 echo " <td class=\"n\">" . _('Emailaddress') . "</td>\n"; |
50 echo " <td class=\"n\"><input type=\"text\" class=\"input\" name=\"email\" value=\"\"></td>\n"; |
50 echo " <td class=\"n\"><input type=\"text\" class=\"input\" name=\"email\" value=\"\"></td>\n"; |
51 echo " </tr>\n"; |
51 echo " </tr>\n"; |
52 echo " <tr>\n"; |
52 echo " <tr>\n"; |
53 echo " <td class=\"n\">" . _('Permission template') . "</td>\n"; |
53 echo " <td class=\"n\">" . _('Permission template') . "</td>\n"; |
54 echo " <td class=\"n\">\n"; |
54 echo " <td class=\"n\">\n"; |