Subversion Repositories wimsdev

Rev

Rev 13306 | Rev 14335 | Go to most recent revision | 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
3478 bpr 2
 !read lang/js_editor.phtml.$lang
3
!else
4
 !read lang/js_editor.phtml.en
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()"
6235 bpr 9
<input type="hidden" name="level" value="3" />
5927 bpr 10
 
23 reyssat 11
!if $existing=$empty
13443 obado 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
23 reyssat 25
!else
2433 bpr 26
 
23 reyssat 27
 !if $catmodule=$empty
2434 bpr 28
  $name_source2
23 reyssat 29
 !else
2434 bpr 30
  $name_modify_window
23 reyssat 31
 !endif
32
 !if $modeltest=yes
2434 bpr 33
  $name_public
4612 bpr 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
10457 bpr 38
 $wims_name_or
39
!set wims_ref_class=wims_button wims_secondary_button
1493 bpr 40
  !href cmd=reply&mode=none&level=0 $wims_name_giveup
23 reyssat 41
 !endif
42
!endif
4612 bpr 43
<p>
2434 bpr 44
 $name_test_extern
45
  !href target=wims_test module=tool/directexec&cmd=new $name_testerscript
1491 bpr 46
.
3425 obado 47
</p>
8473 bpr 48
<ul id="enev_menu">
3437 obado 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>
3425 obado 54
<a name="textarea"></a>
55
<div id="textarea">
56
 <div id="textDiv">
57
  !mexec textarea2.sh
58
 </div>
59
 <div id="textarea_buttons">
10457 bpr 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
 $
9753 bpr 64
  !set wims_ref_class=wims_button wims_secondary_button
3425 obado 65
  !href cmd=resume $wims_name_giveup
66
 </div>
67
</div>
23 reyssat 68
 
5927 bpr 69
!formend
3425 obado 70
 
3427 obado 71
<div id="bloc-droit" class="container">
3461 bpr 72
        <h4 id="name_list_instruction"> $name_instruction_list :</h4>
3427 obado 73
    <div class="content">
5774 bpr 74
        <a class="wims_button" onclick="changerListeInstruction()" href="javascript:void(0);">$name_changeList</a>
3461 bpr 75
        <div id="divoptions">$name_javascript_required</div>
3427 obado 76
    </div>
77
</div>
13306 obado 78
<script>
3425 obado 79
                markdown_toolbar = new Control.TextArea.ToolBar.Markdown('wims_deposit_id');
80
                markdown_toolbar.toolbar.container.id = 'markdown_toolbar';
8473 bpr 81
 
3425 obado 82
                function afficherHud(lId) {
8473 bpr 83
                        clearInterval(chrono);
3425 obado 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
                        }
8473 bpr 94
                }
95
         anime();
3427 obado 96
</script>
97
 
11622 bpr 98
<div class="_spacer"></div>
3427 obado 99
 
100
<div id="help_container" class="container">
3461 bpr 101
    <h4 id="titre_aide">$wims_name_help :</h4>
8473 bpr 102
    <div id="aide" class="content">
6235 bpr 103
     <h3 style="margin-top:0;"><img src="gifs/editor/bouton_infos.gif" height="40" alt="help editor" /> $name_how_to_use_editor :</h3>
3427 obado 104
      $name_editor_help
3425 obado 105
    </div>
106
    </div>
107
    <div id="hud_video_intro" class="hud_element">
3427 obado 108
    $name_choose_list
3425 obado 109
      <ul>
5774 bpr 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>
3425 obado 122
      </ul>
123
    </div>
124
    <div id="overlay" style="display:none"></div>
13306 obado 125
    <script>
6977 obado 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>
5429 mquerol 131
</div>