Subversion Repositories wimsdev

Rev

Rev 7700 | Rev 12752 | 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 type="text/css">\
  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 type="text/css" rel="stylesheet" href="scripts/js/tree_JS/tree.css" /> to $wims_html_header
  25.  
  26.  
  27. !!# Si les librairies Jquery sont chargées, on affiche des onglets.
  28. !!if $jquery_defined=yes
  29.     !set wims_html_header=!append line <script type="text/javascript">\
  30.         /*<![CDATA[*/ jQuery(function(jq) {jq( "#classifications" ).tabs();}); /*]]>*/\
  31.       </script> to $wims_html_header
  32. !!endif
  33.  
  34. !header1
  35.  
  36. !read adm/title.phtml 2\
  37. $tit\
  38. $refdir0/$exo
  39.  
  40. !!set wims_menu_items=!append line back,1,cmd=resume to $wims_menu_items
  41. !if $compute=yes
  42.  !if $error!=$empty
  43.   <div class="wims_alertmsg">
  44.   !read msg.phtml
  45.   </div>
  46.   !goto end
  47.   <p>$name_what_keyword</p>
  48.   !read menu.phtml
  49.  
  50.  !else
  51.   <p>$name_thank_you</p>
  52.   <p>$name_recap_keywords</p>
  53.   !read answer.phtml
  54.  !endif
  55. !else
  56.  
  57.  !read menu.phtml
  58. !endif compute=yes?
  59.  
  60.  
  61. :end
  62.  
  63. !set wims_menu_items=!append line back,cmd=resume to $wims_menu_items
  64.  
  65. !tail
  66.  
  67. <!-- JS for dynamic tree display -->
  68. <script type="text/javascript" src="scripts/js/tree_JS/tree.js"></script>
  69.