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