Rev 7269 | Rev 7443 | 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> |
||
1828 | bpr | 26 | !set wims_menu_items=!append line modtool,1,module=adm/modtool\ |
27 | to $wims_menu_items |
||
23 | reyssat | 28 | !if robot isin $session |
29 | !exit |
||
30 | !endif |
||
31 | !header |
||
32 | |||
33 | !if $wims_developer=$empty |
||
5601 | obado | 34 | |
35 | |||
5619 | bpr | 36 | <div class="wims_content"> |
5601 | obado | 37 | |
2317 | bpr | 38 | <b>$module_title</b> |
39 | !read lang/names.phtml.$modu_lang 1 |
||
40 | !href cmd=help&special_parm=doc $name_documentation |
||
41 | $wims_name_or |
||
42 | !getfile latex2wimsdoc.pdf $name_pdf |
||
43 | . |
||
23 | reyssat | 44 | |
2317 | bpr | 45 | !read lang/names.phtml.$modu_lang 2 |
23 | reyssat | 46 | |
2317 | bpr | 47 | !form reply |
48 | $name_modtool |
||
5601 | obado | 49 | |
50 | |||
5835 | bpr | 51 | <table class="wimsnoborder wimscenter wimsform"> |
6235 | bpr | 52 | <tr><td>$wims_name_Login</td><td><input type="text" name="login" /></td></tr> |
1828 | bpr | 53 | <tr><td>$wims_name_Password</td><td> |
6235 | bpr | 54 | <input type="password" name="passwd" /> |
23 | reyssat | 55 | </td></tr></table> |
6235 | bpr | 56 | <p class="wimscenter"> <input type="submit" value="$wims_name_tosave" /></p> |
5927 | bpr | 57 | |
58 | !formend |
||
7269 | bpr | 59 | </div> <!--end content 1--> |
23 | reyssat | 60 | !tail |
61 | !exit |
||
5601 | obado | 62 | |
23 | reyssat | 63 | !endif |
64 | |||
5601 | obado | 65 | |
23 | reyssat | 66 | !if $error!=$empty |
5894 | bpr | 67 | <div class="wims_alertmsg"> |
5874 | bpr | 68 | !read lang/msg.phtml.$modu_lang |
7269 | bpr | 69 | </div> |
23 | reyssat | 70 | !endif |
71 | |||
5601 | obado | 72 | |
5619 | bpr | 73 | <div class="wims_content"> |
5601 | obado | 74 | |
2317 | bpr | 75 | <b>$module_title</b> |
76 | !read lang/names.phtml.$modu_lang 3 |
||
77 | |||
78 | !href cmd=help&special_parm=doc $name_documentation |
||
79 | . |
||
613 | schaersvoo | 80 | |
23 | reyssat | 81 | !set wims_form_method=file |
82 | !default !set execut=0 |
||
83 | !form reply |
||
84 | !if $execut!=3 |
||
2317 | bpr | 85 | $name_select_example |
86 | !getfile fichier_test.tex $name_latex |
||
23 | reyssat | 87 | , |
2317 | bpr | 88 | !getfile style.css $name_css |
23 | reyssat | 89 | , |
2317 | bpr | 90 | !getfile wims.sty $name_latex2wims |
23 | reyssat | 91 | , |
2317 | bpr | 92 | !getfile latex2wimsdoc.pdf $name_pdf |
93 | . |
||
23 | reyssat | 94 | !if $exemple!=1 |
2317 | bpr | 95 | $name_example |
1527 | bpr | 96 | !formradio exemple list 1,2 prompt $wims_name_yes,$wims_name_no |
23 | reyssat | 97 | !endif |
5883 | bpr | 98 | !endif |
23 | reyssat | 99 | |
5601 | obado | 100 | |
23 | reyssat | 101 | !if $execut=0 |
7269 | bpr | 102 | <h2 class="hh"> $name_step 1</h2> |
2317 | bpr | 103 | $name_transfer_wims |
6235 | bpr | 104 | <input type="file" name="wims_deposit" /> |
5601 | obado | 105 | |
23 | reyssat | 106 | !if $test!=$empty and ($execut=0 or $cnt_fichier=1) |
2317 | bpr | 107 | $name_filet: |
7269 | bpr | 108 | <pre class="prel"> |
23 | reyssat | 109 | !for i = 1 to $cnt_fichier |
110 | $(fichiers[$i]) ($(date[$i])) |
||
111 | !next |
||
112 | </pre> |
||
113 | !endif |
||
5601 | obado | 114 | |
23 | reyssat | 115 | <ul> |
116 | <li> |
||
117 | |||
1828 | bpr | 118 | !formradio execut list 0 prompt $name_newtransfer |
23 | reyssat | 119 | </li><li> |
2317 | bpr | 120 | !formradio execut list 1 prompt $name_newstep |
23 | reyssat | 121 | </li> |
122 | </ul> |
||
123 | !endif |
||
124 | |||
125 | |||
126 | |||
5835 | bpr | 127 | |
23 | reyssat | 128 | !if $execut=1 |
129 | |||
7269 | bpr | 130 | <h2 class="hh"> $name_step 1</h2> |
23 | reyssat | 131 | !if $cnt_fichier >0 |
2317 | bpr | 132 | $name_youcan |
133 | !formcheckbox execut list 0 prompt $name_newtransfer |
||
23 | reyssat | 134 | !else |
2317 | bpr | 135 | $name_youmust |
23 | reyssat | 136 | !default !set execut=0 |
2317 | bpr | 137 | !formradio execut list 0 prompt $name_atleast |
23 | reyssat | 138 | |
5835 | bpr | 139 | <p class="wimscenter"> |
6235 | bpr | 140 | <input type="submit" value="$wims_name_tosave" /> |
5835 | bpr | 141 | </p> |
5927 | bpr | 142 | |
143 | !formend |
||
7269 | bpr | 144 | </div> <!--end content 2--> |
23 | reyssat | 145 | !exit |
146 | !endif |
||
7269 | bpr | 147 | <h2 class="hh"> $name_step 2</h2> |
2317 | bpr | 148 | $name_selectmain |
23 | reyssat | 149 | <ul> |
150 | !for i = 1 to $cnt_fichier |
||
151 | !set l=!item $i of $fichiers |
||
152 | <li> |
||
2317 | bpr | 153 | !formradio principal list $i prompt $(fichiers[$i]) ($name_transferdate $(date[$i])) |
23 | reyssat | 154 | </li> |
155 | !next |
||
156 | </ul> |
||
7275 | bpr | 157 | !! $name_sheet |
158 | !! !formradio wksheet list 1,2,3,4,5,6,7,8,9 |
||
7269 | bpr | 159 | <h2 class="hh"> $name_step 3</h2> |
2317 | bpr | 160 | |
23 | reyssat | 161 | !if $list_module!=$empty |
2317 | bpr | 162 | $name_namedocument: |
5793 | bpr | 163 | <p class="wimscenter"> |
23 | reyssat | 164 | !formselect document list $choix,$list_module |
165 | </p> |
||
2317 | bpr | 166 | $name_newmodule |
23 | reyssat | 167 | !else |
2317 | bpr | 168 | <i>$name_createfirst</i> |
23 | reyssat | 169 | !endif |
2317 | bpr | 170 | !href target=wims_test module=adm/modtool&cmd=reply&jobreq=create Modtool |
23 | reyssat | 171 | |
172 | !if $document notsametext $choix |
||
5883 | bpr | 173 | <p><span class="wims_warning">$wims_name_warning</span> : $name_warning</p> |
23 | reyssat | 174 | !else |
5883 | bpr | 175 | <p><span class="wims_warning">$wims_name_warning</span> : $name_select_warning.</p> |
23 | reyssat | 176 | !endif |
7269 | bpr | 177 | <h2 class="hh"> $name_step 4</h2> |
2317 | bpr | 178 | !formradio execut list 2 prompt $name_exec |
23 | reyssat | 179 | |
180 | !endif |
||
181 | |||
182 | !if $execut=3 |
||
183 | !if $confirm= |
||
2317 | bpr | 184 | !read lang/names.phtml.$modu_lang 4 |
1527 | bpr | 185 | !formradio confirm list 0,1 prompt $wims_name_yes,$wims_name_no |
23 | reyssat | 186 | <ul> |
187 | !else |
||
188 | !if $confirm=0 |
||
189 | !reset confirm |
||
190 | <ul><li> |
||
2317 | bpr | 191 | !href target=wims_internal module=devel/$wims_developer/$document $name_test |
192 | (<i> $name_gotomodtool |
||
193 | !href target=wims_internal module=adm/modtool&jobreq=flist&modreq=$document $wims_name_modtool |
||
23 | reyssat | 194 | </i>) |
195 | </li> |
||
196 | !endif |
||
197 | !endif |
||
198 | <li> |
||
2317 | bpr | 199 | !formradio execut list 1 prompt $name_comeback |
23 | reyssat | 200 | </li> |
201 | <li> |
||
1828 | bpr | 202 | !formradio execut list 0 prompt $name_transfer |
23 | reyssat | 203 | </li> |
204 | </ul> |
||
205 | !endif |
||
7269 | bpr | 206 | <p class="wimscenter wimsform"> |
6235 | bpr | 207 | <input type="submit" value="$wims_name_tosave" /> |
5835 | bpr | 208 | </p> |
5927 | bpr | 209 | |
7269 | bpr | 210 | |
5927 | bpr | 211 | !formend |
23 | reyssat | 212 | |
7269 | bpr | 213 | </div><!--end content 3--> |
5601 | obado | 214 | |
23 | reyssat | 215 | !if $wims_exec_error!=$empty |
5884 | bpr | 216 | <div class="wims_warning"><pre>$wims_exec_error</pre></div> |
23 | reyssat | 217 | !endif |
613 | schaersvoo | 218 | |
5601 | obado | 219 | |
23 | reyssat | 220 | !tail |
221 | |||
222 | !reset wims_exec_error wims_deposit |
||
223 | |||
5601 | obado | 224 |