some improvement in templates

(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
This commit is contained in:
2010-08-13 20:04:57 +00:00
parent 9a199cd834
commit f3cd3b88b9
40 changed files with 756 additions and 228 deletions

View File

@@ -1,5 +1,5 @@
[if mount_page_is "subject"]<h1[if mount_page_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[if mount_page_is "info"][dir_last_info][end]
[if mount_page_is "info"][include "dir_last_info.html"][end]
[if-one ticket_can_create]
@@ -56,7 +56,7 @@
[for item_tab]
<div class="threadbox[if-index item_tab odd] threadboxcolor[end]">
[if mount_thread_is "subject"]<h2[if mount_thread_is "info"] class="withinfo"[end]>[item_tab_subject]</h2>[end]
[if mount_thread_is "info"][item_tab_info][end]
[if mount_thread_is "info"][include "item_tab_info.html"][end]
[item_tab_print_content]
</div>
[end]