summaryrefslogtreecommitdiff
path: root/templates/view_xref_image_item.tpl
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-29 15:03:00 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-29 15:03:00 +0100
commitc401680a7cbe4ffffbcd496fa671e319a4967fc1 (patch)
tree0afb429c1bf01affd896fb3480dc3f18408410c0 /templates/view_xref_image_item.tpl
parent3d94c3dfe203edeb25b42466733672aff9fca89f (diff)
downloadliberty-c401680a7cbe4ffffbcd496fa671e319a4967fc1.tar.gz
liberty-c401680a7cbe4ffffbcd496fa671e319a4967fc1.tar.bz2
liberty-c401680a7cbe4ffffbcd496fa671e319a4967fc1.zip
Standardise xref templates to _item naming; add value and group templates
- 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 <noreply@anthropic.com>
Diffstat (limited to 'templates/view_xref_image_item.tpl')
-rw-r--r--templates/view_xref_image_item.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/view_xref_image_item.tpl b/templates/view_xref_image_item.tpl
new file mode 100644
index 0000000..9effe61
--- /dev/null
+++ b/templates/view_xref_image_item.tpl
@@ -0,0 +1 @@
+{include file="bitpackage:contact/view_xref_image_record.tpl"}