Rev 11682 | Rev 12706 | 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"> |
||
11678 | bpr | 4 | '<span class="tt">$fname</span>' $name_successdeletefile. |
11191 | bpr | 5 | </div> |
6 | !reset successdelete |
||
7 | !endif |
||
11441 | obado | 8 | |
9 | !if $successdelete=no |
||
10 | <div class="wims_msg alert"> |
||
11678 | bpr | 11 | '<span class="tt">$fname</span>' $name_failuredeletefile. ($check notitemof $dir) |
11441 | obado | 12 | </div> |
13 | !reset successdelete |
||
14 | !endif |
||
15 | |||
10237 | bpr | 16 | !if $success=yes |
17 | <div class="wims_msg success"> |
||
11678 | bpr | 18 | $name_successfile (<span class="tt">$bin_dir/$wims_deposit</span>) |
10237 | bpr | 19 | </div> |
11174 | bpr | 20 | !else |
12043 | bpr | 21 | !if $wims_deposit!=noname.file and $bin_job=deposit and $bin_dir!=$empty and $error!=bad_case |
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"> |
11682 | bpr | 40 | <label for="wims_deposit">$(name_depos[1])</label> |
7547 | bpr | 41 | !set wims_ref_class=wims_button_help float_right |
42 | !href cmd=help&special_parm=binfile&special_parm2=$doctest1 $wims_name_help |
||
11682 | bpr | 43 | <label for="bin_dir">$(name_depos[2])</label> |
7547 | bpr | 44 | !formselect bin_dir list $dir |
11682 | bpr | 45 | / <input type="file" id="wims_deposit" name="wims_deposit" size="30" /> |
7547 | bpr | 46 | </div> |
47 | <div class="wimscenter wimsform"> |
||
48 | <input type="submit" value="$wims_name_send" /> |
||
49 | </div> |
||
50 | </fieldset> |
||
5925 | bpr | 51 | !formend |
23 | reyssat | 52 | |
9932 | bpr | 53 | !if document isin $doctest1 |
54 | !!the script src2def should be launched for oefexercises also, but I do not see |
||
55 | !! the need for the moment |
||
56 | !set testsrc=!record 0 of wimshome/public_html/$devdir/$mod/doc/srctex/0index |
||
57 | !if $testsrc!=$empty |
||
58 | !form reply |
||
59 | !reset mkdoc |
||
60 | <input type="submit" name="mkdoc" value="$name_compile" /> |
||
61 | !set wims_ref_class=wims_button_help |
||
62 | !href cmd=help&special_parm=mkdoc $wims_name_help |
||
63 | !formend |
||
64 | !endif |
||
65 | !endif |
||
66 | |||
23 | reyssat | 67 | !if $bcnt>0 |
68 | $table_header |
||
1704 | bpr | 69 | <caption>$name_file</caption> |
11682 | bpr | 70 | $table_hdtr<th>$wims_name_name</th><th>$wims_name_action</th><th>$name_size</th></tr> |
23 | reyssat | 71 | !for i=1 to $bcnt |
72 | !set l=!line $i of $bfiles |
||
73 | !distribute items $l into n_,s_ |
||
74 | $table_tr |
||
4084 | bpr | 75 | <td class="wims_fname">$n_</td><td> |
11682 | 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 |
11682 | 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 |