Subversion Repositories wimsdev

Rev

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

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