Re[2]: [SMARTY] SMARTY and PDF

From: Date: Fri, 26 Apr 2002 06:23:36 +0000
Subject: Re[2]: [SMARTY] SMARTY and PDF
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3894@lists.php.net to get a copy of this message
oh> A template containing things like that: oh> {pdf_init} oh> {settitle title=$TITLE} oh> {setauthor author=$AUTHOR} oh> {imageprint src=$SRC x=10 y=20 w=$WIDTH h=$HEIGHT type=jpg} oh> {cellprint w=$CELL_WIDTH h=$CELL_HEIGHT text=$TEXT border=0 align=center} oh> {pdf_print} oh> I KNOW!!!!!!!!! It's not a template because it only contains calls to smarty oh> custom functions but it will allow us to keep exactly the same variable oh> assignation php script.... oh> I do not know if it's useless but I'm just thinking of a way to print some oh> pages of my web site (outputting PDF files) without changing my php script oh> which assign variables to smarty. Hmmmm, yes, in the end it is not that bad. Why not.

« previous php.smarty.general (#3894) next »