Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
18226 bpr 1
!nocache
2
!! useful when one comes from modtool
3
!set modu_lang=$lang
17065 bpr 4
!readproc deduc/names
20 reyssat 5
!read Exindex
18226 bpr 6
!if $(titlelist_$modu_lang)!=$empty
7
  !set titlelist=$(titlelist_$modu_lang)
8
!endif
20 reyssat 9
!set exocnt=!itemcnt $exolist
10
!set Askresult=0
11
!set Askcontext=0
18226 bpr 12
<hr style="width:35%">
20 reyssat 13
!if $exocnt<1
16122 bpr 14
  $name_intro1
16114 bpr 15
  !exit
20 reyssat 16
!endif
17
!if $exocnt=1
16122 bpr 18
  $(name_introone[1]), <b>
16114 bpr 19
  !item 1 of $titlelist
20
  </b>.
21
  !set exoo=!item 1 of $exolist
16122 bpr 22
  !href cmd=new&module=$module&exo=$exoo $(name_introone[2])
16114 bpr 23
  !exit
20 reyssat 24
!endif
25
 
26
!form new
17187 bpr 27
<input type="hidden" name="module" value="$module">
16114 bpr 28
<table class="wimscenter wimsborder"><tr>
20 reyssat 29
!set special_parm=!trim $special_parm
30
!if $special_parm2=select and $special_parm!=$empty
16376 bpr 31
  <th>
16122 bpr 32
  $(name_intro2[1])
17187 bpr 33
  <br>
16122 bpr 34
  <em><span style="color:blue">$special_parm</span></em>:
16376 bpr 35
  </th>
20 reyssat 36
!else
16376 bpr 37
  <th>
16122 bpr 38
  $(name_intro2[2])
16376 bpr 39
  </th>
20 reyssat 40
!endif
16114 bpr 41
<td>
20 reyssat 42
!read deduc/select.phtml
16114 bpr 43
</td>
44
</tr><tr><th>
16122 bpr 45
$(name_intro2[3])
46
</th><td>
20 reyssat 47
!set qcmlevel=3
48
!formselect qcmlevel from 1 to 9
16122 bpr 49
</td></tr><tr><th>
50
$(name_intro2[4])
51
</th><td>
52
!formselect Askcontext list -1,0,1 prompt $name_introprompt
53
</td></tr><tr><th>
54
$(name_intro2[5])
55
</th><td>
56
!formselect Askresult list -1,0,1 prompt $name_introprompt
20 reyssat 57
!read introhook.phtml
16114 bpr 58
</td></tr></table>
59
<div class="wimscenter wimsform">
17187 bpr 60
<input type="submit" value="$wims_name_work">
16114 bpr 61
</div>
20 reyssat 62
 
5928 bpr 63
!formend
64
 
20 reyssat 65
!if $exocnt>10
16376 bpr 66
  !form intro
17187 bpr 67
  <input type="hidden" name="special_parm2" value="select">
68
  <input type="hidden" name="module" value="$module">
16376 bpr 69
  $name_intro3
17187 bpr 70
  <input size="12" maxlength="12" name="special_parm" value="$oldparm">
71
  <input type="submit" value="OK">
5928 bpr 72
 
16376 bpr 73
  !formend
20 reyssat 74
!endif
75
 
16122 bpr 76
$name_intro_remark1
20 reyssat 77
 
78
!if * isin $titlelist
16114 bpr 79
  <p>
16122 bpr 80
  $name_intro_remark2
16114 bpr 81
  </p>
20 reyssat 82
!endif