Subversion Repositories wimsdev

Rev

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