Subversion Repositories wimsdev

Rev

Rev 1344 | Rev 1483 | 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_sh
  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. <div class="menuitem">
  33. <div id="wimslogo">
  34. !href module=home&special_parm=logo <img src="gifs/logo.gif" border=0 alt="WIMS logo">
  35. </div><!--wimslogo-->
  36. </div><!--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. <div 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. </div><!--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. <div class="menuitem">$V_cls</div><!--menuitem-->
  60. <div 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. </div><!--menuitem-->
  64. <div 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. </div><!--menuitem-->
  68. <div 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. </div><!--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. !!!href cmd=new&module=home&search_keywords=&search_category=S#searchform $im "gifs/themes/$wims_theme_image/sheet.gif" alt="sheet" title="sheet"> $V_sh
  118. </div><!--menuitem-->
  119. <div class="menuitem">
  120. !read ./adm/oneitem.phtml n_example,1,module=adm/class/classes&type=example
  121. !!!href module=adm/class/classes&type=example $im "gifs/themes/$wims_theme_image/n_example.gif" alt="n_example" title="n_example"> $V_ex
  122. </div><!--menuitem-->
  123. <div class="itemsep"></div>
  124. <div class="menuitem">
  125. !read ./adm/oneitem.phtml help,4,module=help/main
  126. !!!href module=help/main target=wims_help $im "gifs/themes/$wims_theme_image/help.gif" alt="help" title="help"> $N_Help
  127. </div><!--menuitem-->
  128. !!!if $gotcnt<=0 and $s_keywords=$empty
  129. !if $lang=fr
  130. <div class="menuitem">
  131. !read ./adm/oneitem.phtml dochelp,1,module=adm/doc
  132. !!!href module=adm/doc $im "gifs/themes/$wims_theme_image/dochelp.gif" alt="dochelp" title="dochelp"> $E_dochelp
  133. </div>
  134. <div class="menuitem">
  135. !read ./adm/oneitem.phtml faq,1,module=help/teacher/faq.fr
  136. !!!href module=help/teacher/faq.fr target=wims_help $im "gifs/themes/$wims_theme_image/faq.gif" alt="faq" title="faq"> $E_faq
  137. </div>
  138. !endif
  139. <div class="menuitem">
  140. !read ./adm/oneitem.phtml doctec,1,module=help/wimsdoc.en
  141. !!!href module=help/wimsdoc.en target=wims_help $im "gifs/themes/$wims_theme_image/doctec.gif" alt="doctec" title="doctec"> $E_doc
  142. </div>
  143. <div class="itemsep">$CR_1</div>
  144. <div class="menuitem">
  145. !read ./adm/oneitem.phtml createxo,1,module=adm/createxo
  146. !!!href module=adm/createxo $im "gifs/themes/$wims_theme_image/createxo.gif" alt="createxo" title="createxo"> $CR_OEF
  147. </div><div class="menuitem">
  148. !read ./adm/oneitem.phtml modtool,1,module=adm/modtool
  149. !!!href  $im "gifs/themes/$wims_theme_image/modtool.gif" alt="modtool" title="modtool"> $CR_mod
  150. </div>
  151. !set test_quicktool=!defof exists in wimshome/public_html/modules/adm/quicktool.$lang/version
  152. !if $test_quicktool=yes
  153. <div class="menuitem">
  154. !read ./adm/oneitem.phtml quicktool,1,cmd=new&module=adm/quicktool
  155. !!!href cmd=new&module=adm/quicktool $im "gifs/themes/$wims_theme_image/quicktool.gif" alt="quicktool" title="quicktool"> Quicktool
  156. </div>
  157. !endif
  158. !set test_latex2wims=!defof title in wimshome/public_html/modules/adm/latex2wims.$lang/INDEX
  159. !if $test_latex2wims!=
  160. <div class="menuitem">
  161. !read ./adm/oneitem.phtml latex2wims,1,cmd=new&module=adm/latex2wims
  162. !!!href cmd=new&module=adm/latex2wims $im "gifs/themes/$wims_theme_image/latex2wims.gif" alt="latex2wims" title="latex2wims"> Latex2wims
  163. </div>
  164. !endif
  165.  
  166. <div class="itemsep"></div>
  167. <div class="menuitem">
  168. !read ./adm/oneitem.phtml download,1,module=home&special_parm=download
  169. !!!href module=home&special_parm=download $im "gifs/themes/$wims_theme_image/download.gif" alt="download" title="download"> $E_src
  170. </div>  
  171. !if yes isin $wims_show_stat
  172.  <div class="menuitem">
  173. !read ./adm/oneitem.phtml stat,1,module=adm/stat/stat
  174. !!!href module=adm/stat/stat $im "gifs/themes/$wims_theme_image/stat.gif" alt="stat" title="stat"> $E_stat
  175.  </div>
  176.  <div class="menuitem">
  177.  !read ./adm/oneitem.phtml ref,1,module=adm/stat/referer
  178.  !!!href module=adm/stat/referer $im "gifs/themes/$wims_theme_image/ref.gif" alt="ref" title="ref"> $E_ref
  179.  </div>
  180. !endif
  181. <div class="itemsep"></div>
  182.  
  183. !!!endif
  184. </div><!--wimsmenu-->
  185. </div><!--wimsmenumodubox-->
  186. <div id="wimsmenubox" style="background-color:$wims_ref_bgcolor;">
  187. <div class="wimsmenu">
  188. <div class="menuitem">
  189. !read ./adm/oneitem.phtml pref,1,module=adm/light&phtml=useropts.phtml.$lang
  190. !!!href module=adm/light&phtml=useropts.phtml.$lang $im "gifs/themes/$wims_theme_image/pref.gif" alt="pref" title="pref"> $N_Pref
  191. </div><!--menuitem-->
  192. <div class="menuitem">
  193. !read ./adm/oneitem.phtml mirror,1,module=adm/light&phtml=mirror.phtml.$lang
  194. !!!href module=adm/light&phtml=mirror.phtml.$lang $im "gifs/themes/$wims_theme_image/mirror.gif" alt="mirror" title="mirror"> $N_Mirror
  195. </div><!--menuitem-->
  196. <div class="menuitem">
  197. !read ./adm/oneitem.phtml forum,1,module=adm/forum/forum
  198. !!!href module=adm/forum/forum $im "gifs/themes/$wims_theme_image/forum.gif" alt="forum" title="forum"> $N_Forum
  199. </div><!--menuitem-->
  200. </div><!--wimsmenu-->
  201. </div><!--wimsmenubox-->
  202. </div><!--wimsbodybox-->
  203. <div id="wimstailbox">
  204. <div class="wimstail">
  205. <div class="tailitem">WIMS-$wims_version $E_comp $wims_version_date.</div>
  206. <div class="tailitem">$E_manager
  207. !mailurl $wims_site_manager\
  208. WIMS: $httpd_HTTP_HOST
  209. .</div><!--tailitem-->
  210. !robottrap
  211. </div><!--wimstail-->
  212. </div><!--wimstailbox-->
  213. </body></html>
  214. <!-- end of visitor.phtml -->
  215.