<feed xmlns='http://www.w3.org/2005/Atom'>
<title>liberty/templates/view_xref_address_record.tpl, branch master</title>
<subtitle>Bitweaver liberty package repository
</subtitle>
<id>https://git.rdm1.uk/liberty/.git/atom?h=master</id>
<link rel='self' href='https://git.rdm1.uk/liberty/.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/'/>
<updated>2026-05-29T14:03:00Z</updated>
<entry>
<title>Standardise xref templates to _item naming; add value and group templates</title>
<updated>2026-05-29T14:03:00Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-29T14:03:00Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/commit/?id=c401680a7cbe4ffffbcd496fa671e319a4967fc1'/>
<id>urn:sha1:c401680a7cbe4ffffbcd496fa671e319a4967fc1</id>
<content type='text'>
- Rename all view_xref_*_record.tpl → view_xref_*_item.tpl throughout
- LibertyContent: getXrefRecordTemplate/ListTemplate/EditTemplate use _item
  naming with three-level fallback (pkg/guid subdir → pkg root → liberty);
  getXrefRecordTemplate falls back to text_item if template file not found;
  getXrefEditTemplate checks liberty _item before generic edit_xref.tpl
- list_xref.tpl: assign _rowTpl before method call to avoid Smarty section
  variable resolution issue inside PHP method call arguments
- New templates: view_xref_value_item.tpl, edit_xref_value_item.tpl for
  simple numeric xref items (xkey field, not data)

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Allow xref tabs to suppress edit/delete buttons via allow_edit=false</title>
<updated>2026-05-27T19:20:11Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-27T19:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/commit/?id=2fb898ce714e282f5dfca365fe52abc15437f7ef'/>
<id>urn:sha1:2fb898ce714e282f5dfca365fe52abc15437f7ef</id>
<content type='text'>
list_xref.tpl: accept allow_edit param; assign $xrefAllowEdit for record
templates; hide Edit column header when allow_edit is false.
view_xref_*_record.tpl (8 files): gate hasUpdatePermission and
hasExpungePermission checks on $xrefAllowEdit|default:true so callers
can render xref data read-only without altering user permissions.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add generic xref record templates and sub-template rendering to liberty</title>
<updated>2026-05-25T15:56:05Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-25T15:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/commit/?id=98a222ddbaa5ca0dc7d914d4912af8055d46dbc4'/>
<id>urn:sha1:98a222ddbaa5ca0dc7d914d4912af8055d46dbc4</id>
<content type='text'>
list_xref.tpl now uses 7-column layout (Type/Link/Key/Value/Date/Updated/
Edit) and delegates row rendering to view_xref_{template}_record.tpl,
matching the template name stored in liberty_xref_source. Eight generic
record templates added (text, contact, phone, address, date, bank, sig,
locate) using hasUpdatePermission()/hasExpungePermission() throughout.

edit_xref.php gains expunge/stepXref handling for Delete and Restore
actions, with permission checks scoped per action branch.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
