Rev 9544 | 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 |
10228 | bpr | 14 | <div class="wims_msg alert"> |
9544 | bpr | 15 | !read lang/msg.phtml.$modu_lang |
5874 | bpr | 16 | </div> |
23 | reyssat | 17 | !goto end1 |
18 | !endif |
||
19 | |||
20 | !if $forumcnt=0 |
||
2296 | bpr | 21 | $name_noforum |
23 | reyssat | 22 | !goto end |
23 | !endif |
||
24 | |||
5894 | bpr | 25 | !set forumname=<span class="wims_emph">$title</span> |
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 |
6235 | bpr | 31 | <input type="hidden" name="step" value="1" /> |
5874 | bpr | 32 | <div class="wimscenter">$wims_name_Password |
6235 | bpr | 33 | <input type="password" name="forumpass" /> |
5874 | bpr | 34 | </div> |
35 | <div class="wimscenter"> |
||
6235 | bpr | 36 | <input type="submit" value="$wims_name_send" /> |
5927 | bpr | 37 | </div> |
38 | !formend |
||
39 | |||
2296 | bpr | 40 | $name_obtain_passw |
23 | reyssat | 41 | ( |
2296 | bpr | 42 | !mailurl $smail $name_write_owner |
23 | reyssat | 43 | ) |
5874 | bpr | 44 | </p> |
23 | reyssat | 45 | !goto end1 |
46 | !endif |
||
47 | |||
48 | !if $step=$empty or $step<2 |
||
2296 | bpr | 49 | $name_inscription |
5874 | bpr | 50 | !form reply |
6235 | bpr | 51 | <input type="hidden" name="step" value="2" /> |
23 | reyssat | 52 | <ul> |
5874 | bpr | 53 | <li> |
6235 | bpr | 54 | $wims_name_lastname <input size="20" name="lastn" value="$lastn" /> |
55 | $wims_name_firstname <input size="20" name="firstn" value="$firstn" /> |
||
9544 | bpr | 56 | |
5832 | bpr | 57 | </li><li> |
58 | $wims_name_Login |
||
6235 | bpr | 59 | <input size="16" name="login" value="$login" /> <br /> |
2296 | bpr | 60 | $name_password1 |
9544 | bpr | 61 | |
5832 | bpr | 62 | </li><li> |
63 | $wims_name_Password |
||
6235 | bpr | 64 | <input type="password" size="16" name="pass" /> <br /> |
2296 | bpr | 65 | $name_password2 |
23 | reyssat | 66 | !if $mailverif=$empty |
6235 | bpr | 67 | <li>$wims_name_email ($name_optional) :<br /> |
23 | reyssat | 68 | !else |
6235 | bpr | 69 | <li>$wims_name_email<br /> |
23 | reyssat | 70 | !endif |
6235 | bpr | 71 | <input size="60" name="email" value="$email" /> |
5874 | bpr | 72 | </li> |
73 | </ul> |
||
6235 | bpr | 74 | <div class="wimscenter wimsform"><input type="submit" value="$wims_name_tosave" /></div> |
5927 | bpr | 75 | |
76 | !formend |
||
23 | reyssat | 77 | !goto end1 |
78 | !endif |
||
2296 | bpr | 79 | !default name_student=$firstn $lastn |
23 | reyssat | 80 | !if $step=2 |
2296 | bpr | 81 | $name_hello, $name_student!<p> |
82 | $name_inscription2 |
||
5901 | bpr | 83 | <span class="tt wims_login">$login</span>. <p> |
23 | reyssat | 84 | !if $email=$empty |
5894 | bpr | 85 | $name_email1 </p> |
23 | reyssat | 86 | !else |
6235 | bpr | 87 | $name_email2: <span class="tt">$email</span> </p> |
23 | reyssat | 88 | !endif |
2296 | bpr | 89 | $name_email3 |
23 | reyssat | 90 | !form reply |
6235 | bpr | 91 | <input type="hidden" name="step" value="3" /> |
92 | <div class="wimscenter"><input type="password" size="16" name="pass2" /> |
||
93 | <br /><input type="submit" value="$wims_name_send" /></div> |
||
5927 | bpr | 94 | |
95 | !formend |
||
23 | reyssat | 96 | !goto end1 |
97 | !endif |
||
98 | |||
99 | !if $step=3 |
||
6152 | czzmrn | 100 | <p>$name_hello, $name_student!</p> |
23 | reyssat | 101 | !if $mailverif=yes |
102 | !set mailverif=next |
||
2314 | bpr | 103 | !read lang/names.phtml.$modu_lang code |
5874 | bpr | 104 | <div class="wimscenter"> |
23 | reyssat | 105 | !form reply |
6235 | bpr | 106 | <input type="hidden" name="step" value="3" /> |
107 | <input size="10" name="vericode" /> |
||
108 | <input type="submit" value="$wims_name_tosave" /> |
||
5927 | bpr | 109 | |
110 | !formend |
||
3075 | bpr | 111 | |
9544 | bpr | 112 | !set wims_ref_class=wims_secondary_button |
2290 | bpr | 113 | !href module=adm/forum/forum $wims_name_giveup |
5874 | bpr | 114 | </div> |
23 | reyssat | 115 | !goto end1 |
116 | !else |
||
2299 | bpr | 117 | !read lang/names.phtml.$modu_lang welcome |
23 | reyssat | 118 | !goto end |
119 | !endif |
||
120 | !endif |
||
121 | |||
122 | :end1 |
||
5874 | bpr | 123 | |
10228 | bpr | 124 | $ |
3075 | bpr | 125 | !set wims_ref_class=wims_button |
2296 | bpr | 126 | !href module=adm/forum/forum&type=list $name_forumlist |
23 | reyssat | 127 | :end |
128 | !tail |
||
129 | |||
130 | !set step= |