summaryrefslogtreecommitdiff
path: root/templates/edit.tpl
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-19 14:11:28 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-19 14:11:28 +0100
commit0dc95235f38a2f20fe8334ec7c28beb19cb01042 (patch)
treed6a25a293e2810a07c139982fc321c013ddfe53d /templates/edit.tpl
parent5d3e672dd7f35c348a98fd149c02c5c9d79cb520 (diff)
downloadcontact-master.tar.gz
contact-master.tar.bz2
contact-master.zip
Move linked user_id field into Liberty Extensions tab, first positionHEADmaster
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 <noreply@anthropic.com>
Diffstat (limited to 'templates/edit.tpl')
-rwxr-xr-xtemplates/edit.tpl13
1 files changed, 13 insertions, 0 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')}
+ <div class="form-group">
+ {formlabel label="Linked User ID" for="user_id"}
+ {forminput}
+ <input size="10" type="text" name="user_id" id="user_id" value="{$gContent->mInfo.role_id|escape}" />
+ {if $gContent->mInfo.linked_user_login}
+ <span class="help-block">{$gContent->mInfo.linked_user_name|escape} ({$gContent->mInfo.linked_user_login|escape})</span>
+ {/if}
+ {/forminput}
+ <div class="clear"></div>
+ </div>
+ {/if}
+
{if $serviceEditTpls.categorization }
{legend legend="Categorize"}
{include file=$serviceEditTpls.categorization}