А у нас новый сайт ----------------> www.ph-ph.ru!
Finar.ru
web.finar.ru
video.finar.ru
Темы для BootstrapNew!

LocalTemplates

fmt=#titleInRemark

Шаблон для вывода листинга по заголовкам в диве 'remark'

(:if false:)
[[#titleInRemark]]
(:template first:)
(:div class='remark':)
'''FAQs:'''
(:template each:)
* [[{=$FullName}|{=$Title}]]
(:template last:)
(:divend:)
[[#titleInRemarkend]]

(:ifend:)

(:pagelist group={$Group}
fmt=#titleWithH3
Title="Заголовок" count=5:)

Заголовок

fmt=#titleWithH3

Шаблон для вывода листинга по заголовкам с датами, но с возможностью передать из pagelist-запроса параметр, становящегося предваряющим h3-заголовком

(:if false:)
[[#titleWithH3]]
(:template first:)
!!!{$$Title}
(:template each:)
* '-{=$Created}:
[[{=$FullName}|{=$Title}]]-'
[[#titleWithH3end]]
(:ifend:)

(:pagelist group={$Group}
fmt=#titleWithH3
Title="Заголовок" count=5:)

Заголовок

fmt=#themelist

Используется для служебного вывода существующих Тем. Выводит материалы в соответствии с Карта сайта по немного безумному алгоритму: если материал в WikiTrail, то с двойным отступом, а если нет - то с одинарным и с выделением жирным.

(:if false:)
[[#themelist]]
(:if ontrail SiteMap.SiteMap
{=$FullName}:)** {=$Name}
(:else:)*'''{=$Name}'''
[[#themelistend]]
(:ifend:)

(:pagelist group=Theme fmt=#themelist
count=6:)
  • {=$Name}

  • Backup
  • Cinema
  • Compression
  • Creative
  • DigitalSpace
  • FinarRu

fmt=#typelist

Просто ссылки на страницы через пробел

(:if false:)[[#typelist]]{=$Name}|
[[#typelistend]]
(:ifend:)

(:pagelist group=Type fmt=#typelist
count=5:)

Cooks| FAQ| ForSale| Guide| Lectures|

fmt=#categorylinks

Просто ссылки на страницы через пробел

(:if
false:)[[#categorylinks]][[{=$FullName}|+]]
[[#categorylinksend]]
(:ifend:)

(:pagelist group={$Group}
fmt=#categorylinks count=5:)

fmt=#themelayout

Выводит все материалы данной темы одним списком, с использованием полей ctime, title, description, PTV "type"

(:if false:)[[#themelayout]]
* {=$Created}: [[{=$FullName}|+]] |
'-{=$Description}-'
'^%bgcolor=#EEE%'''{=$TypeLinked}'''%%^'
[[#themelayoutend]]
(:ifend:)

(:pagelist group={$Group}
fmt=#themelayout count=5:)

fmt=#SiteMapThemesLayout

Выводит статьи под тегами на Карте Сайта

(:if false:)[[#SiteMapThemesLayout]]
* '-{=$Created}:
[[{=$FullName}|{=$Title}]]-'
'^%color=#AAA%'''(:if equal
{=$TypeLinked}
"":)статья(:else:){=$TypeName}(:ifend:)'''%%^'
[[#SiteMapThemesLayoutend]]
(:ifend:)

(:pagelist group={$Group}
fmt=#SiteMapThemesLayout count=5:)

{=$TypeName}'''^'

fmt=#SiteMapThemesNoLabelsLayout

Выводит статьи под тегами на Карте Сайта

(:if
false:)[[#SiteMapThemesNoLabelsLayout]]
* '-{=$Created}:
[[{=$FullName}|{=$Title}]]-'
[[#SiteMapThemesNoLabelsLayoutend]]
(:ifend:)

(:pagelist group={$Group}
fmt=#SiteMapThemesLayout count=5:)

Формы:

Комментарии, форма запроса

[[#dataform]]
(:div class="comment_post_block":)
''[++(:toggle show="Оставить комментарий " hide="Оставить комментарий:" commentpost:)++]''
(:div2 id="commentpost" class="comment_post_form":)
(:input pmform target=savedata:)
(:input default request=1 :)
(:input hidden author "{*$LastModifiedBy}" size=25 :)
(:input hidden title "{*$Title}" size=25 :)
(:input hidden ctime "{*$Created}" size=25 :)
(:input hidden csum "новый комментарий" size=25 :)
(:input hidden description "{*$Description}" size=25 :)
(:input textarea text rows=5 cols=50:) \\
Ваше имя: (:input text name:) \\
{$Captcha} -> (:input captcha:)

(:input submit name=post value="$[Отправить]" :)
(:input end:)
(:div2end:)
(:divend:)

[[#dataformend]]

Комментарии, формат поста ответов

[[#datapost]]
(:template defaults where=bottom :) 
(:template require name errmsg="$[Незакомментилось: представьтесь, пожалуйста]":)
(:template require text errmsg="$[Незакомментилось: напишите что-нибудь]":)
(:nl:)>>messagehead<<
!!!!!{$$name} &mdash; [-{$$CurrentTime}-]
>>messageitem<<
{$$text}
>><<
[[#datapostend]]

Комментарии к армии, форма запроса

[[#dataformarmy]]
(:div class="comment_post_form_no_float":)
(:input pmform target=savedata:)
(:input default request=1 :)
(:input hidden author "{*$LastModifiedBy}" size=25 :)
(:input hidden title "{*$Title}" size=25 :)
(:input hidden ctime "{*$Created}" size=25 :)
(:input hidden csum "новый комментарий" size=25 :)
(:input hidden description "{*$Description}" size=25 :)
(:input textarea text rows=5 cols=50:) \\
Ваше имя: (:input text name:) \\
{$Captcha} -> (:input captcha:)

(:input submit name=post value="$[Отправить]" :)
(:input end:)
(:divend:)

[[#dataformarmyend]]