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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user