Subversion Repositories wimsdev

Rev

Rev 16318 | Details | Compare with Previous | Last modification | View Log | RSS feed

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