blob: d91540209facb8e8b06fd87441df4dc29cb003a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{strip}
<td>{$xrefInfo.xref_title|escape}</td>
<td>{$xrefInfo.xkey|escape}</td>
<td>{$xrefInfo.xkey_ext|escape}</td>
{if $xrefAllowEdit|default:true}
<td>
{if !$isHistory}
{$xrefInfo.start_date|bit_short_date}
{else}
{$xrefInfo.end_date|bit_short_date}
{/if}
</td>
<td>{$xrefInfo.last_update_date|bit_short_date}</td>
<td>
<span class="actionicon">
{if $gContent->hasUpdatePermission() && !$isHistory}
{smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="edit" content_id=$gContent->mInfo.content_id xref_id=$xrefInfo.xref_id}
{/if}
{if $gContent->hasExpungePermission()}
{if $isHistory}
{smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="edit" content_id=$gContent->mInfo.content_id xref_id=$xrefInfo.xref_id expunge=-1}
{else}
{smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="user-trash" content_id=$gContent->mInfo.content_id xref_id=$xrefInfo.xref_id expunge=1}
{/if}
{/if}
</span>
</td>
{/if}
{/strip}
|