[%# -*- coding: utf-8; mode: tt; srcfile: /adv/mktdir/tmpl/multemp/a2e_xhtml_tmpl.txt -*- -%]
[%# Time-stamp: <2015-10-15 07:22:54 phm> -%]
[% PROCESS 'litprog_tmpl.txt' -%]
[% programlang = 'html' -%]
[% DEFAULT ascend = 0 -%]
[% DEFAULT publik = 0 -%]
[% DEFAULT DEPLATE_VER = '0.8.4' -%]
[% DEFAULT kontakt_stem = 0 -%]
[% UNLESS urltopdir -%]
[% urltopdir = topdir -%]
[% END -%]
[% UNLESS urltopdok -%]
[% urltopdok = topdok -%]
[% END -%]
[% publik_orig = publik -%]
[% DEFAULT flag_height = 20 -%]
[% IF publik -%]
[% TRY -%]
[% USE File(topdir _ '/.htaccess') -%]
[% publik = 0 -%]
[% CATCH -%]
[% publik = publik_orig -%]
[% END -%]
[% END -%]
[% BLOCK langflags %][% END -%]
[% BLOCK formflags %] [% END -%]
[% BLOCK html_div %]
[% content %]
[% END -%]
[% BLOCK langforms -%]
[% PROCESS langflags %] [% PROCESS formflags %]
[% END -%]
[% BLOCK users_sidepanel -%]
[% RETURN IF kontakt_stem -%]
[% END -%]
[% BLOCK nav_sidebar -%]
[% END -%]
[% BLOCK navkol -%]
[% PROCESS formflags WRAPPER html_div class = 'formflags' IF ascend -%]
[% PROCESS nav_sidebar -%]
[% END -%]
[% BLOCK dokdes -%]
|
#IF: lok
[{arg:autor}, {arg:lok}, {arg:datum}]
#ENDIF
{get:descr}
|
[% END -%]
[% BLOCK newskol -%]
#IF: newskol
|
#ENDIF
[% END -%]
[% BLOCK trustlogo_kap -%]
[% RETURN UNLESS publik and ssl -%]
[% END -%]
[% BLOCK trustlogo_ped -%]
[% RETURN UNLESS publik -%]
[% IF ssl -%]
#IF: nav
#ENDIF
[% END -%]
[% END -%]
[% BLOCK dokkap -%]
#IF: newskol
#ENDIF
{get:title}
#IF: nav
[% PROCESS trustlogo_kap -%]
#ENDIF
[% END %][%# dokkap -%]
[% BLOCK prebody -%]
[% PROCESS dokkap -%]
[% END -%]
[% BLOCK dokped -%]
[% IF publik -%]
[% END -%]
{arg:url}
© {arg:datum}
{arg:autor_lab}
#IF: tradu
#GET: tradu_deklar
#ENDIF
[% END %][%# dokped -%]
[% BLOCK postbody_sub -%]
[% RETURN IF topsty == 'tra' %][%# no footer needed for plain translation style -%]
[% UNLESS ascend -%]
[% PROCESS newskol -%]
[% END -%]
[% PROCESS dokped %]
[% PROCESS trustlogo_ped -%]
[% END %][%# postbody_sub -%]
[% BLOCK postbody -%]
#IF: nav
[% PROCESS postbody_sub %]
#ENDIF
[% END %][%# postbody -%]
[% BLOCK title_subtitle -%]
{get:title}
{get:subtitle}
#IF: nav
[% IF ascend %][% PROCESS langflags WRAPPER html_div class = 'langflags' %][% ELSE %][% PROCESS langforms %][% END %]
#ENDIF
[% END %][%# title_subtitle -%]
[% BLOCK tra_prebody %][%# plain tranlslation style header -%]
[% PROCESS title_subtitle -%]
#IF: descr
{get:descr}
#ENDIF
[% END %][%# tra_prebody -%]
[% BLOCK dropdown -%]
[% END %][%# dropdown -%]
[% BLOCK a2e_prebody %][%# complex header normally used at a2e -%]
[% PROCESS title_subtitle -%]
#IF: nav
[% PROCESS navkol rowspan=2 UNLESS ascend -%]
[% PROCESS dokdes %]
[% PROCESS newskol rowspan=2 IF ascend -%]
[% PROCESS navkol IF ascend -%]
#ENDIF
[% END %][%# a2e_prebody -%]
[% WRAPPER prog -%]
[% PROCESS prebody -%]
[% SWITCH topsty -%]
[% CASE 'tra' -%]
[% PROCESS tra_prebody -%]
[% CASE -%]
[% PROCESS a2e_prebody -%]
[% END -%]
#BODY
[% PROCESS postbody -%]
[% END %][%# prog -%]
[% WRAPPER omitdoku -%]
[% END %][%# omitdoku -%]
|