Subversion Repositories wimsdev

Rev

Rev 13318 | Rev 15057 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  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
  12.           </li>
  13.         !endif
  14.       !next
  15.     </ul>
  16.   !endif
  17.   !goto selection
  18. !endif
  19.  
  20. !if $error=$empty
  21.   $name_download2
  22.   !getfile $fname.$format $fname.$format
  23.    ($fsize K)
  24.    $name_download3
  25. !endif
  26.  
  27. !! you can always choose data in arch (CNIL compatibility)
  28. !!!if $fsize<50 and all isitemof $selection
  29. !! !exit
  30. !!!endif
  31. :selection
  32. !form reply
  33.   <input type="hidden" name="job" value="$job" />
  34.   <input type="hidden" name="job2" value="$job2" />
  35.   !if $fsize<$max_upload_size
  36.     $name_download4
  37.   !else
  38.     $name_download5
  39.   !endif
  40.  
  41.   <script>
  42.     !read arch/select_all.js
  43.   </script>
  44.   !set selection=$select
  45.   !set nb_select=!itemcnt $select
  46.   !set nb_tot=!itemcnt $reclist
  47.  
  48.   <div class="check_all_selection">
  49.     <input type="checkbox" onClick="toggle()" id="check_all_selection"
  50.     !if $nb_select >= $nb_tot
  51.       checked
  52.     !endif
  53.     /><label for="check_all_selection">$name_toggle_all</label>
  54.   </div>
  55.   !set wims_html_mode=div
  56.   <div class="arch_filters">
  57.     !formcheckbox selection list $reclist prompt $tot
  58.   </div>
  59.   <p>$name_selective1 <input type="submit" value="$name_selective2" />
  60.   $name_selective3
  61.   </p>
  62.   <div class="wims_msg info">
  63.     !read lang/names.phtml.$moduclass_lang download
  64.   </div>
  65. !formend
  66.