Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
2309 bpr 1
!if $wims_class=
5181 guerimand 2
  !read adm/language lang/names.phtml
2309 bpr 3
!else
9544 bpr 4
  !read adm/class/classlang names.phtml
2309 bpr 5
  !set modu_lang=$moduclass_lang
6
!endif
7
!if $(module_title_$modu_lang)!=
8
  !set module_title=$(module_title_$modu_lang)
9
!endif
10
!read lang/names.phtml.$modu_lang
11
 
1051 bpr 12
!header1
13
 
2304 bpr 14
!read adm/title.phtml 1\
15
WIMS $httpd_HTTP_HOST\
2309 bpr 16
$title_title
23 reyssat 17
 
18
!if $toomany=yes
2309 bpr 19
 !read lang/toomany.phtml.$modu_lang
23 reyssat 20
 !goto end
21
!endif
22
 
23
!if $error!=$empty
14640 bpr 24
  <div class="wims_msg alert">
25
  !read lang/msg.phtml.$modu_lang
26
  </div>
27
  <p>
28
  !href module=$module&cmd=reply&step=0 $name_restart
29
  </p>
30
  !goto end
23 reyssat 31
!endif
32
 
33
!if $step=$empty or $step=0
14640 bpr 34
  !set password=
35
  !set passsup=
36
   $name_warning
37
  !form reply
17180 bpr 38
  <input type="hidden" name="step" value="1">
14640 bpr 39
  <ul>
40
  <li>$name_name_forum
17180 bpr 41
   <input size="$titlelim" name="title" value="$title">
14640 bpr 42
  </li><li>
43
  $wims_name_Description (< $desclim $name_characters) :
44
    <textarea cols="65" rows="5" name="description">$description</textarea>
45
  </li><li>
46
  $name_name_owner
17180 bpr 47
  <input size="$suplim" name="supervisor" value="$supervisor">
14640 bpr 48
  </li><li>
49
  $wims_name_email
17180 bpr 50
    <input size="$emaillim" name="email" value="$email"> <br>
14640 bpr 51
    ($name_warning1)
52
  </li><li>
53
  $name_choosepass1
17180 bpr 54
  <input size="16" type="password" name="passsup"> <br>
55
  ($name_instruction). <br>
5832 bpr 56
  $name_help1
14640 bpr 57
  </li><li>
58
  $name_choosepass2
17180 bpr 59
    <input size="16" type="password" name="password"> <br>
60
    ($name_instruction). <br>
14640 bpr 61
    $name_help2</li></ul>
62
   <p class="wimscenter wimsform">
17180 bpr 63
   <input type="submit" value="$name_continue">
14640 bpr 64
   </p>
23 reyssat 65
 
14640 bpr 66
  !formend
5927 bpr 67
 
14640 bpr 68
  !goto end
23 reyssat 69
!endif
70
 
71
!if $step=1
14640 bpr 72
  $name_hello, $supervisor!<p>
73
  !read lang/names.phtml.$modu_lang step1
6148 bpr 74
 
14640 bpr 75
  !form reply
17180 bpr 76
  <p><input type="hidden" name="step" value="2">
14640 bpr 77
   $name_ownerpass
17180 bpr 78
  </p><p><input type="password" name="passsup"> </p>
14640 bpr 79
  !if $pword!=$empty
80
    <p>
81
    $name_forumpass
17180 bpr 82
    <input type="password" name="password">
14640 bpr 83
    </p>
84
  !endif
17180 bpr 85
  <p class="wimscenter wimsform"><input type="submit" value="$name_continue"></p>
5927 bpr 86
 
14640 bpr 87
  !formend
88
  !goto end1
23 reyssat 89
!endif
90
 
91
!if $step=2
14640 bpr 92
  $name_hello, $supervisor!
93
  !read lang/names.phtml.$modu_lang step2
94
   !form reply
17180 bpr 95
   <input type="hidden" name="step" value="3">
96
   <p class="wimscenter">$name_code : <input size="16" name="typecode"></p>
97
   <p class="wimscenter"><input type="submit" value="$name_continue"></p>
5927 bpr 98
 
14640 bpr 99
  !formend
100
  <p>
101
  $name_warning2
102
  </p>
103
  !goto end1
23 reyssat 104
!endif
105
 
106
!if $step=3
14640 bpr 107
  $name_hello, $supervisor!
108
  !read lang/names.phtml.$modu_lang step3
109
  !goto end
23 reyssat 110
!endif
111
 
112
:end1
113
<p>
9544 bpr 114
!set wims_ref_class=wims_secondary_button
2304 bpr 115
!href module=$module&cmd=reply&step=0 $wims_name_giveup
6148 bpr 116
</p>
23 reyssat 117
:end
118
!tail
119
 
120
!set step=