summaryrefslogtreecommitdiff
path: root/edit.php
AgeCommit message (Collapse)AuthorFilesLines
2026-05-31Add add_person/add_business flows; tidy contact view/edit for typeLester Caine1-1/+8
- add_person.php + add_person.tpl: minimal form, auto-injects $00 - add_business.php + add_business.tpl: org name + $02+ type checkboxes - menu_contact.tpl: replace generic edit link with Add Person / Add Business - Contact.php: fix title overwrite (org no longer clobbers person name); fix null trim on organisation; fix $00 type xref stored correctly - edit.php: isPerson flag; xref groups loaded; type list filtered $02+ for businesses - edit.tpl: person/business field visibility; tabbed xref block at bottom of Details tab - edit_type_header.tpl: value fixed to {$type.item}; $00/$01 filtered out - display_contact.tpl: person/business field selection; note above addresses; no-addresses fallback removed; allow_edit=false on xref tabs - display_type_header.tpl: heading Personal/Business Contact; $02+ types only - contact_date_bar.tpl: remove Add crossref shortcut (now in edit tabs) - view_xref_*_item.tpl: dates and edit actions gated on $xrefAllowEdit Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22Remove xref methods now in LibertyContent; update callersLester Caine1-1/+1
Nine methods deleted from Contact (getContactGroupList, getContactSourceList, getXrefTypeList, getXrefFormatList, loadContentTypeList, loadXrefList, loadXref, storeXref, stepXref) — all now inherited from LibertyContent. Contact sets $mXrefTypeKey = 'contact_types' so loadXrefTypeList() continues to store under the key templates expect. load() updated to call loadXrefTypeList(). Page files updated: getContactGroupList → getXrefGroupList, getContactSourceList → getXrefSourceList. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14php-cs-fixer tidies to php8.5 standardsLester Caine1-3/+3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2025-08-24Just a crude merging of the PHP7 code base with the PHP8.4 versionlsces1-18/+19
2016-02-07Move from Smarty2 to Smarty3 function stylelsces1-3/+3
2014-05-31Tidy bitredirect foldbackslsces1-5/+3
2012-08-06Bring in line with getDisplayUrl changeslsces1-2/+3
2012-04-15Tidy up to remove 'STRICT' warningsLester Caine ext:(%22)1-2/+2
Split static and dynamic use of getDisplayUrl Create getContentUrl as the instantiated version load parameters need to be identical across all classes
2010-11-03Import package again after stripping private data which should not have been ↵"Lester Caine ext:(%22)1-0/+79
commited