diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-06 11:22:49 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-06 11:22:49 +0100 |
| commit | 2efbb78b7ceff6c369c2bee68c2a09270ce0fcde (patch) | |
| tree | 2d9f7778e23c5174d75264b343aa0116d1d2cc90 /templates | |
| parent | eb77765b4dd1e41f1365a53289d80408d112b491 (diff) | |
| download | contact-2efbb78b7ceff6c369c2bee68c2a09270ce0fcde.tar.gz contact-2efbb78b7ceff6c369c2bee68c2a09270ce0fcde.tar.bz2 contact-2efbb78b7ceff6c369c2bee68c2a09270ce0fcde.zip | |
edit.php: add expunge=1 handler; contact_date_bar: use edit.php?expunge=1
Replaces broken remove_contact.php link with edit.php?expunge=1 pattern,
consistent with other edit pages.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/contact_date_bar.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contact_date_bar.tpl b/templates/contact_date_bar.tpl index d8caca6..2fe464a 100755 --- a/templates/contact_date_bar.tpl +++ b/templates/contact_date_bar.tpl @@ -10,7 +10,7 @@ {/if} <a title="{tr}print{/tr}" href="print.php?content_id={$gContent->mInfo.content_id}">{biticon ipackage="icons" iname="document-print" iexplain="print"}</a> {if $gBitUser->hasPermission('p_contact_expunge')} - <a title="{tr}remove this contact{/tr}" href="remove_contact.php?content_id={$gContent->mInfo.content_id}">{biticon ipackage="icons" iname="user-trash" iexplain="delete"}</a> + {smartlink ititle="Delete Contact" ifile="edit.php" biticon="user-trash" content_id=$gContent->mInfo.content_id expunge=1} {/if} {/if} {* end print_page *} </div> {*end .floaticon *} |
