summaryrefslogtreecommitdiff
path: root/display_contact.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-06 15:55:45 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-06 15:55:45 +0100
commit4425c6b4acd016085c537631c4738ca2fca90eaf (patch)
treee7f8079f9e32b93af92dce18bd6005a4aabd5d06 /display_contact.php
parentcf124b2b5e5d7a7663c2dfafa970ca191216f143 (diff)
downloadcontact-4425c6b4acd016085c537631c4738ca2fca90eaf.tar.gz
contact-4425c6b4acd016085c537631c4738ca2fca90eaf.tar.bz2
contact-4425c6b4acd016085c537631c4738ca2fca90eaf.zip
display_contact: migrate to loadXrefInfo/gXrefInfo path
display_contact.php: replace getXrefGroupList() with loadXrefInfo() and assign gXrefInfo to Smarty. display_contact.tpl: replace old $source loop with xrefGroup foreach. view_xref_contact_group.tpl: remove fixed column widths. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'display_contact.php')
-rwxr-xr-xdisplay_contact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/display_contact.php b/display_contact.php
index c9cd179..891cd16 100755
--- a/display_contact.php
+++ b/display_contact.php
@@ -51,7 +51,7 @@ if ($gContent->isCommentable()) {
}
}
-$gContent->mInfo['type'] = $gContent->getXrefGroupList();
+$gBitSmarty->assign( 'gXrefInfo', $gContent->mXrefInfo );
$gBitSystem->setBrowserTitle( $gContent->mInfo['title'] );
$gBitSystem->display( 'bitpackage:contact/show_contact.tpl');