Subversion Repositories wimsdev

Rev

Rev 6118 | Rev 10622 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  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.  
  12. !!if $wims_user!=supervisor
  13. !! !read adm/chat.phtml
  14. !!endif
  15.  
  16. !if $wims_typename!=$empty
  17.   !distribute items <div id="wims_$wims_typename">,</div><!--wims_$wims_typename--> into begindiv,enddiv
  18. !endif
  19.  
  20. !goto $number_
  21.  
  22. :1
  23. !! originaly, wims_classname is smaller than title
  24. $begindiv
  25.  <div id="wims_modu_title1" class="title_box">
  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>
  33. $enddiv
  34. !exit
  35.  
  36. :2
  37. !! in the original, subtitle is tiny
  38. $begindiv
  39.  <div id="wims_modu_title2" class="title_box">
  40.   <h1 class="wims_title">$tit1_</h1>
  41.   !if $tit2_!=
  42.    <h2 class="wims_subtitle">$tit2_</h2>
  43.   !endif
  44.  <br class="clearall"/>
  45.  </div><!--wims_modu_title2-->
  46.  
  47. $enddiv
  48. !exit
  49.  
  50. :3
  51. !! in the original, subtitle is of same size as title
  52. $begindiv
  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-->
  62. $enddiv
  63. !exit
  64.  
  65.