;; Ceskyweb CMS 'Aladin' template for templating system ;; by: Michal Caplygin [michal.caplygin@ceskyweb.com] ;; last update: skoro furt (možná 2007-03-15 18:22:46 ) ;; indent: 1 (! muhehe :] ) ;; pozn: blokovým příkazům typu "test" se za uzavírací tag ;; přidává comment s attributama, které se testovaly ; [Macro definition] ;; CMSkovy attributy ; source, měly by mít asi to samý %source%=@C source=,source=,,current;item;root;index;"$systemDate$"," %valueSource%=@C valueSource=,valueSource=,,current;item;root;index;"$systemDate$"," %valueASource%=@C valueASource=,valueASource=,,current;item;root;index;"$systemDate$"," %valueBSource%=@C valueBSource=,valueBSource=,,current;item;root;index;"$systemDate$"," ; %prop%=@C prop=,,,parent;objectName;typeName;content;"content.count";location;date, %content%=@C content,,,current;item;root;index, %variable%=@C var=,,,current;root;item, ; %dateFormat%=@C format=,format=,,"yyyy-MM-dd'T'HH:mm:ss.SSSZ";"yyyy-MM-dd";"yyyy-M-dd"," %numberFormat%=@C format=,format=,,"#,##0.##;#"," %locale%=@C locale(planovano)=,locale=,,"cs-CZ";"sk-SK";"en-US";"en-GB";"de-DE";"de-AT"," %sortBy%=@C sortBy=,sortBy=,,position;order;menuPosiotion;"-date";date;objectName;typeName;index," ; %maxItems%=@C maxItems=,maxItems=,,1;2;3;4;5;6;7;8;9;10;20," %path%=@E path=,path=,,," %name%=@E name=,name=,,," %item%=@E item=,item=,item,," %valueA%=@E valueA=,valueA=,,," %valueB%=@E valueB=,valueB=,,," ; bulíny %parseAsReference%=@K parseAsReference="true",parseAsReference="true" %noescape%=@K |noescape,|noescape ;; htmlkovy attributy %id%%=@E id=,id=,,header;footer;menu;nav;content;cont," %class%=@E class=,class=,,header;footer;section;nav;container;menu;navig;navigation;aside;copyright;error;example;issue;note;search;warning;dialog," ; ; ; ; obecniny ; [ . |B properta (bez tečky)] %prop% ; [%-- |B comment] <%-- §| --%> ; [${} |B výpis proměnné]*Shift+Ctrl+X ${%variable%§|%noescape%} ; ; ; <...> ; [alterItTpl |B sudá itmTpl] ; [itemTpl |B itemTpl] ; [commonItTpl |B vždy po itemT/altT] ; [separatorTpl |B mezi iteracemi] ; [isNotNullTpl |B není] §| ; [isNullTpl |B je] §| ; [notEqTpl |B různá] §| ; [equalTpl |B shodná] §| ; [lessTpl |B menší] §| ; [greaterTpl |B větší] §| ; [lessOrEqTpl |B menší nebo shodná] §| ; [greaterOrEqTpl |B větší nebo shodná] §| ; ; ; ; [callableTpl |B volatelná šablona] <%-- %name% --%> ; [callTpl |B volání šablony] |§ ; [defS |B definice attributem source] |§ ; [defC |B definice obsahem tagu] §%content%| ; [write |B write] |§ ; [iterate |B iterátor] <%-- %source% --%> ; [repeater |B repeater] <%-- %source% --%> ; [test1 |B test1] §| <%-- %valueSource% --%> ; [test2 |B test2] §| <%-- %valueASource% %valueA% ? %valueBSource% %valueB% --%> ; [include |B include] |§ ; [dateFormat |B datumový formát] |§ ; [numberFormat |B číselný formát] |§ ; ; ; ( copypaste ) ; [xcallableTpl |B volatelná šablona] <%-- %name% --%> ; [xcallTpl |B volání šablony] |§ ; [xdefS |B definice attributem source] |§ ; [xdefC |B definice obsahem tagu] §%content%| ; [xwrite |B write] |§ ; [xiterate |B iterátor] <%-- %source% --%> ; [xrepeater |B repeater] <%-- %source% --%> ; [xtest1 |B test1] §| <%-- %valueSource% --%> ; [xtest2 |B test2] §| <%-- %valueASource% %valueA% ? %valueBSource% %valueB% --%> ; [xinclude |B include] |§ ; [xdateFormat |B datumový formát] |§ ; [xnumberFormat |B číselný formát] |§ ; ; ;; EOF