Subversion Repositories wimsdev

Rev

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

  1. !if $lang iswordof fr en nl cn it ca es
  2.  !read lang/js_editor.phtml.$lang
  3. !else
  4.  !read lang/js_editor.phtml.en
  5. !endif
  6. <span id="session_wims" style="display:none;">$session</span>
  7. <div id="editeur">
  8. !form reply name="replyform" id="replyform" onkeydown="change()" onkeypress="change()" onkeyup="change()"
  9. <input type="hidden" name="level" value="3" />
  10.  
  11. !if $existing=$empty
  12.   $name_brut<br />
  13.   !if $modeltest=yes
  14.     !set wims_ref_class=wims_button
  15.     !href cmd=reply&mode=model&level=2 $wims_name_adapt
  16.     $name_try.
  17.     !set wims_ref_class=wims_button wims_secondary_button
  18.     !href cmd=reply&mode=none&level=0 $wims_name_giveup
  19.     <br />
  20.   !else
  21.     $name_allsource (
  22.     !href target=wims_mhelp cmd=help&special_parm=oef format OEF
  23.     ) ($name_copy).<br />
  24.   !endif
  25. !else
  26.  
  27.  !if $catmodule=$empty
  28.   $name_source2
  29.  !else
  30.   $name_modify_window
  31.  !endif
  32.  !if $modeltest=yes
  33.   $name_public
  34. $wims_name_or
  35. !set wims_ref_class=wims_button
  36. !href cmd=reply&mode=model&level=2 $wims_name_adapt
  37. $name_try
  38.  $wims_name_or
  39. !set wims_ref_class=wims_button wims_secondary_button
  40.   !href cmd=reply&mode=none&level=0 $wims_name_giveup
  41.  !endif
  42. !endif
  43. <p>
  44.  $name_test_extern
  45.   !href target=wims_test module=tool/directexec&cmd=new $name_testerscript
  46. .
  47. </p>
  48. <ul id="enev_menu">
  49.  <li id="menu_html">HTML</li>
  50.  <li id="menu_avant">$name_before</li>
  51.  <li id="menu_pendant">$name_during</li>
  52.  <li id="menu_apres">$name_after</li>
  53. </ul>
  54. <a name="textarea"></a>
  55. <div id="textarea">
  56.  <div id="textDiv">
  57.   !mexec textarea2.sh
  58.  </div>
  59.  <div id="textarea_buttons">
  60.   <input type="submit" value="$name_sendsource" />
  61.  $
  62.  <a class="wims_button wims_secondary_button" href="#" onclick="document.forms['replyform'].wims_deposit.value=''">$name_clean</a>
  63.  $
  64.   !set wims_ref_class=wims_button wims_secondary_button
  65.   !href cmd=resume $wims_name_giveup
  66.  </div>
  67. </div>
  68.  
  69. !formend
  70.  
  71. <div id="bloc-droit" class="container">
  72.         <h4 id="name_list_instruction"> $name_instruction_list :</h4>
  73.     <div class="content">
  74.         <a class="wims_button" onclick="changerListeInstruction()" href="javascript:void(0);">$name_changeList</a>
  75.         <div id="divoptions">$name_javascript_required</div>
  76.     </div>
  77. </div>
  78. <script>
  79.                 markdown_toolbar = new Control.TextArea.ToolBar.Markdown('wims_deposit_id');
  80.                 markdown_toolbar.toolbar.container.id = 'markdown_toolbar';
  81.  
  82.                 function afficherHud(lId) {
  83.                         clearInterval(chrono);
  84.                         if (navigateurEstIncompatible()) return false;
  85.                         element = document.getElementById(lId);
  86.                         if (element) {
  87.                                 elementId = element.id;
  88.                                 hudCentrerElement(element);
  89.                                 this._setOverlay();
  90.                                 document.getElementById('overlay').style.opacity = '0.75';
  91.                                 document.getElementById('overlay').style.display = 'block';
  92.                                 setTimeout("hudAnimationOuverture(elementId)", 500);
  93.                         }
  94.                 }
  95.          anime();
  96. </script>
  97.  
  98. <div class="_spacer"></div>
  99.  
  100. <div id="help_container" class="container">
  101.     <h4 id="titre_aide">$wims_name_help :</h4>
  102.     <div id="aide" class="content">
  103.      <h3 style="margin-top:0;"><img src="gifs/editor/bouton_infos.gif" height="40" alt="help editor" /> $name_how_to_use_editor :</h3>
  104.       $name_editor_help
  105.     </div>
  106.     </div>
  107.     <div id="hud_video_intro" class="hud_element">
  108.     $name_choose_list
  109.       <ul>
  110.         <li><a onclick="changerListeInstruction2(oefcommand)" href="javascript:void(0);">$name_editor_command</a></li>
  111.         <li><a onclick="changerListeInstruction2(oefparm0)" href="javascript:void(0);">$name_editor_oefparm0</a> </li>
  112.         <li><a onclick="changerListeInstruction2(oefparm1)" href="javascript:void(0);">$name_editor_oefparm1</a></li>
  113.         <li><a onclick="changerListeInstruction2(oefparm2)" href="javascript:void(0);">$name_editor_oefparm2</a></li>
  114.         <li><a onclick="changerListeInstruction2(oefparm3)" href="javascript:void(0);">$name_editor_oefparm3</a></li>
  115.         <li><a onclick="changerListeInstruction2(oefparm4)" href="javascript:void(0);">$name_editor_oefparm4</a></li>
  116.         <li><a onclick="changerListeInstruction2(oefparm5)" href="javascript:void(0);">$name_editor_oefparm5</a> </li>
  117.         <li><a onclick="changerListeInstruction2(anstype)" href="javascript:void(0);">$name_editor_anstype</a></li>
  118.         <li><a onclick="changerListeInstruction2(special)" href="javascript:void(0);">$name_editor_special</a></li>
  119.         <li><a onclick="changerListeInstruction2(iff)" href="javascript:void(0);">$name_editor_iff</a> </li>
  120.         <li><a onclick="changerListeInstruction2(slib)" href="javascript:void(0);">$name_editor_slib</a> </li>
  121.         <li><a onclick="changerListeInstruction2(latex)" href="javascript:void(0);">LaTeX</a> </li>
  122.       </ul>
  123.     </div>
  124.     <div id="overlay" style="display:none"></div>
  125.     <script>
  126.         var wims_deposit_id_id = document.getElementById("wims_deposit_id");
  127.         var redim_div=document.getElementById("wims_deposit_id");
  128.         var textDiv = document.getElementById("textDiv");
  129.         var enev_menu = document.getElementById("enev_menu");
  130.     </script>
  131. </div>
  132.