equal
deleted
inserted
replaced
112 echo " </tr>\n"; |
112 echo " </tr>\n"; |
113 echo " <tr>\n"; |
113 echo " <tr>\n"; |
114 echo " <td class=\"n\">" . _('Emailaddress') . "</td>\n"; |
114 echo " <td class=\"n\">" . _('Emailaddress') . "</td>\n"; |
115 echo " <td class=\"n\"><input type=\"text\" class=\"input\" name=\"email\" value=\"" . $user['email'] . "\"></td>\n"; |
115 echo " <td class=\"n\"><input type=\"text\" class=\"input\" name=\"email\" value=\"" . $user['email'] . "\"></td>\n"; |
116 echo " </tr>\n"; |
116 echo " </tr>\n"; |
117 echo " <tr>\n"; |
117 if (verify_permission('user_edit_templ_perm')) { |
118 echo " <td class=\"n\">" . _('Permission template') . "</td>\n"; |
118 echo " <tr>\n"; |
119 echo " <td class=\"n\">\n"; |
119 echo " <td class=\"n\">" . _('Permission template') . "</td>\n"; |
120 echo " <select name=\"perm_templ\">\n"; |
120 echo " <td class=\"n\">\n"; |
121 foreach (list_permission_templates() as $template) { |
121 echo " <select name=\"perm_templ\">\n"; |
122 ($template['id'] == $user['tpl_id']) ? $select = " SELECTED" : $select = "" ; |
122 foreach (list_permission_templates() as $template) { |
123 echo " <option value=\"" . $template['id'] . "\"" . $select . ">" . $template['name'] . "</option>\n"; |
123 ($template['id'] == $user['tpl_id']) ? $select = " SELECTED" : $select = "" ; |
|
124 echo " <option value=\"" . $template['id'] . "\"" . $select . ">" . $template['name'] . "</option>\n"; |
|
125 } |
|
126 echo " </select>\n"; |
|
127 echo " </td>\n"; |
124 } |
128 } |
125 echo " </select>\n"; |
|
126 echo " </td>\n"; |
|
127 echo " </tr>\n"; |
129 echo " </tr>\n"; |
128 echo " <tr>\n"; |
130 echo " <tr>\n"; |
129 echo " <td class=\"n\">" . _('Description') . "</td>\n"; |
131 echo " <td class=\"n\">" . _('Description') . "</td>\n"; |
130 echo " <td class=\"n\"><textarea rows=\"4\" cols=\"30\" class=\"inputarea\" name=\"description\">" . $user['descr'] . "</textarea></td>\n"; |
132 echo " <td class=\"n\"><textarea rows=\"4\" cols=\"30\" class=\"inputarea\" name=\"description\">" . $user['descr'] . "</textarea></td>\n"; |
131 echo " </tr>\n"; |
133 echo " </tr>\n"; |