Subversion Repositories wimsdev

Rev

Rev 6118 | Rev 7914 | 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
7077 obado 25
 <div id="wims_modu_title1" class="title_box">
6118 obado 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">&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
7077 obado 39
 <div id="wims_modu_title2" class="title_box">
6118 obado 40
  <h1 class="wims_title">$tit1_</h1>
41
  !if $tit2_!=
42
   <h2 class="wims_subtitle">$tit2_</h2>
43
  !endif
7077 obado 44
 <br class="clearall"/>
6118 obado 45
 </div><!--wims_modu_title2-->
7077 obado 46
 
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">&nbsp; </div>
61
 </div><!--wims_modu_title3-->
4529 bpr 62
$enddiv
1357 bpr 63
!exit
64