projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved input checking for role editor.
[timetracker.git]
/
WEB-INF
/
templates
/
profile_edit.tpl
diff --git
a/WEB-INF/templates/profile_edit.tpl
b/WEB-INF/templates/profile_edit.tpl
index
955f7d5
..
244c6cb
100644
(file)
--- a/
WEB-INF/templates/profile_edit.tpl
+++ b/
WEB-INF/templates/profile_edit.tpl
@@
-141,7
+141,7
@@
function handlePluginCheckboxes() {
<td align="right">{$i18n.label.currency}:</td>
<td>{$forms.profileForm.currency.control}</td>
</tr>
<td align="right">{$i18n.label.currency}:</td>
<td>{$forms.profileForm.currency.control}</td>
</tr>
- {if
defined(DEBUG_ROLES
)}
+ {if
$user->can('manage_roles'
)}
<tr>
<td align="right" nowrap>{$i18n.label.roles}:</td>
<td><a href="roles.php">{$i18n.label.configure}</a></td>
<tr>
<td align="right" nowrap>{$i18n.label.roles}:</td>
<td><a href="roles.php">{$i18n.label.configure}</a></td>