Rev 4529 | Rev 5427 | 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 | |||
4529 | bpr | 12 | !if $wims_typename!=$empty |
13 | !distribute items <div id="wims_$wims_typename">,</div><!--wims_$wims_typename--> into begindiv,enddiv |
||
14 | !endif |
||
15 | |||
1334 | bpr | 16 | !goto $number_ |
17 | |||
4013 | bpr | 18 | :1 |
19 | !! in the original wims_classname is smaller than title |
||
4529 | bpr | 20 | $begindiv |
1334 | bpr | 21 | <div id="wims_modu_title1"> |
22 | <div class="wims_classname">$tit1_</div> |
||
23 | <h1 class="wims_title">$tit2_</h1> |
||
24 | !if $tit3_ != |
||
2928 | obado | 25 | <h2 class="wims_subtitle">$tit3_</h2> |
1334 | bpr | 26 | !endif |
4957 | obado | 27 | <div class="wims_title_close"> </div> |
1334 | bpr | 28 | </div><!--wims_modu_title1--> |
4957 | obado | 29 | $enddiv |
1334 | bpr | 30 | !exit |
31 | |||
32 | :2 |
||
1357 | bpr | 33 | !! in the original, subtitle is tiny |
4529 | bpr | 34 | $begindiv |
35 | <div class="wims_tag"> </div> |
||
1334 | bpr | 36 | <div id="wims_modu_title2"> |
2929 | obado | 37 | <h1 class="wims_title">$tit1_</h1> |
1334 | bpr | 38 | !if $tit2_!= |
2929 | obado | 39 | <h2 class="wims_subtitle">$tit2_</h2> |
1334 | bpr | 40 | !endif |
4957 | obado | 41 | <div class="wims_title_close"> </div> |
1334 | bpr | 42 | </div><!--wims_modu_title2--> |
4529 | bpr | 43 | $enddiv |
1334 | bpr | 44 | !exit |
1357 | bpr | 45 | |
46 | :3 |
||
47 | !! in the original subtitle is of same size as title |
||
4529 | bpr | 48 | $begindiv |
1357 | bpr | 49 | <div id="wims_modu_title3"> |
1390 | bpr | 50 | !if $tit1_!= |
1357 | bpr | 51 | <div class="wims_title">$tit1_</div> |
1390 | bpr | 52 | !endif |
1357 | bpr | 53 | !if $tit2_!= |
54 | <div class="wims_subtitle">$tit2_</div> |
||
55 | !endif |
||
4957 | obado | 56 | <div class="wims_title_close"> </div> |
57 | </div><!--wims_modu_title3--> |
||
4529 | bpr | 58 | $enddiv |
1357 | bpr | 59 | !exit |
60 |