moved some ezc functions from templates/item.cpp to Item and ItemContent

removed: templates/item.cpp
updated: some html templates which use [item] or [item_tab]
removed some old html templates: item_info.html and itam_tab_info.html
This commit is contained in:
2021-07-06 21:52:29 +02:00
parent 746aa41111
commit 9d65d931d0
24 changed files with 67 additions and 1297 deletions

View File

@@ -5,7 +5,7 @@
[if request.is_item]
[if any request.is_item item_filetype_is_image]
[if any request.is_item item.content.filetype_is_image]
[if winix_function_param_is "thumb"]
<p>{imgcrop_crop_only_thumb_info}</p>
@@ -80,7 +80,7 @@
<td data-uk-lightbox="animation: slide">
<a href="[item_tab.link]">
<img src="[item_tab.link][if item_tab.has_thumb]/-/thumb[end]" alt="[item_tab.subject]">
<img src="[item_tab.link][if item_tab.content.has_thumb]/-/thumb[end]" alt="[item_tab.subject]">
</a>
</td>