Subversion Repositories wimsdev

Rev

Rev 13084 | 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
7914 bpr 2
!!# wims_read_parm:
1334 bpr 3
!!# 1: presentation pour \
4
classname\
5
titre du module\
6
sous-titre
7
!!# 2: titre\
8
sous-titre en petit\
9
 
7914 bpr 10
 
1334 bpr 11
!distribute line $wims_read_parm into number_,tit1_,tit2_,tit3_,tit4_
12
 
5427 guerimand 13
!!if $wims_user!=supervisor
14
!! !read adm/chat.phtml
15
!!endif
16
 
4529 bpr 17
!if $wims_typename!=$empty
18
  !distribute items <div id="wims_$wims_typename">,</div><!--wims_$wims_typename--> into begindiv,enddiv
19
!endif
7914 bpr 20
 
1334 bpr 21
!goto $number_
22
 
7914 bpr 23
:1
24
!! originaly, wims_classname is smaller than title
4529 bpr 25
$begindiv
7077 obado 26
 <div id="wims_modu_title1" class="title_box">
6118 obado 27
  <div class="wims_classname">$tit1_</div>
28
  <h1 class="wims_title">$tit2_</h1>
7914 bpr 29
  !if $tit3_ !=
5601 obado 30
   <h2 class="wims_subtitle">$tit3_</h2>
6118 obado 31
  !endif
32
  <!--div class="wims_title_close">&nbsp; </div-->
33
 </div>
4957 obado 34
$enddiv
1334 bpr 35
!exit
36
 
37
:2
1357 bpr 38
!! in the original, subtitle is tiny
4529 bpr 39
$begindiv
7077 obado 40
 <div id="wims_modu_title2" class="title_box">
6118 obado 41
  <h1 class="wims_title">$tit1_</h1>
7914 bpr 42
  !if $tit2_!=
6118 obado 43
   <h2 class="wims_subtitle">$tit2_</h2>
44
  !endif
17170 bpr 45
 <br class="clearall">
13084 obado 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
7914 bpr 57
  !if $tit2_!=
6118 obado 58
   <div class="wims_subtitle">$tit2_</div>
59
  !endif
17170 bpr 60
  <br class="clearall">
13084 obado 61
 </div><!-- wims_modu_title3 -->
4529 bpr 62
$enddiv
1357 bpr 63
!exit