Index: openacs-4/packages/attendance/bin/trml2pdf/trml2pdf/color.pyc =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attendance/bin/trml2pdf/trml2pdf/color.pyc,v diff -u -r1.1 -r1.2 --- openacs-4/packages/attendance/bin/trml2pdf/trml2pdf/color.pyc 2 Apr 2006 21:21:06 -0000 1.1 +++ openacs-4/packages/attendance/bin/trml2pdf/trml2pdf/color.pyc 5 Apr 2006 01:49:01 -0000 1.2 @@ -1,5 +1,5 @@ ;� -�/Dc@sMdklZdkZei�aeid�Zeid�Zd�ZdS((scolorsNs$\(([0-9\.]*),([0-9\.]*),([0-9\.]*)\)sI#([0-9a-zA-Z][0-9a-zA-Z])([0-9a-zA-Z][0-9a-zA-Z])([0-9a-zA-Z][0-9a-zA-Z])cCs�|ti�jo t|Snti|d�}|o>t|id��t|id��t|id��fSnti|d�}|oTt gi +B@0Dc@sMdklZdkZei�aeid�Zeid�Zd�ZdS((scolorsNs$\(([0-9\.]*),([0-9\.]*),([0-9\.]*)\)sI#([0-9a-zA-Z][0-9a-zA-Z])([0-9a-zA-Z][0-9a-zA-Z])([0-9a-zA-Z][0-9a-zA-Z])cCs�|ti�jo t|Snti|d�}|o>t|id��t|id��t|id��fSnti|d�}|oTt gi }t dd�D],}|tt|i|�d��d�q�~�SntiSdS(Niiiiiii�(scol_strsallcolsskeyssregex_tssearchsressfloatsgroupsregex_hstuplesappends_[1]srangesisintscolorssred(scol_strsisress_[1]((sI/var/lib/aolserver/hub/packages/attendance/bin/trml2pdf/trml2pdf/color.pysgets >T( s reportlab.libscolorssresgetAllNamedColorssallcolsscompilesregex_tsregex_hsget(sregex_tsgetsrescolorssregex_h((sI/var/lib/aolserver/hub/packages/attendance/bin/trml2pdf/trml2pdf/color.pys?s Index: openacs-4/packages/attendance/bin/trml2pdf/trml2pdf/utils.pyc =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attendance/bin/trml2pdf/trml2pdf/utils.pyc,v diff -u -r1.1 -r1.2 --- openacs-4/packages/attendance/bin/trml2pdf/trml2pdf/utils.pyc 2 Apr 2006 21:21:06 -0000 1.1 +++ openacs-4/packages/attendance/bin/trml2pdf/trml2pdf/utils.pyc 5 Apr 2006 01:49:01 -0000 1.2 @@ -1,5 +1,5 @@ ;� -�/Dc@s�dkZdkZd�Zeid�eiiifeid�eiiifeid�eiiifeid�dfgad�Z e +B@0Dc@s�dkZdkZd�Zeid�eiiifeid�eiiifeid�eiiifeid�dfgad�Z e d�Z d �Z hd �Z dS( NcCsFd}x5|iD]*}|i|ijo||i}qqW|SdS(Ns(srcsnodes Index: openacs-4/packages/attendance/lib/attendance-portrait.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attendance/lib/attendance-portrait.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/attendance/lib/attendance-portrait.adp 2 Apr 2006 21:21:07 -0000 1.1 +++ openacs-4/packages/attendance/lib/attendance-portrait.adp 5 Apr 2006 01:49:01 -0000 1.2 @@ -24,9 +24,11 @@ height="1in"/> - - + @@ -111,6 +113,9 @@ @signature_2;noquote@ @signature_3;noquote@ + + + @signature_4;noquote@ @signature_5;noquote@ Index: openacs-4/packages/attendance/lib/cp-attendance-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attendance/lib/cp-attendance-postgresql.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/attendance/lib/cp-attendance-postgresql.xql 4 Apr 2006 01:28:44 -0000 1.2 +++ openacs-4/packages/attendance/lib/cp-attendance-postgresql.xql 5 Apr 2006 01:49:01 -0000 1.3 @@ -34,7 +34,7 @@ where cr.revision_id = et.revision_id and grade_item_id = :grade_item_id and cri.live_revision = et.task_id - and et.mimre_type = crmt.mime_type + and et.mime_type = crmt.mime_type order by due_date asc Index: openacs-4/packages/attendance/www/admin/certificates.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attendance/www/admin/certificates.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/attendance/www/admin/certificates.tcl 3 Apr 2006 01:11:14 -0000 1.2 +++ openacs-4/packages/attendance/www/admin/certificates.tcl 5 Apr 2006 01:49:01 -0000 1.3 @@ -22,7 +22,7 @@ set package_id [ad_conn package_id] # setup multirow of user data - +set user_id [split $user_id] ad_form -name certificates \ -html { enctype multipart/form-data } \ -export {user_id community_id} \ @@ -192,7 +192,7 @@ ad_return_complaint 1 "$errmsg" } - ns_set put [ad_conn outputheaders] file-disposition "certificates.pdf" + ns_set put [ad_conn outputheaders] content-disposition "attachment; filename=certificates-[util_text_to_url -text ${community_name}]-[clock format [clock seconds] -format "%Y%m%d-%H%M"].pdf" ns_returnfile 200 application/pdf $pdf_tmpname file delete $rml_tmpname file delete $pdf_tmpname