equal
deleted
inserted
replaced
47 echo " </tr>\n"; |
47 echo " </tr>\n"; |
48 echo " <tr>\n"; |
48 echo " <tr>\n"; |
49 echo " <td class=\"n\">" . _('Emailaddress') . "</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 if (verify_permission('user_edit_templ_perm')) { |
53 echo " <td class=\"n\">" . _('Permission template') . "</td>\n"; |
53 echo " <tr>\n"; |
54 echo " <td class=\"n\">\n"; |
54 echo " <td class=\"n\">" . _('Permission template') . "</td>\n"; |
55 echo " <select name=\"perm_templ\">\n"; |
55 echo " <td class=\"n\">\n"; |
56 foreach (list_permission_templates() as $template) { |
56 echo " <select name=\"perm_templ\">\n"; |
57 echo " <option value=\"" . $template['id'] . "\">" . $template['name'] . "</option>\n"; |
57 foreach (list_permission_templates() as $template) { |
|
58 echo " <option value=\"" . $template['id'] . "\">" . $template['name'] . "</option>\n"; |
|
59 } |
|
60 echo " </select>\n"; |
|
61 echo " </td>\n"; |
|
62 echo " </tr>\n"; |
58 } |
63 } |
59 echo " </select>\n"; |
|
60 echo " </td>\n"; |
|
61 echo " </tr>\n"; |
|
62 echo " <tr>\n"; |
64 echo " <tr>\n"; |
63 echo " <td class=\"n\">" . _('Description') . "</td>\n"; |
65 echo " <td class=\"n\">" . _('Description') . "</td>\n"; |
64 echo " <td class=\"n\"><textarea rows=\"4\" cols=\"30\" class=\"inputarea\" name=\"descr\"></textarea></td>\n"; |
66 echo " <td class=\"n\"><textarea rows=\"4\" cols=\"30\" class=\"inputarea\" name=\"descr\"></textarea></td>\n"; |
65 echo " </tr>\n"; |
67 echo " </tr>\n"; |
66 echo " <tr>\n"; |
68 echo " <tr>\n"; |