Subversion Repositories wimsdev

Rev

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

  1. !read adm/language lang/names.phtml
  2.  
  3. !set wims_html_header=!append line <style>\
  4. .wims_formradio, .wims_formradio input{font-size: 80%;}\
  5. .tree label{font-weight: normal;display:inline;}\
  6. .tooltip {\
  7.       position:relative;\
  8.       cursor:help;\
  9. }\
  10. .box p{margin-top:0;}\
  11. .tooltip:hover::after {\
  12.        display: block;\
  13.        position: absolute;\
  14.        top: 1.2em;\
  15.        left: 2em;\
  16.        background: white;\
  17.        padding: 5px;\
  18.        border: 1px solid $wims_refcolor;\
  19.        border-left: 10px solid $wims_ref_bgcolor;\
  20.        content: attr(title);\
  21. }\
  22. </style>\
  23. <!-- CSS for dynamic tree display -->\
  24. <link trel="stylesheet" href="scripts/js/tree_JS/tree.css"> to $wims_html_header
  25.  
  26. !!# Si les librairies Jquery sont chargées, on affiche des onglets.
  27. !!if $jquery_defined=yes
  28.     !set wims_html_header=!append line <script>\
  29.         /*<![CDATA[*/ jQuery(function(jq) {jq( "#classifications" ).tabs();}); /*]]>*/\
  30.       </script> to $wims_html_header
  31. !!endif
  32.  
  33. !header1
  34.  
  35. !read adm/title.phtml 2\
  36. $tit\
  37. $refdir0/$exo
  38.  
  39. !!set wims_menu_items=!append line back,1,cmd=resume to $wims_menu_items
  40. !if $compute=yes
  41.   !if $error!=$empty
  42.     <div class="wims_msg alert">
  43.     !read msg.phtml
  44.     </div>
  45.     !goto end
  46.     <p>$name_what_keyword</p>
  47.     !read menu.phtml
  48.   !else
  49.     <p>$name_thank_you</p>
  50.     <p>$name_recap_keywords</p>
  51.     !read answer.phtml
  52.   !endif
  53. !else
  54.   !read menu.phtml
  55. !endif compute=yes?
  56.  
  57. :end
  58.  
  59. !set wims_menu_items=!append line back,cmd=resume to $wims_menu_items
  60.  
  61. !tail
  62.  
  63. <!-- JS for dynamic tree display -->
  64. <script src="scripts/js/tree_JS/tree.js"></script>
  65.