Subversion Repositories wimsdev

Rev

Rev 1231 | Rev 1390 | 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. !default wims_theme_image=$wims_theme
  6. !set wims_theme_version=1
  7. !set current_module=!replace / by , in $module
  8. !set module_path= !item 1 of $current_module
  9. !if $wims_hm_cnt!=0 or ($module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty)
  10. <div id="wimstopbox" style="background-color:$wims_ref_bgcolor;">
  11. <div class="wimsmenu">
  12. !for i_=1 to $wims_hm_cnt
  13.  <div class="topmenuitem">
  14.  !set 1_=!line $i_ of $wims_hm
  15.  !read oneitem.phtml $1_
  16.  </div>
  17. !next i_
  18.  
  19. !! -----------------------Insert "Permalien" --------------------------------
  20. !! Permalien / lecteur exportable : ces lignes permettent d'integrer facilement la page courante a un autre site :
  21.  
  22. !set current_module=!replace / by , in $module
  23. !set module_path= !item 1 of $current_module
  24.  
  25. !if $module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty
  26.         !set export_name=$wims_name_this_module
  27.         !set permalien=$wims_ref_name?module=$module
  28.  
  29. <div class="topmenuitem" id="header_export">
  30. <div id="lien_export_media" style="display:block">
  31.         <a href="#" 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>
  32. </div><!--lien_export_media-->
  33. <div id="export_media" style="display:none" align="left">
  34. <div align="center"> -- <strong>$wims_name_display $export_name $wims_name_on_your_site</strong>
  35. -- &nbsp; <a href="#" onclick="document.getElementById('export_media').style.display = 'none';document.getElementById('lien_export_media').style.display = 'block';">
  36. ($wims_name_mask_this)</a></div><!--wimstail-->
  37. <hr>
  38.  
  39.         <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)
  40.         <br>$wims_name_permalink $wims_name_for $export_name : <a href="$permalien">$permalien</a>
  41.         <hr>
  42.         <b>$wims_name_embeddable :</b> ($wims_name_copy_and_paste $wims_name_the_link $wims_name_on_your_site)<br>
  43.         <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) :
  44.         </small>
  45.         <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>
  46. </div><!--export_media-->
  47. </div><!--topmenuitem-->
  48.  
  49. !endif
  50. !!------------------------------------Fin de l'insert "Permalien" --------------------------
  51.  
  52.  
  53. </div><!--wimsmenu-->
  54. </div><!--wimstopbox-->
  55. !endif
  56. !if $module!=home or $wims_user!=
  57. <div id="wimsbodybox">
  58. <div id="wimspagebox">
  59. !endif
  60. <!-- end of header.phtml -->
  61.