Rev 9932 | Rev 11174 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5874 | bpr | 1 | <div class="wimscenter">--- $title ---</div> |
10237 | bpr | 2 | !if $success=yes |
3 | <div class="wims_msg success"> |
||
4 | $name_successfile |
||
5 | </div> |
||
6 | !endif |
||
23 | reyssat | 7 | !set wims_form_method=file |
8 | !form reply |
||
6223 | bpr | 9 | <input type="hidden" name="bin_job" value="deposit" /> |
7282 | bpr | 10 | !set doctest1=!module category devel/$auth_login/$mod |
11 | !if oef isin $doctest1 |
||
12 | !set doctest1=oef |
||
13 | !endif |
||
7547 | bpr | 14 | |
15 | <fieldset class="property_fields halfwidth blockcenter"> |
||
7909 | bpr | 16 | <legend>$wims_name_addfile</legend> |
7547 | bpr | 17 | <div class="field box"> |
18 | <label>$name_depos</label> |
||
19 | !set wims_ref_class=wims_button_help float_right |
||
20 | !href cmd=help&special_parm=binfile&special_parm2=$doctest1 $wims_name_help |
||
21 | !formselect bin_dir list $dir |
||
22 | / <input type="file" name="wims_deposit" size="30" /> |
||
23 | </div> |
||
24 | <div class="wimscenter wimsform"> |
||
25 | <input type="submit" value="$wims_name_send" /> |
||
26 | </div> |
||
27 | </fieldset> |
||
5925 | bpr | 28 | !formend |
23 | reyssat | 29 | |
9932 | bpr | 30 | !if document isin $doctest1 |
31 | !!the script src2def should be launched for oefexercises also, but I do not see |
||
32 | !! the need for the moment |
||
33 | !set testsrc=!record 0 of wimshome/public_html/$devdir/$mod/doc/srctex/0index |
||
34 | !if $testsrc!=$empty |
||
35 | !form reply |
||
36 | !reset mkdoc |
||
37 | <input type="submit" name="mkdoc" value="$name_compile" /> |
||
38 | !set wims_ref_class=wims_button_help |
||
39 | !href cmd=help&special_parm=mkdoc $wims_name_help |
||
40 | !formend |
||
41 | !endif |
||
42 | !endif |
||
43 | |||
23 | reyssat | 44 | !if $bcnt>0 |
45 | $table_header |
||
1704 | bpr | 46 | <caption>$name_file</caption> |
47 | $table_hdtr<th>$wims_name_name</th><th> </th><th> $name_size </th></tr> |
||
23 | reyssat | 48 | !for i=1 to $bcnt |
49 | !set l=!line $i of $bfiles |
||
50 | !distribute items $l into n_,s_ |
||
51 | $table_tr |
||
4084 | bpr | 52 | <td class="wims_fname">$n_</td><td> |
3075 | bpr | 53 | |
5832 | bpr | 54 | <a class="wims_button" target="wims_external" href="$devdir/$mod/$n_">$wims_name_Show</a> |
7973 | bpr | 55 | !set wims_ref_class=wims_button wims_warning |
1538 | bpr | 56 | !href cmd=reply&bin_job=erase&fname=$n_ $wims_name_erase |
5832 | bpr | 57 | </td> |
6222 | bpr | 58 | <td>$s_</td> |
23 | reyssat | 59 | </tr> |
60 | !next i |
||
61 | $table_end |
||
62 | !else |
||
5832 | bpr | 63 | <p>$name_nofile</p> |
23 | reyssat | 64 | !endif |
65 | |||
66 | |||
5832 | bpr | 67 | |
23 | reyssat | 68 | !reset bin_job |
69 |