diff options
| author | Christian Fowler <spider@viovio.com> | 2008-10-20 21:40:12 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2008-10-20 21:40:12 +0000 |
| commit | fde76307752b065805b677d4e190f827e763814b (patch) | |
| tree | df1015eeed8fe10282811343e3c62565cf50a90f /templates | |
| parent | 2c307f88bcdd9107a0c6f3d8c8eaaeca0d114d04 (diff) | |
| download | tags-fde76307752b065805b677d4e190f827e763814b.tar.gz tags-fde76307752b065805b677d4e190f827e763814b.tar.bz2 tags-fde76307752b065805b677d4e190f827e763814b.zip | |
BIG CHANGE: migrate p_*_edit permissions to p_*_update permission naming convention, hasEditPermission is now hasUpdatePermission, many explicit perm checks have been cleaned up to hasUpdatePermission
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/tags_list.tpl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/tags_list.tpl b/templates/tags_list.tpl index c94c8f2..fba2721 100644 --- a/templates/tags_list.tpl +++ b/templates/tags_list.tpl @@ -16,11 +16,10 @@ {$tag.popcant} </td> <td class="actionicon"> - {if $gBitUser->hasPermission( 'p_tags_edit' ) } + {if $gBitUser->hasPermission( 'p_tags_create' ) } {smartlink ititle="Edit" ifile="edit.php" ibiticon="icons/accessories-text-editor" tag_id=$tag.tag_id} {/if} - - {if $gBitUser->hasPermission( 'p_tags_remove' )} + {if $gBitUser->hasPermission( 'p_tags_moderate' )} {smartlink ititle="Remove" ibiticon="icons/edit-delete" action=remove tag_id=$tag.tag_id status_id=$smarty.request.status_id} {/if} </td> |
