Subversion Repositories wimsdev

Rev

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

  1. <!-- begin of header.phtml -->
  2. !! Header menu bar definition.
  3. !nocache
  4. !set wims_theme_header=yes
  5.  
  6. !default wims_theme_icon=$class_theme_icon
  7. !default wims_theme_icon=standard
  8. !if _help isin $wims_session
  9.  <div id="wimsmhelp">
  10. !endif
  11. !if _exam isin $wims_session
  12.  <div id="wimsexam">
  13. !endif
  14. !set wims_theme_version=1
  15. !set current_module=!replace / by , in $module
  16. !set module_path= !item 1 of $current_module
  17. !if $wims_hm_cnt!=0 or ($module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty)
  18. <div id="wimstopbox" style="background-color:$wims_ref_bgcolor;">
  19. <div class="wimsmenu">
  20. !for i_=1 to $wims_hm_cnt
  21.  <span class="topmenuitem">
  22.  !set 1_=!line $i_ of $wims_hm
  23.  !read oneitem.phtml $1_
  24.  </span> <!--topmenuitem-->
  25. !next i_
  26.  
  27. !! -----------------------Insert "Permalien" --------------------------------
  28. !! Permalien / lecteur exportable : ces lignes permettent d'integrer facilement la page courante a un autre site :
  29.  
  30. !set current_module=!replace / by , in $module
  31. !set module_path= !item 1 of $current_module
  32.  
  33. !if $module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty
  34.         !set export_name=$wims_name_this_module
  35.         !set permalien=$wims_ref_name?module=$module
  36.  
  37. <div class="topmenuitem" id="header_export">
  38. <div id="lien_export_media" style="display:block">
  39.         <a href="#" class="about" onclick="document.getElementById('export_media').style.display = 'block';document.getElementById('lien_export_media').style.display = 'none';">$wims_name_display $export_name $wims_name_on_your_site</a>
  40. </div><!--lien_export_media-->
  41. <div id="export_media" style="display:none" align="left">
  42. <div align="center"> -- <strong>$wims_name_display $export_name $wims_name_on_your_site</strong>
  43. -- &nbsp; <a href="#" onclick="document.getElementById('export_media').style.display = 'none';document.getElementById('lien_export_media').style.display = 'block';">
  44. ($wims_name_mask_this)</a></div><!--wimstail-->
  45. <hr>
  46.  
  47.         <strong>$wims_name_permalink :</strong> ($wims_name_copy_and_paste $wims_name_the_link $wims_name_on_your_site $wims_name_or $wims_name_in_a_mail)
  48.         <br>$wims_name_permalink $wims_name_for $export_name : <a href="$permalien">$permalien</a>
  49.         <hr>
  50.         <b>$wims_name_embeddable :</b> ($wims_name_copy_and_paste $wims_name_the_link $wims_name_on_your_site)<br>
  51.         <small>$wims_name_display <strong>$export_name</strong> $wims_name_on_your_site ($wims_name_copy_and_paste $wims_name_the_code $wims_name_on_your_site) :
  52.         </small>
  53.         <textarea  style="vertical-align:middle" rows="3" cols="50" readonly="readonly" id="wims_embed_textarea" >&lt;iframe src="$permalien&+embededwindow=true" width="100%" height="100%">&lt;/iframe></textarea>
  54. </div><!--export_media-->
  55. </div><!--topmenuitem-->
  56.  
  57. !endif
  58. !!------------------------------------Fin de l'insert "Permalien" --------------------------
  59.  
  60.  
  61. </div><!--wimsmenu-->
  62. </div><!--wimstopbox-->
  63. !endif
  64. !if $module!=home or $wims_user!=
  65. <div id="wimsbodybox">
  66. <div id="wimspagebox">
  67. !endif
  68. <!-- end of header.phtml -->
  69.