Rev 10176 | Rev 12062 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7269 | bpr | 1 | !set wims_html_header=$wims_html_header\ |
2 | <style type="text/css">\ |
||
3 | .frame {background-color :green;\ |
||
4 | border-style: solid;\ |
||
5 | border-width: 1pt;\ |
||
6 | margin: 3% 3% 3% 3%;\ |
||
7 | padding : 3%;\ |
||
8 | font-size:95%;\ |
||
9 | text-align:justify;}\ |
||
10 | }\ |
||
11 | .hr {}\ |
||
12 | .hh{color:$wims_ref_menucolor; \ |
||
13 | background-color: $wims_ref_bgcolor;\ |
||
14 | text-align:center;}\ |
||
15 | \ |
||
16 | prel {\ |
||
17 | background-color :#FFFFCC;\ |
||
18 | font-weight: bold ;\ |
||
19 | font-size: 12px;\ |
||
20 | border-style: solid;\ |
||
21 | border-width: 2pt;\ |
||
22 | margin: 3% 3% 3% 3%;\ |
||
23 | padding : 2%;\ |
||
24 | }\ |
||
25 | </style> |
||
10176 | bpr | 26 | |
23 | reyssat | 27 | !if robot isin $session |
28 | !exit |
||
29 | !endif |
||
30 | !header |
||
31 | |||
32 | !if $wims_developer=$empty |
||
5601 | obado | 33 | |
34 | |||
5619 | bpr | 35 | <div class="wims_content"> |
5601 | obado | 36 | |
7443 | bpr | 37 | <b>$module_title</b> |
2317 | bpr | 38 | !read lang/names.phtml.$modu_lang 1 |
39 | !href cmd=help&special_parm=doc $name_documentation |
||
7443 | bpr | 40 | $wims_name_or |
2317 | bpr | 41 | !getfile latex2wimsdoc.pdf $name_pdf |
42 | . |
||
23 | reyssat | 43 | |
2317 | bpr | 44 | !read lang/names.phtml.$modu_lang 2 |
23 | reyssat | 45 | |
2317 | bpr | 46 | !form reply |
47 | $name_modtool |
||
5927 | bpr | 48 | |
7443 | bpr | 49 | |
50 | <fieldset class="property_fields halfwidth blockcenter"> |
||
7459 | bpr | 51 | <legend>$wims_name_connexion</legend> |
7443 | bpr | 52 | <div class="field box"> |
53 | <label for="login">$wims_name_Login</label> |
||
7459 | bpr | 54 | <input type="text" name="login" id="login" |
55 | required="required" placeholder="$wims_name_Login" /> |
||
7443 | bpr | 56 | </div> |
57 | <div class="field box"> |
||
58 | <label for="passwd">$wims_name_Password</label> |
||
7459 | bpr | 59 | <input type="password" name="passwd" id="passwd" |
60 | required="required" placeholder="$wims_name_Password" /> |
||
7443 | bpr | 61 | </div> |
7459 | bpr | 62 | <div class="wimscenter"> |
63 | <input type="submit" value="$wims_name_tosave" /> |
||
7443 | bpr | 64 | </div> |
65 | </fieldset> |
||
5927 | bpr | 66 | !formend |
7269 | bpr | 67 | </div> <!--end content 1--> |
23 | reyssat | 68 | !tail |
69 | !exit |
||
7443 | bpr | 70 | |
23 | reyssat | 71 | !endif |
72 | |||
5601 | obado | 73 | |
23 | reyssat | 74 | !if $error!=$empty |
10228 | bpr | 75 | <div class="wims_msg alert"> |
7443 | bpr | 76 | !read lang/msg.phtml.$modu_lang |
7269 | bpr | 77 | </div> |
23 | reyssat | 78 | !endif |
79 | |||
7443 | bpr | 80 | |
5619 | bpr | 81 | <div class="wims_content"> |
5601 | obado | 82 | |
2317 | bpr | 83 | <b>$module_title</b> |
84 | !read lang/names.phtml.$modu_lang 3 |
||
85 | |||
86 | !href cmd=help&special_parm=doc $name_documentation |
||
87 | . |
||
7443 | bpr | 88 | |
23 | reyssat | 89 | !set wims_form_method=file |
90 | !default !set execut=0 |
||
91 | !form reply |
||
92 | !if $execut!=3 |
||
2317 | bpr | 93 | $name_select_example |
94 | !getfile fichier_test.tex $name_latex |
||
23 | reyssat | 95 | , |
2317 | bpr | 96 | !getfile style.css $name_css |
7443 | bpr | 97 | , |
2317 | bpr | 98 | !getfile wims.sty $name_latex2wims |
7443 | bpr | 99 | , |
2317 | bpr | 100 | !getfile latex2wimsdoc.pdf $name_pdf |
101 | . |
||
23 | reyssat | 102 | !if $exemple!=1 |
2317 | bpr | 103 | $name_example |
1527 | bpr | 104 | !formradio exemple list 1,2 prompt $wims_name_yes,$wims_name_no |
23 | reyssat | 105 | !endif |
5883 | bpr | 106 | !endif |
23 | reyssat | 107 | |
5601 | obado | 108 | |
23 | reyssat | 109 | !if $execut=0 |
7269 | bpr | 110 | <h2 class="hh"> $name_step 1</h2> |
2317 | bpr | 111 | $name_transfer_wims |
6235 | bpr | 112 | <input type="file" name="wims_deposit" /> |
5601 | obado | 113 | |
23 | reyssat | 114 | !if $test!=$empty and ($execut=0 or $cnt_fichier=1) |
2317 | bpr | 115 | $name_filet: |
7269 | bpr | 116 | <pre class="prel"> |
23 | reyssat | 117 | !for i = 1 to $cnt_fichier |
118 | $(fichiers[$i]) ($(date[$i])) |
||
119 | !next |
||
120 | </pre> |
||
121 | !endif |
||
5601 | obado | 122 | |
23 | reyssat | 123 | <ul> |
124 | <li> |
||
125 | |||
1828 | bpr | 126 | !formradio execut list 0 prompt $name_newtransfer |
23 | reyssat | 127 | </li><li> |
2317 | bpr | 128 | !formradio execut list 1 prompt $name_newstep |
23 | reyssat | 129 | </li> |
130 | </ul> |
||
131 | !endif |
||
132 | |||
133 | |||
134 | |||
5835 | bpr | 135 | |
23 | reyssat | 136 | !if $execut=1 |
137 | |||
7269 | bpr | 138 | <h2 class="hh"> $name_step 1</h2> |
7443 | bpr | 139 | !if $cnt_fichier >0 |
2317 | bpr | 140 | $name_youcan |
141 | !formcheckbox execut list 0 prompt $name_newtransfer |
||
23 | reyssat | 142 | !else |
2317 | bpr | 143 | $name_youmust |
23 | reyssat | 144 | !default !set execut=0 |
2317 | bpr | 145 | !formradio execut list 0 prompt $name_atleast |
7443 | bpr | 146 | |
5835 | bpr | 147 | <p class="wimscenter"> |
6235 | bpr | 148 | <input type="submit" value="$wims_name_tosave" /> |
5835 | bpr | 149 | </p> |
5927 | bpr | 150 | |
151 | !formend |
||
7269 | bpr | 152 | </div> <!--end content 2--> |
23 | reyssat | 153 | !exit |
154 | !endif |
||
7269 | bpr | 155 | <h2 class="hh"> $name_step 2</h2> |
2317 | bpr | 156 | $name_selectmain |
23 | reyssat | 157 | <ul> |
158 | !for i = 1 to $cnt_fichier |
||
159 | !set l=!item $i of $fichiers |
||
160 | <li> |
||
2317 | bpr | 161 | !formradio principal list $i prompt $(fichiers[$i]) ($name_transferdate $(date[$i])) |
23 | reyssat | 162 | </li> |
7443 | bpr | 163 | !next |
23 | reyssat | 164 | </ul> |
7275 | bpr | 165 | !! $name_sheet |
166 | !! !formradio wksheet list 1,2,3,4,5,6,7,8,9 |
||
7269 | bpr | 167 | <h2 class="hh"> $name_step 3</h2> |
2317 | bpr | 168 | |
23 | reyssat | 169 | !if $list_module!=$empty |
7443 | bpr | 170 | $name_namedocument: |
5793 | bpr | 171 | <p class="wimscenter"> |
7443 | bpr | 172 | !formselect document list $choix,$list_module |
23 | reyssat | 173 | </p> |
2317 | bpr | 174 | $name_newmodule |
23 | reyssat | 175 | !else |
2317 | bpr | 176 | <i>$name_createfirst</i> |
23 | reyssat | 177 | !endif |
2317 | bpr | 178 | !href target=wims_test module=adm/modtool&cmd=reply&jobreq=create Modtool |
23 | reyssat | 179 | |
180 | !if $document notsametext $choix |
||
5883 | bpr | 181 | <p><span class="wims_warning">$wims_name_warning</span> : $name_warning</p> |
23 | reyssat | 182 | !else |
5883 | bpr | 183 | <p><span class="wims_warning">$wims_name_warning</span> : $name_select_warning.</p> |
23 | reyssat | 184 | !endif |
7269 | bpr | 185 | <h2 class="hh"> $name_step 4</h2> |
2317 | bpr | 186 | !formradio execut list 2 prompt $name_exec |
7443 | bpr | 187 | |
23 | reyssat | 188 | !endif |
189 | |||
7443 | bpr | 190 | !if $execut=3 |
23 | reyssat | 191 | !if $confirm= |
2317 | bpr | 192 | !read lang/names.phtml.$modu_lang 4 |
1527 | bpr | 193 | !formradio confirm list 0,1 prompt $wims_name_yes,$wims_name_no |
23 | reyssat | 194 | <ul> |
195 | !else |
||
196 | !if $confirm=0 |
||
197 | !reset confirm |
||
198 | <ul><li> |
||
2317 | bpr | 199 | !href target=wims_internal module=devel/$wims_developer/$document $name_test |
200 | (<i> $name_gotomodtool |
||
201 | !href target=wims_internal module=adm/modtool&jobreq=flist&modreq=$document $wims_name_modtool |
||
23 | reyssat | 202 | </i>) |
203 | </li> |
||
204 | !endif |
||
205 | !endif |
||
206 | <li> |
||
2317 | bpr | 207 | !formradio execut list 1 prompt $name_comeback |
23 | reyssat | 208 | </li> |
209 | <li> |
||
1828 | bpr | 210 | !formradio execut list 0 prompt $name_transfer |
23 | reyssat | 211 | </li> |
212 | </ul> |
||
213 | !endif |
||
7269 | bpr | 214 | <p class="wimscenter wimsform"> |
6235 | bpr | 215 | <input type="submit" value="$wims_name_tosave" /> |
5835 | bpr | 216 | </p> |
5927 | bpr | 217 | |
7269 | bpr | 218 | |
5927 | bpr | 219 | !formend |
23 | reyssat | 220 | |
7269 | bpr | 221 | </div><!--end content 3--> |
5601 | obado | 222 | |
23 | reyssat | 223 | !if $wims_exec_error!=$empty |
5884 | bpr | 224 | <div class="wims_warning"><pre>$wims_exec_error</pre></div> |
23 | reyssat | 225 | !endif |
613 | schaersvoo | 226 | |
5601 | obado | 227 | |
23 | reyssat | 228 | !tail |
229 | |||
230 | !reset wims_exec_error wims_deposit |
||
231 | |||
5601 | obado | 232 |