Subversion Repositories wimsdev

Rev

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

  1. <!-- begin of $wims_theme/visitor.phtml -->
  2. !! WIMS main entrance page theme.
  3. !nocache
  4. !if $module!=home
  5.  !exit
  6. !endif
  7.  
  8. !set wims_name_browse=$N_browse2
  9.  
  10. !set home_theme=yes
  11. !set table_colors=$wims_ref_bgcolor,$wims_ref_bgcolor
  12. </div>
  13. !!!set wims_headmenu_colcnt=5
  14. <div id="wimsfrontpage">
  15.  
  16.         <div id="wimstopbox">
  17.  
  18.         !!Site Title
  19.                 !read themes/$wims_theme/widgets/site_title.phtml
  20.  
  21.                 !!Institution logo
  22.                 !read themes/$wims_theme/widgets/institution_logo.phtml        
  23.  
  24.                 !!Language Selector
  25.                 !read themes/$wims_theme/widgets/language_selector.phtml
  26.  
  27.                
  28.                 <br class="spacer"/>
  29.  
  30.                 <!--wimsmenu menuglobal-->
  31.                
  32.                 <ul class="wimsmenu menuglobal">
  33.                         !!!if $gotcnt<=0 and $s_keywords=$empty
  34.                         <li class="menuitem">
  35.                         !set wims_ref_class=home
  36.                         !href module=home $wims_name_home
  37.                         </li><!--menuitem-->
  38.                         <!--
  39.                         <span class="menuitem">
  40.                         !read ./adm/oneitem.phtml n_participant,1,module=adm/class/classes&type=participant
  41.                         </span>
  42.                         -->
  43.                         <li class="menuitem">
  44.                         !read ./adm/oneitem.phtml n_supervisor,1,module=adm/class/classes&type=supervisor
  45.                         !! !href module=adm/class/classes&type=supervisor $im "gifs/themes/$wims_theme_image/n_supervisor.gif" alt="V_sup" title="V_sup"> $V_sup
  46.                         </li><!--menuitem-->
  47.                        
  48.                         <!--
  49.                         <span class="menuitem">
  50.                         !read ./adm/oneitem.phtml n_example,1,module=adm/class/classes&type=example
  51.                         !! !href module=adm/class/classes&type=example $im "gifs/themes/$wims_theme_image/n_example.gif" alt="n_example" title="n_example"> $V_ex
  52.                         </span>
  53.                         !!!endif
  54.                         -->    
  55.                         <li class="menuitem">
  56.                         !read ./adm/oneitem.phtml help,4,module=help/main,help
  57.                         <!--!read ./adm/oneitem.phtml help,4,module=themes/$wims_theme/help/main,help-->       
  58.                         </li>          
  59.                         !if $class_cas_auth!=$empty
  60.                           <li class="menuitem">
  61.                         !!FIXME this line does not work
  62.                          !! !read adm/class/cas_logout
  63.                           !set url = $wims_ref_name?cmd=close&module=home&session=$wims_session&class_auth=
  64.                           <a href="$class_cas_auth/logout?service=$url">$wims_name_cas_logout</a>
  65.                          </li>
  66.                          !endif          
  67.                 </ul><!--wimsmenu-->
  68.         </div><!-- fin de wimstopbox-->
  69.  
  70.         <div id="wimsbodybox">                         
  71.                 <div id="wimspagebox">
  72.                         <div class="wimsbody">
  73.                        
  74.                                 !if $wims_ismanager!=0
  75.                                 <p style="text-align:center;">
  76.                                  !href module=adm/manage $N_manage
  77.                                 </p>
  78.                                 !endif
  79.                                
  80.                                 <!--Contenu de la page d'accueil-->
  81.                                
  82.                         <!--Recherche exercices-->
  83.                         !read themes/$wims_theme/widgets/search_engine.phtml
  84.                         <!--Recherche classes-->
  85.                         !read themes/$wims_theme/widgets/search_classe.phtml
  86.                                
  87.                                 <br class="spacer"/>
  88.                                
  89.                                 <!--Recherche avancée exercices
  90.                                 !read themes/$wims_theme/lang/home.phtml.fr-->
  91.                                
  92.                                
  93.                                 <!--Résultats recherche exercices-->
  94.                                 !if $s_category=V
  95.                                  !read ./front.phtml
  96.                                 !else
  97.                                  !read ./result.phtml
  98.                                 !endif
  99.                                
  100.                         </div><!--end wimsbody-->
  101.                 </div><!--wimspagebox-->
  102.                        
  103.                 !set wims_show_stat=!tolower $wims_show_stat   
  104.                        
  105.         </div><!--wimsbodybox-->
  106.                                
  107.         !read themes/$wims_theme/widgets/menubox.phtml
  108.  
  109.         !read themes/$wims_theme/widgets/tailbox.phtml
  110.  
  111. </div><!--wimsfrontpage-->
  112.  
  113.  
  114. </body>
  115. </html>
  116. <!-- end of $wims_theme/visitor.phtml -->
  117.