nameless params?

From: Date: Tue, 20 Nov 2001 15:28:13 +0000
Subject: nameless params?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1989@lists.php.net to get a copy of this message
Hello, since I caused quite some dust with my question about alternative looping, I might as well add another question I was wondering about. :) If a tag has just one parameter, is it possible to leave out the name of the parameter? For example, if I create a custom function like this: {img src="picture.jpg"} would it be possible to do this: {img picture.jpg} ? Ok, flame me for completely abusing the templatelanguage, but if I still want to do it, would it be possible? Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

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