Subversion Repositories wimsdev

Rev

Rev 5427 | Rev 6118 | 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
1334 bpr 25
<div id="wims_modu_title1">
5601 obado 26
 <div class="wims_classname">$tit1_</div>
27
 <h1 class="wims_title">$tit2_</h1>
28
 !if $tit3_ !=
29
   <h2 class="wims_subtitle">$tit3_</h2>
30
 !endif
31
 <!--div class="wims_title_close">&nbsp; </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
39
<div class="wims_tag">&nbsp;</div>
1334 bpr 40
<div id="wims_modu_title2">
2929 obado 41
<h1 class="wims_title">$tit1_</h1>
1334 bpr 42
!if $tit2_!=
2929 obado 43
<h2 class="wims_subtitle">$tit2_</h2>
1334 bpr 44
!endif
4957 obado 45
<div class="wims_title_close">&nbsp; </div>
1334 bpr 46
</div><!--wims_modu_title2-->
4529 bpr 47
$enddiv
1334 bpr 48
!exit
1357 bpr 49
 
50
:3
51
!! in the original subtitle is of same size as title
4529 bpr 52
$begindiv
1357 bpr 53
<div id="wims_modu_title3">
1390 bpr 54
!if $tit1_!=
1357 bpr 55
<div class="wims_title">$tit1_</div>
1390 bpr 56
!endif
1357 bpr 57
!if $tit2_!=
58
<div class="wims_subtitle">$tit2_</div>
59
!endif
4957 obado 60
<div class="wims_title_close">&nbsp; </div>
61
</div><!--wims_modu_title3-->
4529 bpr 62
$enddiv
1357 bpr 63
!exit
64