diff options
| author | lsces <lester@lsces.co.uk> | 2025-08-24 15:35:09 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2025-08-24 15:35:09 +0100 |
| commit | ce4fa87baac56fe2478cfea56b539cba63887467 (patch) | |
| tree | 6d5f6a74d4d80fcc11b12ce2fa86715e1bff9b88 /templates/view_xref_locate_record.tpl | |
| parent | 69b08377a8a2d3791b21d96720657d93beda2af0 (diff) | |
| download | contact-ce4fa87baac56fe2478cfea56b539cba63887467.tar.gz contact-ce4fa87baac56fe2478cfea56b539cba63887467.tar.bz2 contact-ce4fa87baac56fe2478cfea56b539cba63887467.zip | |
Just a crude merging of the PHP7 code base with the PHP8.4 version
Diffstat (limited to 'templates/view_xref_locate_record.tpl')
| -rwxr-xr-x | templates/view_xref_locate_record.tpl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/templates/view_xref_locate_record.tpl b/templates/view_xref_locate_record.tpl new file mode 100755 index 0000000..fd9d423 --- /dev/null +++ b/templates/view_xref_locate_record.tpl @@ -0,0 +1,40 @@ +{strip} +<td> + {$gContent->mInfo.$source[xref].source_title|escape} +</td> +<td> + +</td> +<td> + {$gContent->mInfo.$source[xref].xkey|escape} {$gContent->mInfo.$source[xref].xkey_ext|escape} +</td> +<td> + {$gContent->mInfo.$source[xref].data|escape} +</td> +<td> +{if $source ne 'history' } + {$gContent->mInfo.$source[xref].start_date|bit_short_date} +{else} + {$gContent->mInfo.$source[xref].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' ) and $source ne 'history' } + {smartlink ititle="Edit" ifile="edit_xref.php" booticon="icon-note-edit" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id} + {/if} + {if $gBitUser->hasPermission( 'p_contact_expunge' ) } + {if $source eq 'history' } + {smartlink ititle="Restore" 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} + {smartlink ititle="Delete" ifile="edit_xref.php" booticon="icon-note-delete" content_id=$gContent->mInfo.content_id xref_id=$gContent->mInfo.$source[xref].xref_id expunge=1} + {/if} + {/if} + </span> +</td> +{/strip} |
