Subversion Repositories wimsdev

Rev

Rev 16231 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
!set MAX=102400
2
 
3
!if $download=yes
13545 obado 4
  $name_file ($flen $name_bytes):
5
  <p class="wimscenter">
6
    !getfile $fname $file
7
  </p>
8
  !goto end2
23 reyssat 9
!endif
10
 
11
!if $erase=ask
13545 obado 12
  $name_erase
17180 bpr 13
  <span class="tt wims_fname">$file</span>?<br>
13545 obado 14
  <span class="small">($flen $name_bytes, $facc, $name_last $fdat)</span>
15680 reyssat 15
  <p class="wimscenter" style="font-weight:bold;">
13545 obado 16
    <font size="+2">
17
    !set wims_ref_class=wims_button wims_warning
18
    !href cmd=reply&job=$job&job2=eraseconfirm $wims_name_yes
19
    &nbsp;&nbsp;
20
    !set wims_ref_class=wims_button
21
    !href cmd=reply&job=fs $wims_name_no
22
    </font>
17180 bpr 23
  </p><hr>
23 reyssat 24
 !goto end2
25
!endif
26
 
27
!if $ftype=image
13545 obado 28
  <span class="wims_fname">$file</span> $name_image. ($flen $name_bytes,
29
  $facc, $name_last $fdat)
30
  !if $pubimg!=$empty
31
    <p class="wimscenter">
17180 bpr 32
      <img border="2" src="$pubimg" alt="$pubimg">
13545 obado 33
    </p>
34
  !endif
35
  !goto end
23 reyssat 36
!endif
37
 
38
!if $ftype=binary
13545 obado 39
  <span class="wims_fname">$file</span> $name_binary. ($flen $name_bytes,
40
  $facc, $name_last $fdat)
41
  !goto end
23 reyssat 42
!endif
43
 
44
!if $flen>$MAX
13545 obado 45
  <span class="wims_fname">$file</span> ($flen $name_bytes)
46
  $name_toolong
47
  !goto end
23 reyssat 48
!endif
7973 bpr 49
 
23 reyssat 50
!set wims_form_method=post
51
!form reply
17180 bpr 52
  <input type="hidden" name="job" value="file">
53
  <input type="hidden" name="job2" value="first">
13545 obado 54
  <div class="wimscenter">
17180 bpr 55
    $name_content <span class="tt wims_fname">$file</span> <br>
56
    <span class="small wimstech">($flen $name_bytes, $facc, $name_last $fdat $fsec)</span> <br>
13545 obado 57
    !if $modifok!=yes
17180 bpr 58
      $name_distrib <br>
13545 obado 59
      !set textarea_ro=readonly
60
    !endif
61
    !mexec scripts/textarea.sh
17180 bpr 62
    <br>
13545 obado 63
    !if $modifok=yes
17180 bpr 64
      <input type="submit" name="save" value="$wims_name_tosave">
65
      <input type="submit" name="abandon" value="$wims_name_giveup" class="wims_secondary_button">
13545 obado 66
    !endif
67
  </div>
5927 bpr 68
!formend
69
 
23 reyssat 70
:end
5754 bpr 71
<div class="wimscenter">
13545 obado 72
  !href cmd=reply&job=file&job2=download $name_download
73
  &nbsp;
74
  !if $modifok=yes
75
    !set wims_ref_class=wims_button wims_warning
76
    !href cmd=reply&job=file&job2=erase $wims_name_erase
77
    &nbsp;
78
  !endif
79
</div>
23 reyssat 80
 
81
:end2
13545 obado 82
<div class="wimscenter">
83
  !set wims_ref_class=wims_button wims_secondary_button
84
  !href cmd=reply&job=fs $wims_name_back2
5754 bpr 85
</div>