(now we have O(1) time for selecting the right html template) added: winix function: template for selecting a template for an item (file or dir) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@636 e52654a7-88a9-db11-a3e9-0013d4bc506e
22 lines
524 B
HTML
Executable File
22 lines
524 B
HTML
Executable File
[if mount_page_is "subject"][if mount_page_is "info"]<h1 class="withinfo">[else]<h1>[end][item_subject]</h1>[end]
|
|
[if mount_page_is "info"][include "item_info.html"][end]
|
|
|
|
[if-one item_auth_is_image]
|
|
<img class="catimage" src="[item_link]/download/thumb" alt="[item_subject]">
|
|
[item_print_content]
|
|
[else]
|
|
[if-no item_auth_is_none]
|
|
{download}: <a href="[item_link]/download" title="[item_subject]">[item_subject]</a>
|
|
[item_print_content]
|
|
[else]
|
|
[item_print_content]
|
|
[end]
|
|
[end]
|
|
|
|
|
|
|
|
[include "item_options.html"]
|
|
|
|
|
|
|