<h2 class="wims_subtitle">--- $title ---</h2>
!if $successdelete=yes
<div class="wims_msg success">
'<span class="tt">$fname</span>' $name_successdeletefile.
</div>
!endif
!if $successdelete=no
<div class="wims_msg alert">
'<span class="tt">$fname</span>' $name_failuredeletefile. ($check notitemof $dir)
</div>
!endif
!if $success=yes
<div class="wims_msg success">
$name_successfile (<span class="tt">$bin_dir/$wims_deposit</span>)
</div>
!else
!if $wims_deposit!=noname
.file and
$bin_job=deposit and
$bin_dir!=$empty and
$error!=bad_case
<div class="wims_msg alert">
$name_nosuccessfile
<code>/
..</code>
</div>
!endif
!endif
!set wims_form_method
=file
!form reply
<input type="hidden" name="bin_job" value="deposit">
!set doctest1=!module category devel/$auth_login/$mod
!if oef isin $doctest1
!set doctest1=oef
!endif
<fieldset class="property_fields halfwidth blockcenter">
<legend>$wims_name_addfile</legend>
<div class="field box">
<label for="wims_deposit">$(name_depos[1])</label>
!set wims_ref_class=wims_button_help float_right
!href cmd=help&special_parm=binfile&special_parm2=$doctest1 $wims_name_help
<label for="bin_dir">$(name_depos[2])</label>
!formselect bin_dir
list $dir
/ <input type="file" id="wims_deposit" name="wims_deposit" size="30">
</div>
<div class="wimscenter wimsform">
<input type="submit" value="$wims_name_send">
</div>
</fieldset>
!formend
!if document isin $doctest1
!!the script src2def should be launched for oefexercises also, but I do not see
!! the need for the moment
!set testsrc=!record 0 of wimshome/public_html/$devdir/$mod/doc/srctex/0index
!if $testsrc!=$empty
!form reply
<input type="submit" name="mkdoc" value="$name_compile">
!set wims_ref_class=wims_button_help
!href cmd=help&special_parm=mkdoc $wims_name_help
!formend
!endif
!endif
!if $bcnt>0
!set table_id=binfile_list
!set table_class=sortable
$table_header
<caption>$name_file</caption>
<thead>
$table_hdtr
<th scope="col">$wims_name_name</th><th scope="col">$wims_name_action</th><th scope="col">$name_size</th>
</tr>
</thead>
<tbody>
!for i=1 to $bcnt
!set l=!line $i of $bfiles
!distribute items $l into n_,s_
$table_tr
<td class="wims_fname">$n_</td>
<td>
<a class="wims_button" target="wims_external" href="$devdir/$mod/$n_">$wims_name_Show</a>
!set wims_ref_class=wims_button wims_warning
!href cmd=reply&bin_job=erase&fname=$n_ $wims_name_erase
</td>
<td>$s_</td>
</tr>
</tbody>
$table_end
!read tablesort.phtml
!else
<p>$name_nofile</p>
!endif