obsolete.ChilliProject/app/views/projects/export_issues_pdf.rfpdf
Jean-Philippe Lang 2b86ef8e28 various modifications to prevent xss
- validation of names and labels against /^[\w\s\'\-]*$/i
- html entities encoding

git-svn-id: http://redmine.rubyforge.org/svn/trunk@99 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-17 08:10:18 +00:00

10 lines
234 B
Plaintext

<% pdf=IfpdfHelper::IFPDF.new
pdf.AliasNbPages
pdf.footer_date = format_date(Date.today)
@issues.each {|i|
pdf.AddPage
render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => i }
}
%>
<%= pdf.Output %>