equal
deleted
inserted
replaced
138 echo " <td class=\"n\"><input type=\"submit\" class=\"button\" name=\"commit\" value=\"" . _('Commit changes') . "\"></td>\n"; |
138 echo " <td class=\"n\"><input type=\"submit\" class=\"button\" name=\"commit\" value=\"" . _('Commit changes') . "\"></td>\n"; |
139 echo " </table>\n"; |
139 echo " </table>\n"; |
140 echo " </form>\n"; |
140 echo " </form>\n"; |
141 |
141 |
142 echo " <p>\n"; |
142 echo " <p>\n"; |
143 printf(" This user has been assigned the \"%s\" permission template.", $user['tpl_name']); |
143 printf(_('This user has been assigned the permission template "%s".'), $user['tpl_name']); |
144 if ($user['tpl_descr'] != "") { |
144 if ($user['tpl_descr'] != "") { |
145 echo " The description for this template is: \"" . $user['tpl_descr'] . "\"."; |
145 echo " " . _('The description for this template is') . ": \"" . $user['tpl_descr'] . "\"."; |
146 } |
146 } |
147 echo " Based on this template, this user has the following permissions:"; |
147 echo " " . _('Based on this template, this user has the following permissions') . ":"; |
148 echo " </p>\n"; |
148 echo " </p>\n"; |
149 echo " <ul>\n"; |
149 echo " <ul>\n"; |
150 foreach (get_permissions_by_template_id($user['tpl_id']) as $item) { |
150 foreach (get_permissions_by_template_id($user['tpl_id']) as $item) { |
151 echo " <li>" . _($item['descr']) . " (" . $item['name'] . ")</li>\n"; |
151 echo " <li>" . _($item['descr']) . " (" . $item['name'] . ")</li>\n"; |
152 } |
152 } |