Subversion Repositories wimsdev

Rev

Rev 5429 | Rev 5774 | 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
  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. !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
  18.   !href cmd=reply&mode=none&level=0 $wims_name_giveup
  19.   <p>
  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. &nbsp;$wims_name_or
  39. !set wims_ref_class=wims_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.   <!-- Le div "handleBottom" sert au redimensionnement vertical par drag/drop javascript. -->
  59.   <div id="handleBottom" style="width: 100%; top: 222px;"></div>
  60.  </div>
  61.  
  62.  <div id="textarea_buttons">
  63.   <input type="submit" value="$name_sendsource"/> &nbsp;
  64.   <a class="wims_button" href="#" onclick="document.forms['replyform'].wims_deposit.value=''">$name_clean</a>
  65.   &nbsp;
  66.   !set wims_ref_class=wims_button
  67.   !href cmd=resume $wims_name_giveup
  68.  </div>
  69. </div>
  70. </form>
  71.  
  72.  
  73. <div id="bloc-droit" class="container">
  74.         <h4 id="name_list_instruction"> $name_instruction_list :</h4>
  75.     <div class="content">
  76.         <a class="wims_button" onClick="changerListeInstruction()" href="javascript:void(0);">$name_changeList</a>
  77.         <div id="divoptions">$name_javascript_required</div>
  78.     </div>
  79. </div>
  80.  
  81. <script>
  82.                 markdown_toolbar = new Control.TextArea.ToolBar.Markdown('wims_deposit_id');
  83.                 markdown_toolbar.toolbar.container.id = 'markdown_toolbar';
  84.                        
  85.                 function afficherHud(lId) {
  86.                         clearInterval(chrono);                 
  87.                         if (navigateurEstIncompatible()) return false;
  88.                         element = document.getElementById(lId);
  89.                         if (element) {
  90.                                 elementId = element.id;
  91.                                 hudCentrerElement(element);
  92.                                 this._setOverlay();
  93.                                 document.getElementById('overlay').style.opacity = '0.75';
  94.                                 document.getElementById('overlay').style.display = 'block';
  95.                                 setTimeout("hudAnimationOuverture(elementId)", 500);
  96.                         }
  97.                 }      
  98.          anime();      
  99. </script>
  100.  
  101. <div class="_spacer"><br/></div>
  102.  
  103. <div id="help_container" class="container">
  104.     <h4 id="titre_aide">$wims_name_help :</h4>
  105.     <div id="aide" class="content">
  106.      <h3 style="margin-top:0;"><img src="gifs/editor/bouton_infos.gif" height="40" /> $name_how_to_use_editor :</h3>
  107.       $name_editor_help
  108.     </div>
  109.     </div>
  110.     <div id="hud_video_intro" class="hud_element">
  111.     $name_choose_list
  112.       <ul>
  113.         <li><a onClick="changerListeInstruction2(oefcommand)" href="javascript:void(0);">$name_editor_command</a></li>
  114.         <li><a onClick="changerListeInstruction2(oefparm0)" href="javascript:void(0);">$name_editor_oefparm0</a> </li>
  115.         <li><a onClick="changerListeInstruction2(oefparm1)" href="javascript:void(0);">$name_editor_oefparm1</a></li>
  116.         <li><a onClick="changerListeInstruction2(oefparm2)" href="javascript:void(0);">$name_editor_oefparm2</a></li>
  117.         <li><a onClick="changerListeInstruction2(oefparm3)" href="javascript:void(0);">$name_editor_oefparm3</a></li>
  118.         <li><a onClick="changerListeInstruction2(oefparm4)" href="javascript:void(0);">$name_editor_oefparm4</a></li>
  119.         <li><a onClick="changerListeInstruction2(oefparm5)" href="javascript:void(0);">$name_editor_oefparm5</a> </li>
  120.         <li><a onClick="changerListeInstruction2(anstype)" href="javascript:void(0);">$name_editor_anstype</a></li>
  121.         <li><a onClick="changerListeInstruction2(special)" href="javascript:void(0);">$name_editor_special</a></li>
  122.         <li><a onClick="changerListeInstruction2(iff)" href="javascript:void(0);">$name_editor_iff</a> </li>
  123.         <li><a onClick="changerListeInstruction2(slib)" href="javascript:void(0);">$name_editor_slib</a> </li>
  124.         <li><a onClick="changerListeInstruction2(latex)" href="javascript:void(0);">LaTeX</a> </li>
  125.       </ul>
  126.     </div>
  127.     <div id="overlay" style="display:none"></div>
  128.     <script type="text/javascript">
  129.         var wims_deposit_id_id = document.getElementById("wims_deposit_id");
  130.         var redim_div=document.getElementById("wims_deposit_id");
  131.         var textDiv = document.getElementById("textDiv");
  132.         var enev_menu = document.getElementById("enev_menu");
  133.        
  134.         var handleBottom = document.getElementById("handleBottom");
  135.         new dragObject(handleBottom, null, new Position(0, 50), new Position(0, 500), null, BottomMove, null, false);
  136.  
  137. </script>
  138. </div>
  139.