blob: d87ddd5cd0dd4bbb684cb0725979aeb33be77fe1 (
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
|
{strip}
<tr class="{cycle values="even,odd"}">
<td>
{if $gContent->mInfo.$source[xref].xref > 0}
<a href="{$smarty.const.CONTACT_PKG_URL}display_contact.php?content_id={$gContent->mInfo.$source[xref].xref|escape}">{$gContent->mInfo.$source[xref].xref_title|default:$gContent->mInfo.$source[xref].xref|escape}</a>
{else}
{/if}
</td>
<td>{$gContent->mInfo.$source[xref].xkey|escape}</td>
<td>{$gContent->mInfo.$source[xref].xkey_ext|escape}</td>
<td>{$gContent->mInfo.$source[xref].data|escape}</td>
{if $xrefAllowEdit}
<td>{$gContent->mInfo.$source[xref].start_date|bit_short_date}</td>
<td>{$gContent->mInfo.$source[xref].last_update_date|bit_short_date}</td>
{/if}
{if $xrefAllowEdit}
<td>
<span class="actionicon">
{if $gContent->hasUpdatePermission() && $source ne 'history'}
{smartlink ititle="Edit" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id}
{/if}
{if $gContent->hasExpungePermission()}
{if $source eq 'history'}
{smartlink ititle="Restore" ipackage="liberty" ifile="edit_xref.php" biticon="document-properties" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=-1}
{else}
{smartlink ititle="Delete" ipackage="liberty" ifile="edit_xref.php" biticon="edit-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1}
{/if}
{/if}
</span>
</td>
{/if}
</tr>
{/strip}
|