From 0dc95235f38a2f20fe8334ec7c28beb19cb01042 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Fri, 19 Jun 2026 14:11:28 +0100 Subject: Move linked user_id field into Liberty Extensions tab, first position Removed from the legacy edit_contact.tpl; placed at the top of the Liberty Extensions tab in edit.tpl, gated on p_contact_admin, using the same plain form-group style as surrounding fields. Co-Authored-By: Claude Sonnet 4.6 --- templates/edit.tpl | 13 +++++++++++++ templates/edit_contact.tpl | 12 ------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/templates/edit.tpl b/templates/edit.tpl index e164291..5fc43e0 100755 --- a/templates/edit.tpl +++ b/templates/edit.tpl @@ -130,6 +130,19 @@ {/jstab} {jstab title="Liberty Extensions"} + {if $gBitUser->hasPermission('p_contact_admin')} +
+ {formlabel label="Linked User ID" for="user_id"} + {forminput} + + {if $gContent->mInfo.linked_user_login} + {$gContent->mInfo.linked_user_name|escape} ({$gContent->mInfo.linked_user_login|escape}) + {/if} + {/forminput} +
+
+ {/if} + {if $serviceEditTpls.categorization } {legend legend="Categorize"} {include file=$serviceEditTpls.categorization} diff --git a/templates/edit_contact.tpl b/templates/edit_contact.tpl index 611a43e..80a468b 100755 --- a/templates/edit_contact.tpl +++ b/templates/edit_contact.tpl @@ -80,18 +80,6 @@
*} - {if $gBitUser->hasPermission('p_contact_admin')} -
- {formlabel label="Linked User ID" for="user_id"} - {forminput} - - {if $gContent->mInfo.linked_user_login} - {$gContent->mInfo.linked_user_name|escape} ({$gContent->mInfo.linked_user_login|escape}) - {/if} - {/forminput} -
-
- {/if}
{formlabel label="Note" for="description"} {forminput} -- cgit v1.3