diff options
Diffstat (limited to 'templates/view_xref_locate_record.tpl')
| -rw-r--r-- | templates/view_xref_locate_record.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/view_xref_locate_record.tpl b/templates/view_xref_locate_record.tpl index edea55a..099ce6b 100644 --- a/templates/view_xref_locate_record.tpl +++ b/templates/view_xref_locate_record.tpl @@ -13,10 +13,10 @@ <td>{$gContent->mInfo.$source[xref].last_update_date|bit_short_date}</td> <td> <span class="actionicon"> - {if $gContent->hasUpdatePermission() && $source ne 'history'} + {if $xrefAllowEdit|default:true && $gContent->hasUpdatePermission() && $source ne 'history'} {smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} {/if} - {if $gContent->hasExpungePermission()} + {if $xrefAllowEdit|default:true && $gContent->hasExpungePermission()} {if $source eq 'history'} {smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1} {else} |
