equal
deleted
inserted
replaced
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 } |
153 echo " </ul>\n"; |
153 echo " </ul>\n"; |
154 } |
154 } |
155 } else { |
155 } else { |
156 error(ERR_PERM_EDIT_USER); |
156 error(ERR_PERM_EDIT_USER); |