renamed: WinixModel -> WinixModelDeprecated (this class will be removed)
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()
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[if item_content_type_is "other"][item_print_content][else]
|
||||
[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]
|
||||
@@ -18,7 +18,7 @@
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
[item_print_content]
|
||||
[item.content.print_content]
|
||||
|
||||
[else]
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
[item_print_content]
|
||||
[item.content.print_content]
|
||||
|
||||
[else]
|
||||
[item_print_content]
|
||||
[item.content.print_content]
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
Reference in New Issue
Block a user