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