Subversion Repositories wimsdev

Rev

Rev 8054 | Rev 15680 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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