Subversion Repositories wimsdev

Rev

Rev 14335 | Rev 16318 | 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.   !if $catmodule=$empty
  27.     $name_source2
  28.   !else
  29.     $name_modify_window
  30.   !endif
  31.   !if $modeltest=yes
  32.     $name_public
  33. $wims_name_or
  34.     !set wims_ref_class=wims_button
  35.     !href cmd=reply&mode=model&level=2 $wims_name_adapt
  36. $name_try
  37.     $wims_name_or
  38.     !set wims_ref_class=wims_button wims_secondary_button
  39.     !href cmd=reply&mode=none&level=0 $wims_name_giveup
  40.   !endif
  41. !endif
  42.  
  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. <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" alt="help editor" /> $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>
  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.   </script>
  130. </div>
  131.