Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
2299 bpr 1
!if $(module_title_$modu_lang)!=
2
  !set module_title=$(module_title_$modu_lang)
3
!endif
5187 guerimand 4
!!read lang/names.phtml.$modu_lang
23 reyssat 5
 
1051 bpr 6
!header1
7
 
2299 bpr 8
!read adm/title.phtml 1\
9
WIMS $httpd_HTTP_HOST\
2296 bpr 10
$title
23 reyssat 11
 
2299 bpr 12
 
23 reyssat 13
!if $error!=$empty
14
 <p>
2299 bpr 15
 !read lang/msg.phtml.$modu_lang
23 reyssat 16
 <p>
17
 !goto end1
18
!endif
19
 
20
!if $forumcnt=0
2296 bpr 21
  $name_noforum
23 reyssat 22
 !goto end
23
!endif
24
 
3970 bpr 25
!set forumname=<b><font color="green">$title</font></b>
23 reyssat 26
 
27
!if $password!=$empty and $passverify=$empty and $mailverif=$empty
28
 $forumname
2296 bpr 29
 $name_passw
23 reyssat 30
 !form reply
5734 bpr 31
 <input type="hidden" name="step" value="1"/>
2290 bpr 32
 <center> <p>$wims_name_Password
5734 bpr 33
 <input type="password" name="forumpass"/>
23 reyssat 34
 <p>
5734 bpr 35
 <input type="submit" value="$wims_name_send"/>
23 reyssat 36
 </center></form> <p>
2296 bpr 37
$name_obtain_passw
23 reyssat 38
 (
2296 bpr 39
 !mailurl $smail $name_write_owner
23 reyssat 40
 )
41
 !goto end1
42
!endif
43
 
44
!if $step=$empty or $step<2
2296 bpr 45
$name_inscription
23 reyssat 46
 <ul>
47
 !form reply
5734 bpr 48
 <input type="hidden" name="step" value="2"/>
49
 <li>$wims_name_lastname <input size="20" name="lastn" value="$lastn"/>
50
  $wims_name_firstname <input size="20" name="firstn" value="$firstn"/>
23 reyssat 51
  <p>
2313 czzmrn 52
 <li>$wims_name_Login
5734 bpr 53
  <input size="16" name="login" value="$login"/> <br>
2296 bpr 54
  $name_password1
23 reyssat 55
  <p>
2290 bpr 56
 <li>$wims_name_Password
5734 bpr 57
  <input type="password" size="16" name="pass"/> <br>
2296 bpr 58
  $name_password2
23 reyssat 59
  <p>
60
  !if $mailverif=$empty
2296 bpr 61
   <li>$wims_name_email ($name_optional)&nbsp;:<br>
23 reyssat 62
  !else
2290 bpr 63
   <li>$wims_name_email<br>
23 reyssat 64
  !endif
5734 bpr 65
  <input size="60" name="email" value="$email"/>
23 reyssat 66
  <p>
5734 bpr 67
 <center><input type="submit" value="$wims_name_tosave"/></center>
23 reyssat 68
 </form></ul>
69
 !goto end1
70
!endif
2296 bpr 71
!default name_student=$firstn $lastn
23 reyssat 72
!if $step=2
2296 bpr 73
 $name_hello, $name_student!<p>
74
 $name_inscription2
3970 bpr 75
 ``<tt><b><font color="green">$login</font></b></tt>''. <p>
23 reyssat 76
 !if $email=$empty
2296 bpr 77
  $name_email1 <p>
23 reyssat 78
 !else
2296 bpr 79
  $name_email2: <tt>$email</tt> <p>
23 reyssat 80
 !endif
2296 bpr 81
 $name_email3
23 reyssat 82
 !form reply
5734 bpr 83
 <input type="hidden" name="step" value="3"/>
84
 <p></p><center><input type="password" size="16" name="pass2"/>
85
<p></p><input type="submit" value="$wims_name_send"/></center>
23 reyssat 86
 </form> <p>
87
 !goto end1
88
!endif
89
 
90
!if $step=3
2296 bpr 91
 $name_hello, $name_student!<p>
23 reyssat 92
 !if $mailverif=yes
93
  !set mailverif=next
2314 bpr 94
  !read lang/names.phtml.$modu_lang code
23 reyssat 95
  !form reply
5734 bpr 96
  <input type="hidden" name="step" value="3"/>
97
  <p></p><center><input size="10" name="vericode"/>
98
  <input type="submit" value="$wims_name_tosave"/></form>
3075 bpr 99
  <p></p>
100
 &nbsp;
101
 !set wims_ref_class=wims_button
2290 bpr 102
  !href module=adm/forum/forum $wims_name_giveup
3075 bpr 103
  </center> <p></p>
23 reyssat 104
  !goto end1
105
 !else
2299 bpr 106
 !read lang/names.phtml.$modu_lang welcome
23 reyssat 107
  !goto end
108
 !endif
109
!endif
110
 
111
:end1
3075 bpr 112
<p></p>
113
 &nbsp;
114
 !set wims_ref_class=wims_button
2296 bpr 115
!href module=adm/forum/forum&type=list $name_forumlist
23 reyssat 116
:end
117
!tail
118
 
119
!set step=
120