blob: e24deccab0cf9af339b555b32422ed04018126f6 (
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
30
31
32
33
34
35
36
37
38
39
|
{strip}
<td>
{$xrefInfo.xref_title|escape}
</td>
<td>
{$xrefInfo.xkey|escape}
</td>
<td>
{$xrefInfo.data|escape}
</td>
{if $xrefAllowEdit}
<td>
{if !$isHistory }
{$xrefInfo.start_date|bit_short_date}
{else}
{$xrefInfo.end_date|bit_short_date}
{/if}
</td>
{if $gBitSystem->isFeatureActive( 'contact_list_last_modified' )}
<td>
{$gContent->mInfo.xref[xref].last_update_date|bit_long_date}
</td>
{/if}
<td>
<span class="actionicon">
{if $gBitUser->hasPermission( 'p_contact_update' ) && !$isHistory }
{smartlink ititle="Edit" ifile="edit_xref.php" biticon="edit" content_id=$gContent->mInfo.content_id xref_id=$xrefInfo.xref_id}
{/if}
{if $gBitUser->hasPermission( 'p_contact_expunge' ) }
{if $isHistory }
{smartlink ititle="Restore" ifile="edit_xref.php" biticon="edit" content_id=$gContent->mInfo.content_id xref_id=$xrefInfo.xref_id expunge=-1}
{else}
{smartlink ititle="Delete" 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}
|