added: WinixModel (models/winixmodel.h|cpp) - a class inheriting from morm::WinixModel, we have methods such as: get_config(), get_logger(), get_request() and this class will be a base class for our models added: WinixModelConnector (models/winixmodelconnector.h|cpp) - a class inheriting from morm::WinixModelConnector this connector we are using instead of morm::ModelConnector - there are pointers to winix objects there (config, request, log) added to Request: Ezc::Models models removed from TemplatesFunctions: Ezc::Models ezc_models; changed: ImgCrop winix functions is using its own item_tab vector now (not finished yet) added: Item::is(), Item::link(), ItemContent::print_content()
41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
[if item_content_type_is "other"][item.content.print_content][else]
|
|
|
|
[if false]
|
|
[if mount_page_arg_is "subject"][if mount_page_arg_is "info"]<h1 class="withinfo">[else]<h1>[end][item_subject]</h1>[end]
|
|
[if mount_page_arg_is "info"][include "item_info.html"][end]
|
|
[end]
|
|
|
|
[if one item_filetype_is_image]
|
|
|
|
<a href="[item_link]"><img class="catimage" [if not item_has_thumb]height="100"[end] src="[item_link]/download[if item_has_thumb]/thumb[end]" alt="[item_subject]"></a>
|
|
|
|
[# we use pre.nowinixbreak to tell the html_filter not to put a blank space into those urles]
|
|
|
|
<div>
|
|
<pre class="nowinixbreak">
|
|
{cat_image_url}: [item_link]<br>
|
|
{cat_image_thumb_url}: [item_link]/-/thumb
|
|
</pre>
|
|
</div>
|
|
|
|
[item.content.print_content]
|
|
|
|
[else]
|
|
|
|
[if not item_filetype_is_none]
|
|
{download}: <a href="[item_link]/download" title="[item_subject]">[item_subject]</a>
|
|
<div>
|
|
<pre class="nowinixbreak">
|
|
{cat_file_url}: [item_link]<br>
|
|
</pre>
|
|
</div>
|
|
|
|
[item.content.print_content]
|
|
|
|
[else]
|
|
[item.content.print_content]
|
|
[end]
|
|
|
|
[end]
|
|
[end]
|