Subversion Repositories wimsdev

Rev

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

  1. <!-- begin of visitor.phtml -->
  2. !! WIMS main entrance page theme.
  3. !nocache
  4. !if $module!=home
  5.  !exit
  6. !endif
  7. !!!!! provisoire
  8.  
  9. !set wims_name_n_participant=$V_stu
  10. !set wims_name_n_supervisor=$V_sup
  11. !set wims_name_n_example=$V_ex
  12. !set wims_name_mod_new=$N_New
  13. !set wims_name_browse=$N_browse2
  14. !set wims_name_sheet=$V_shs
  15. !set wims_name_dochelp=$E_dochelp
  16. !set wims_name_faq=$E_faq
  17. !set wims_name_doctec=$E_doc
  18. !set wims_name_download=$E_src
  19. !set wims_name_stat=$E_stat
  20. !set wims_name_ref=$E_ref
  21. !set wims_name_pref=$N_Pref
  22. !set wims_name_mirror=$N_Mirror
  23. !set wims_name_forum=$N_Forum
  24. !!!!
  25.  
  26. !set home_theme=yes
  27. !set table_colors=$wims_ref_bgcolor,$wims_ref_bgcolor
  28. </div>
  29. !!!set wims_headmenu_colcnt=5
  30. <div id="wimstopbox" style="background-color:$wims_ref_bgcolor;">
  31. <div class="wimsmenu">
  32. <span class="menuitem">
  33. <span id="wimslogo">
  34. !href module=home&special_parm=logo <img src="gifs/logo.gif" border=0 alt="WIMS logo">
  35. </span><!--wimslogo-->
  36. </span><!--menuitem-->
  37. !for i=1 to $wims_language_cnt
  38.  !set l=!word $i of $wims_site_languages
  39.  !if $l!=$lang
  40.   !if $wims_language_cnt>2 and $wims_language_cnt<6
  41.    !set l_=<small>$(lang_name_$l)</small>
  42.   !else
  43.    !if $wims_language_cnt<6
  44.     !set l_=$(lang_name_$l)
  45.    !else
  46.     !reset l_
  47.    !endif
  48.   !endif
  49. <span class="menuitem">
  50.   !href lang=$l&session=$wims_session.1&module=$module <img src="gifs/$l.gif" alt="$(Lang_name_$l)" height=16 border=0>$l_
  51.    <!-- don't remove this empty line or leading whitespace. Flag spacing depends on it. -->
  52. </span><!--menuitem-->
  53. !endif
  54. !next i
  55. <div class="itemsep"></div><!--itemsep-->
  56. </div><!--wimsmenu-->
  57. <div class="wimsmenu">
  58. !!!if $gotcnt<=0 and $s_keywords=$empty
  59. <span class="menuitem">$V_cls</span><!--menuitem-->
  60. <span class="menuitem">
  61. !read ./adm/oneitem.phtml n_participant,1,module=adm/class/classes&type=participant
  62. !!!href module=adm/class/classes&type=participant $im "gifs/themes/$wims_theme_image/n_participant.gif" alt="V_stu" title="V_stu"> $V_stu
  63. </span><!--menuitem-->
  64. <span class="menuitem">
  65. !read ./adm/oneitem.phtml n_supervisor,1,module=adm/class/classes&type=supervisor
  66. !! !href module=adm/class/classes&type=supervisor $im "gifs/themes/$wims_theme_image/n_supervisor.gif" alt="V_sup" title="V_sup"> $V_sup
  67. </span><!--menuitem-->
  68. <span class="menuitem">
  69. !read ./adm/oneitem.phtml n_example,1,module=adm/class/classes&type=example
  70. !! !href module=adm/class/classes&type=example $im "gifs/themes/$wims_theme_image/n_example.gif" alt="n_example" title="n_example"> $V_ex
  71. </span><!--menuitem-->
  72. !!<div class="menuitem">
  73. !! !href module=help/main&chapter=3 $N_help
  74. !!</div><!--menuitem-->
  75. !!!endif
  76. </div><!--wimsmenu-->
  77. </div>
  78. <div id="wimsbodybox">
  79. <div id="wimspagebox">
  80. <div class=wimsbody>
  81. <h1 class="wims_title">
  82.  <font size="+2"><b>$V_title</b></font>
  83.  <br><font size="-1">(WIMS) $N_at <a href="/">$httpd_HTTP_HOST</a></font>
  84. </h1>
  85.  
  86. !if $wims_ismanager!=0
  87. <center>
  88. !href module=adm/manage $N_manage
  89. </center> <p>
  90. !endif
  91.  
  92. !read ./form.phtml
  93. !read ./result.phtml
  94.  
  95. </div>
  96. !set wims_show_stat=!tolower $wims_show_stat
  97. !!!if yes isin $wims_show_stat
  98. !! !set span=4
  99. !!!else
  100. !! !set span=2
  101. !!!endif
  102. </div><!--wimspagebox-->
  103. <div id="wimsmenumodubox" style="background-color:$wims_ref_bgcolor;">
  104. <div class="wimsmenu">
  105. <div class="menuitem">
  106. !read ./adm/oneitem.phtml mod_new,1,module=adm/new
  107. !!!href module=adm/new $im "gifs/themes/$wims_theme_image/mod_new.gif" alt="new" title="new"> $N_New
  108. </div><!--menuitem-->
  109. !if $has_browse=yes
  110. <div class="menuitem">
  111. !read ./adm/oneitem.phtml browse,1,module=adm/browse.$lang&$browse_parm
  112. !!!href module=adm/browse.$lang&$browse_parm $im "gifs/themes/$wims_theme_image/browse.gif" alt="browse" title="browse"> $N_browse2
  113. </div><!--menuitem-->
  114. !endif
  115. <div class="menuitem">
  116. !read ./adm/oneitem.phtml sheet,1,cmd=new&module=home&search_keywords=&search_category=S#searchform
  117. </div><!--menuitem-->
  118. <div class="menuitem">
  119. !read ./adm/oneitem.phtml n_example,1,module=adm/class/classes&type=example
  120. </div><!--menuitem-->
  121. <div class="itemsep"></div>
  122. <div class="menuitem">
  123. !read ./adm/oneitem.phtml help,4,module=help/main,help
  124. </div><!--menuitem-->
  125. !!!if $gotcnt<=0 and $s_keywords=$empty
  126. !if $lang=fr
  127. <div class="menuitem">
  128. !read ./adm/oneitem.phtml dochelp,1,module=adm/doc
  129. </div>
  130. <div class="menuitem">
  131. !read ./adm/oneitem.phtml faq,1,module=help/teacher/faq.fr
  132. !!!href module=help/teacher/faq.fr target=wims_help $im "gifs/themes/$wims_theme_image/faq.gif" alt="faq" title="faq"> $E_faq
  133. </div>
  134. !endif
  135. <div class="menuitem">
  136. !read ./adm/oneitem.phtml doctec,1,module=help/wimsdoc.en
  137. !!!href module=help/wimsdoc.en target=wims_help $im "gifs/themes/$wims_theme_image/doctec.gif" alt="doctec" title="doctec"> $E_doc
  138. </div>
  139. <div class="itemsep">$CR_1</div>
  140. <div class="menuitem">
  141. !read ./adm/oneitem.phtml createxo,1,module=adm/createxo
  142. !!!href module=adm/createxo $im "gifs/themes/$wims_theme_image/createxo.gif" alt="createxo" title="createxo"> $CR_OEF
  143. </div><div class="menuitem">
  144. !read ./adm/oneitem.phtml modtool,1,module=adm/modtool
  145. !!!href  $im "gifs/themes/$wims_theme_image/modtool.gif" alt="modtool" title="modtool"> $CR_mod
  146. </div>
  147. !set test_quicktool=!defof exists in wimshome/public_html/modules/adm/quicktool.$lang/version
  148. !if $test_quicktool=yes
  149. <div class="menuitem">
  150. !read ./adm/oneitem.phtml quicktool,1,cmd=new&module=adm/quicktool
  151. !!!href cmd=new&module=adm/quicktool $im "gifs/themes/$wims_theme_image/quicktool.gif" alt="quicktool" title="quicktool"> Quicktool
  152. </div>
  153. !endif
  154. !set test_latex2wims=!defof title in wimshome/public_html/modules/adm/latex2wims.$lang/INDEX
  155. !if $test_latex2wims!=
  156. <div class="menuitem">
  157. !read ./adm/oneitem.phtml latex2wims,1,cmd=new&module=adm/latex2wims
  158. !!!href cmd=new&module=adm/latex2wims $im "gifs/themes/$wims_theme_image/latex2wims.gif" alt="latex2wims" title="latex2wims"> Latex2wims
  159. </div>
  160. !endif
  161.  
  162. <div class="itemsep"></div>
  163. <div class="menuitem">
  164. !read ./adm/oneitem.phtml download,1,module=home&special_parm=download
  165. !!!href module=home&special_parm=download $im "gifs/themes/$wims_theme_image/download.gif" alt="download" title="download"> $E_src
  166. </div>  
  167. !if yes isin $wims_show_stat
  168.  <div class="menuitem">
  169. !read ./adm/oneitem.phtml stat,1,module=adm/stat/stat
  170. !!!href module=adm/stat/stat $im "gifs/themes/$wims_theme_image/stat.gif" alt="stat" title="stat"> $E_stat
  171.  </div>
  172.  <div class="menuitem">
  173.  !read ./adm/oneitem.phtml ref,1,module=adm/stat/referer
  174.  !!!href module=adm/stat/referer $im "gifs/themes/$wims_theme_image/ref.gif" alt="ref" title="ref"> $E_ref
  175.  </div>
  176. !endif
  177. <div class="itemsep"></div>
  178.  
  179. !!!endif
  180. </div><!--wimsmenu-->
  181. </div><!--wimsmenumodubox-->
  182. <div id="wimsmenubox" style="background-color:$wims_ref_bgcolor;">
  183. <div class="wimsmenu">
  184. <span class="menuitem">
  185. !read ./adm/oneitem.phtml pref,1,module=adm/light&phtml=useropts.phtml.$lang
  186. !!!href module=adm/light&phtml=useropts.phtml.$lang $im "gifs/themes/$wims_theme_image/pref.gif" alt="pref" title="pref"> $N_Pref
  187. </span><!-- menuitem-->
  188. <span class="menuitem">
  189. !read ./adm/oneitem.phtml mirror,1,module=adm/light&phtml=mirror.phtml.$lang
  190. !!!href module=adm/light&phtml=mirror.phtml.$lang $im "gifs/themes/$wims_theme_image/mirror.gif" alt="mirror" title="mirror"> $N_Mirror
  191. </span><!-- menuitem-->
  192. <span class="menuitem">
  193. !read ./adm/oneitem.phtml forum,1,module=adm/forum/forum
  194. !!!href module=adm/forum/forum $im "gifs/themes/$wims_theme_image/forum.gif" alt="forum" title="forum"> $N_Forum
  195. </span><!-- menuitem-->
  196. </div><!--wimsmenu-->
  197. </div><!--wimsmenubox-->
  198. </div><!--wimsbodybox-->
  199. <div id="wimstailbox">
  200. <div class="wimstail">
  201. <div class="tailitem">WIMS-$wims_version $E_comp $wims_version_date.</div>
  202. <div class="tailitem">$E_manager
  203. !mailurl $wims_site_manager\
  204. WIMS: $httpd_HTTP_HOST
  205. .</div><!--tailitem-->
  206. !robottrap
  207. </div><!--wimstail-->
  208. </div><!--wimstailbox-->
  209. </body></html>
  210. <!-- end of visitor.phtml -->
  211.