Subversion Repositories wimsdev

Rev

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

Rev 13024 Rev 13318
Line 1... Line 1...
1
 
1
 
2
!if $fsize=$empty
2
!if $fsize=$empty
-
 
3
  <div class="wims_msg warning">$name_download1</div>
-
 
4
  !if $error!=file_too_large
-
 
5
    <p>$name_try_other_format:</p>
-
 
6
    <ul class="inline">
-
 
7
      !for f in zip,tgz,tar.gz
-
 
8
        !if $f!=$format
-
 
9
          <li>
-
 
10
          !set wims_ref_class=text_icon file
-
 
11
          !href cmd=reply&job=arch&job2=download&selection=all&format=$f $f
3
  $name_download1
12
          </li>
-
 
13
        !endif
-
 
14
      !next
-
 
15
    </ul>
4
  !exit
16
  !endif
-
 
17
  !goto selection
5
!endif
18
!endif
6
 
19
 
-
 
20
!if $error=$empty
7
$name_download2
21
  $name_download2
8
!getfile $fname.$format $fname.$format
22
  !getfile $fname.$format $fname.$format
9
 ($fsize K)
23
   ($fsize K)
10
 $name_download3
24
   $name_download3
-
 
25
!endif
11
 
26
 
12
!! you can always choose data in arch (CNIL compatibility)
27
!! you can always choose data in arch (CNIL compatibility)
13
!!!if $fsize<50 and all isitemof $selection
28
!!!if $fsize<50 and all isitemof $selection
14
!! !exit
29
!! !exit
15
!!!endif
30
!!!endif
16
 
31
:selection
17
!form reply
32
!form reply
18
  <input type="hidden" name="job" value="$job" />
33
  <input type="hidden" name="job" value="$job" />
19
  <input type="hidden" name="job2" value="$job2" />
34
  <input type="hidden" name="job2" value="$job2" />
20
  !if $fsize<500
35
  !if $fsize<$max_upload_size
21
    $name_download4
36
    $name_download4
22
  !else
37
  !else
23
    $name_download5
38
    $name_download5
24
  !endif
39
  !endif
25
 
40