summaryrefslogtreecommitdiff
path: root/list_contacts.php
AgeCommit message (Collapse)AuthorFilesLines
2026-06-11Introduce ContactPerson and ContactBusiness subclassesLester Caine1-6/+21
Splits the Contact class into ContactPerson (content_type_guid='contactperson') and ContactBusiness (content_type_guid='contactbusiness'), each using 'contact' as the shared package-level xref schema. Replaces the $isPerson/$00 xref hack with proper class identity via instanceof. - ContactPerson.php, ContactBusiness.php: new subclasses - Contact.php: loadXrefTypeList() reads type tags directly from liberty_xref; getAvailableTypeItems() for edit form (schema-driven with pre-upgrade fallback); getDisplayUrl() now points to display_contact.php - Type item codes: P01/P02 (person), B01-B04 (business, B01=Service new) - list_people.php, list_businesses.php: separate list pages per type - list_contacts.php: combined display-layer merge of both types - 5.0.3.php: upgrade script migrating existing data to new content types and codes - Templates: isPerson flag from instanceof; horizontal type checkboxes; list.tpl accepts $listTitle; menu adds People/Businesses entries Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02Rename list.php → list_contacts.php; add odd/even row pairs to listLester Caine1-22/+14
list_contacts.php: modern replacement with clean code, no dead session logic, referencing list.tpl. list.php: now a thin redirect for backward compatibility. list.tpl: alternate odd/even class on each contact's row pair. All internal references (display_contact, index, load_emails, menu, admin_xref_types) updated to list_contacts.php. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14php-cs-fixer tidies to php8.5 standardsLester Caine1-3/+2
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-5/+4
2016-02-07Move from Smarty2 to Smarty3 function stylelsces1-2/+2
2013-07-11Tidy commenting for phpdoc manuallsces1-5/+14
2010-11-03Import package again after stripping private data which should not have been ↵"Lester Caine ext:(%22)1-0/+30
commited