Subversion Repositories wimsdev

Rev

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

Rev 4640 Rev 5601
Line 64... Line 64...
64
  	!endif
64
  	!endif
65
  !endif
65
  !endif
66
!endif
66
!endif
67
 
67
 
68
!if $job isitemof $allowed_file_jobs
68
!if $job isitemof $allowed_file_jobs
69
 !if job=getclasstgz
69
 !if $job isitemof getclasstgz,getibookwidget
70
 	!shortout Content-type: application/gzip\
70
 	!shortout $header_zip\
71
Content-disposition: attachment; filename="getclass.tgz"\
71
Content-Disposition: attachment; filename=$fname;
72
 
72
 
73
 !else
73
 !else
74
 	!shortout $header\
74
 	!shortout $header\
75
 
75
 
76
 !endif
76
 !endif
77
 
77
 
78
 !sh cat $wims_home/$fname
78
 !sh cat $wims_home/$fname
79
 
79
 
80
 !exit
80
 !exit
81
!endif
81
!endif
82
 
82
 
83
 
83
 
84
!if $ident_type notwordof $notplaintext
84
!if $ident_type notwordof $notplaintext