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