Rev 5601 | Rev 7077 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1334 | bpr | 1 | !!# en-tête des classes de manière normalisée |
2 | !!# wims_read_parm: |
||
3 | !!# 1: presentation pour \ |
||
4 | classname\ |
||
5 | titre du module\ |
||
6 | sous-titre |
||
7 | !!# 2: titre\ |
||
8 | sous-titre en petit\ |
||
9 | |||
10 | !distribute line $wims_read_parm into number_,tit1_,tit2_,tit3_,tit4_ |
||
11 | |||
5427 | guerimand | 12 | !!if $wims_user!=supervisor |
13 | !! !read adm/chat.phtml |
||
14 | !!endif |
||
15 | |||
4529 | bpr | 16 | !if $wims_typename!=$empty |
17 | !distribute items <div id="wims_$wims_typename">,</div><!--wims_$wims_typename--> into begindiv,enddiv |
||
18 | !endif |
||
19 | |||
1334 | bpr | 20 | !goto $number_ |
21 | |||
4013 | bpr | 22 | :1 |
5601 | obado | 23 | !! originaly, wims_classname is smaller than title |
4529 | bpr | 24 | $begindiv |
6118 | obado | 25 | <div id="wims_modu_title1"> |
26 | <div class="wims_classname">$tit1_</div> |
||
27 | <h1 class="wims_title">$tit2_</h1> |
||
28 | !if $tit3_ != |
||
5601 | obado | 29 | <h2 class="wims_subtitle">$tit3_</h2> |
6118 | obado | 30 | !endif |
31 | <!--div class="wims_title_close"> </div--> |
||
32 | </div> |
||
4957 | obado | 33 | $enddiv |
1334 | bpr | 34 | !exit |
35 | |||
36 | :2 |
||
1357 | bpr | 37 | !! in the original, subtitle is tiny |
4529 | bpr | 38 | $begindiv |
6118 | obado | 39 | <div class="wims_tag"> </div> |
40 | <div id="wims_modu_title2"> |
||
41 | <h1 class="wims_title">$tit1_</h1> |
||
42 | !if $tit2_!= |
||
43 | <h2 class="wims_subtitle">$tit2_</h2> |
||
44 | !endif |
||
45 | <div class="wims_title_close"> </div> |
||
46 | </div><!--wims_modu_title2--> |
||
4529 | bpr | 47 | $enddiv |
1334 | bpr | 48 | !exit |
1357 | bpr | 49 | |
50 | :3 |
||
6118 | obado | 51 | !! in the original, subtitle is of same size as title |
4529 | bpr | 52 | $begindiv |
6118 | obado | 53 | <div id="wims_modu_title3"> |
54 | !if $tit1_!= |
||
55 | <div class="wims_title">$tit1_</div> |
||
56 | !endif |
||
57 | !if $tit2_!= |
||
58 | <div class="wims_subtitle">$tit2_</div> |
||
59 | !endif |
||
60 | <div class="wims_title_close"> </div> |
||
61 | </div><!--wims_modu_title3--> |
||
4529 | bpr | 62 | $enddiv |
1357 | bpr | 63 | !exit |
64 |