diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-19 14:11:28 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-19 14:11:28 +0100 |
| commit | 0dc95235f38a2f20fe8334ec7c28beb19cb01042 (patch) | |
| tree | d6a25a293e2810a07c139982fc321c013ddfe53d /templates | |
| parent | 5d3e672dd7f35c348a98fd149c02c5c9d79cb520 (diff) | |
| download | contact-0dc95235f38a2f20fe8334ec7c28beb19cb01042.tar.gz contact-0dc95235f38a2f20fe8334ec7c28beb19cb01042.tar.bz2 contact-0dc95235f38a2f20fe8334ec7c28beb19cb01042.zip | |
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')
| -rwxr-xr-x | templates/edit.tpl | 13 | ||||
| -rwxr-xr-x | 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')} + <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} 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 @@ <div class="clear"></div> </div> *} - {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} <div class="form-group"> {formlabel label="Note" for="description"} {forminput} |
