Subversion Repositories wimsdev

Rev

Rev 12489 | Rev 13085 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!nocache
2373 bpr 2
!! useful when one comes from modtool
6677 bpr 3
!set wims_backslash_insmath=yes
20 reyssat 4
!set proc=oef
5
!if robot isin $session
12489 bpr 6
  !changeto content.html
20 reyssat 7
!endif
1664 bpr 8
 
2072 bpr 9
!set test_data=!replace internal data/ by in $module_data
10
!set test_data=!defof title in datamodule/$test_data/INDEX
11
!if $test_data= and $module_data!=
12489 bpr 12
  <p class="name_datamodule">
13
  <i>$name_datamodule</i>
14
  </p>
2072 bpr 15
!endif
6869 bpr 16
<hr style="width:35%" />
1664 bpr 17
 
18
 
9170 bpr 19
!! ------------------------------------- saisie des paramètres
8817 guerimand 20
!if $step=1
12489 bpr 21
  $name_insert <span class="tt wims_fname">$smodule</span>
2072 bpr 22
 
12489 bpr 23
  <p>$name_choose_allexo</p>
24
  !form reply
25
  <fieldset class="property_fields blockcenter">
26
  <legend>$name_title</legend>
8817 guerimand 27
  <div class="field box">
12489 bpr 28
   <label for="picksheet">$name_choose</label>
29
   <select name="picksheet" id="picksheet">
30
  !for i=1 to $sheetcnt
31
    !set sh=!line $i of $sheets
32
    !set se=!item 1 of $sh
33
    !set ti=!item 2 to -1 of $sh
34
    !if $se=$sheetcnt
35
      <option value="$se" selected="selected">$wims_name_Sheet $se: $ti</option>
36
    !else
37
      <option value="$se">$wims_name_Sheet $se: $ti</option>
38
    !endif
39
  !next i
40
   </select>
41
   </div>
42
  !if $scoring=yes
43
    <div class="field box">
44
     <label for="require">$name_required</label>
45
     <select name="require" id="require">
46
      <option value="0">0</option>
47
     <option value="10" selected="selected">10</option>
9134 obado 48
    !for i=2 to $require_limit
49
      <option value="$[10*$i]">$[10*$i]</option>
50
    !next
12489 bpr 51
    </select>
52
    <div class="formHelp">$name_repeat</div>
53
    </div>
54
    <div class="field box">
55
     <label for="weight">$name_weight</label>
56
     <input size="6" name="weight" value="$weight" id="weight" />
57
     <div class="formHelp">$name_weight_hint</div>
58
    </div>
59
  !endif
60
  </fieldset>
61
 
62
  !!debut du menu voir intromenu.phtml
63
  !read oef/default
13082 bpr 64
  !read oef/intromenu_series.phtml
65
  !formradio expert_ list no prompt $name_simplifiedmenu
12489 bpr 66
  !default expert_=no
13082 bpr 67
  !read oef/intromenu_nonexpert.phtml
9134 obado 68
  !set wims_ref_id=expert_yes
9108 bpr 69
  !formradio expert_ list yes prompt $name_expertmenu
13082 bpr 70
  !read oef/intromenu_expert.phtml
71
 
12489 bpr 72
  !let tmp=!replace word expert by $ in $special_parm2
73
  !set tmp3=!replace internal intro_expert=yes by in $special_parm3
74
  <input type="hidden" name="intro_expert" value="yes" />
9113 bpr 75
 
12489 bpr 76
  <div class="wimscenter wimsform">
77
    <input type="submit" value="$wims_name_Insert" />
78
    <input type="hidden" name="step" value="2" />
79
    <input type="hidden" name="job" value="$job" />
80
  </div>
81
  !formend
82
  <div class="formHelp">
9170 bpr 83
  $name_remarkseverity
84
  !read oef/helpseverity
12489 bpr 85
  </div>
1664 bpr 86
 
9099 bpr 87
!endif
2072 bpr 88
 
9170 bpr 89
!! ---------------------------------------- écriture du bilan
8817 guerimand 90
!if $step=2
12489 bpr 91
  !if $addexo>0
13082 bpr 92
          <div class="wims_msg success">
12489 bpr 93
          !if $addexo=1
9175 guerimand 94
            $name_endallexo
12489 bpr 95
          !else
9175 guerimand 96
            $name_endallexos
12489 bpr 97
          !endif
13082 bpr 98
          <div class="tt">$iniparm</div>
99
          </div>
12489 bpr 100
  !endif
101
  !if $notadd>0
13082 bpr 102
    <div class="wims_msg info">
12489 bpr 103
    !if $notadd=1
104
      $name_endallexo2
105
    !else
106
      $name_endallexo2s
107
    !endif
108
    <ul>
109
          !for exo in $listalready
110
                !let num=!positionof item $exo in $exolist
111
                <li>$(exotitle[$num])</li>
112
          !next exo
13082 bpr 113
          </ul>
114
          </div>
12489 bpr 115
  !endif
116
  !set wims_menu_items=!append line sheetcheck,1, module=adm/class/sheet&sheet=$picksheet\
8817 guerimand 117
to $wims_menu_items
4810 bpr 118
!endif
119