diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-06 15:04:04 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-06 15:04:04 +0100 |
| commit | 0b0e5796f15d4a9c74651bd6fa06072768153964 (patch) | |
| tree | 927320ad18deb13c28f0a7d00a9ca96fe7dff5bd | |
| parent | bb332c35350521fbbc033329a8c75a6bd7c01684 (diff) | |
| download | contact-0b0e5796f15d4a9c74651bd6fa06072768153964.tar.gz contact-0b0e5796f15d4a9c74651bd6fa06072768153964.tar.bz2 contact-0b0e5796f15d4a9c74651bd6fa06072768153964.zip | |
xref: remove dead list_xref.tpl override
This template was unreachable — getXrefListTemplate() resolves
only to liberty/list_xref.tpl as the generic fallback, never
to contact/list_xref.tpl.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| -rwxr-xr-x | templates/list_xref.tpl | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/templates/list_xref.tpl b/templates/list_xref.tpl deleted file mode 100755 index 9846ba3..0000000 --- a/templates/list_xref.tpl +++ /dev/null @@ -1,65 +0,0 @@ - - {assign var=xrefcnt value=$gContent->mInfo.xref|@count} - {jstab title="Cross reference ($xrefcnt)"} - {legend legend="Information References"} - <div class="form-group"> - {formlabel label="Cross reference" for="xref"} - {forminput} - <table> - <caption>{tr}List of linked references{/tr}</caption> - <thead> - <tr> - <th>Information</th> - <th>Data</th> - <th>Property</th> - {if $gBitSystem->isFeatureActive( 'contact_list_last_modified' )} - <th>Updated</th> - {/if} - <th>Reference</th> - </tr> - </thead> - <tbody> - {section name=xref loop=$gContent->mInfo.xref} - <tr class="{cycle values="even,odd"}" title="{$list[county].title|escape}"> - <td> - {$gContent->mInfo.xref[xref].source_title|escape} - </td> - <td> - {$gContent->mInfo.xref[xref].data|escape} - </td> - <td> - {if isset($gContent->mInfo.xref[xref].usn) && ($gContent->mInfo.xref[xref].usn <> '') } - {$gContent->mInfo.xref[xref].usn|escape} - {smartlink ititle="Link to" ifile="../property/display_property.php" biticon="edit" property_id=$gContent->mInfo.xref[xref].usn} - {/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"> - {smartlink ititle="View" ifile="view_xref.php" biticon="go-next" source=$gContent->mInfo.xref[xref].source xref=$gContent->mInfo.xref[xref].cross_reference} - </span> - <span class="actionicon"> - {smartlink ititle="Edit" ifile="edit_xref.php" biticon="edit" source=$gContent->mInfo.xref[xref].source xref=$gContent->mInfo.xref[xref].cross_reference} </span> - </span> - <label for="ev_{$gContent->mInfo.xref[xref].cross_reference}"> - {$gContent->mInfo.xref[xref].cross_reference} - </label> - </td> - </tr> - {sectionelse} - <tr class="norecords"> - <td colspan="3"> - {tr}No records found{/tr} - </td> - </tr> - {/section} - </tbody> - </table> - {/forminput} - </div> - {/legend} - {/jstab} |
