summaryrefslogtreecommitdiff
path: root/templates/contact_date_bar.tpl
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-26 14:51:23 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-26 14:51:23 +0100
commit620f081325c4e181a011781b5e72d251079b4271 (patch)
treece8ad2c6c0c0e2bca9585454eb61a68b2b05fbb0 /templates/contact_date_bar.tpl
parent3ce59b8686582a514406b1a57574e846ce83a7c1 (diff)
downloadcontact-620f081325c4e181a011781b5e72d251079b4271.tar.gz
contact-620f081325c4e181a011781b5e72d251079b4271.tar.bz2
contact-620f081325c4e181a011781b5e72d251079b4271.zip
Migrate contact xref to liberty_xref tables; add address_postcode to schema
5.0.1 upgrade migrates contact_xref_type/source/xref data into liberty_xref_group/item/xref with content_type_guid='contact'. 5.0.2 upgrade drops the old contact_xref* tables. schema_inc.php updated for fresh installs: - Removes contact_xref, contact_xref_source, contact_xref_type tables - Adds address_postcode table (UK postcode lookup, LEFT JOIN'd in queries) - Defaults now INSERT into liberty_xref_group and liberty_xref_item directly - dependencies => 'liberty' ensures correct install ordering PHP and templates: source→item, xref_type→group rename throughout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates/contact_date_bar.tpl')
-rwxr-xr-xtemplates/contact_date_bar.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contact_date_bar.tpl b/templates/contact_date_bar.tpl
index 0ab0290..883a597 100755
--- a/templates/contact_date_bar.tpl
+++ b/templates/contact_date_bar.tpl
@@ -5,7 +5,7 @@
{if $print_page ne 'y'}
{if !$lock}
{if $gBitUser->hasPermission('p_edit_contact')}
- {smartlink ititle='Add additional crossref record' ifile="add_xref.php" booticon="icon-note-add" content_id=$gContent->mInfo.content_id xref_type=-1}
+ {smartlink ititle='Add additional crossref record' ifile="add_xref.php" booticon="icon-note-add" content_id=$gContent->mInfo.content_id group=-1}
{smartlink ititle="Edit Contact" ifile="edit.php" booticon="icon-user-edit" content_id=$gContent->mInfo.content_id}
{/if}
{/if}