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