Re: [SMARTY] html_select_date and css-class

From: Date: Thu, 01 May 2003 15:33:16 +0000
Subject: Re: [SMARTY] html_select_date and css-class
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9438@lists.php.net to get a copy of this message
On Thu, May 01, 2003 at 05:19:00PM +0200, Tobias Daur wrote: > Hi, > > I'm using the nice feature "html_select_date" the first time and I'm > very impressed. > But I will have to give the select-tag a css-class, to give the text in > the drop-down-list the right type. > > My manually made tag looks like this: > <select name="foo" class="text"> > > I can't find an attribute to html_select_date, which generates a > class-attribute. Who know, how to solve this problem? see all_extra, day_extra etc. attributes in http://smarty.php.net/manual/en/language.function.html.select.date.php so {html_select_date all_extra='class="text"'} seems to be what you want. HTH messju > thx > > Tobias > > -- > Tobias Daur :: daur@gmx.de > An der Meerwiese 100 :: 48157 Münster :: Germany > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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