Fw: [SMARTY-DEV] function.html_options.php

From: Date: Thu, 04 Apr 2002 15:48:41 +0000
Subject: Fw: [SMARTY-DEV] function.html_options.php
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-19@lists.php.net to get a copy of this message
Monte, Should html_select_date be a function of the template engine? Should popup? Even html_select_time? Or html_select_date should have the reverse_years attribute? Tell-me, whaths the "why" of Custom Functions? Isn't give to Designers an option to Customize what the Programmers set? Why Smarty have IF/ELSE, or the Assign? I dont undestand why you are asking for thoughts about a Smarty feature. Sort the array is something usefull to Display the content! > ----- Original Message ----- > From: "Monte Ohrt" <monte@ispi.net> > To: "Roberto Berto" <roberto@berto.net> > Cc: <smarty-dev@lists.php.net> > Sent: Thursday, April 04, 2002 11:25 AM > Subject: Re: [SMARTY-DEV] function.html_options.php > > > > Hmm, should sorting assigned arrays be a function of the template > > engine? I would think that the template engine is responsible for the > > display of the content, but not responsible for the content structure. > > > > I'd like to hear some of your thoughts. > > > > Monte > > > > Roberto Berto wrote: > > > Hi guys, > > > > > > I change the html.options custom function. > > > > > > Monte, please add to the oficial release. If I has a CVS account I > myself > > > could add this, but, I alright requested it. Tell-me, Monte/Andrei, the > > > DocBook documentation is allways up-to-date at CVS or we need send the > > > DocBook changes to someone? > > > > > > Now it have a new attribute called "sort". There are 4 values to sort: > keys, > > > rkeys, vals, rvals. The purpose is sort the array options. > > > > > > keys - will sort the array options using the ksort, so the options will > be > > > sorted by key. > > > > > > > > > > > > > > -- > > Monte Ohrt <monte@ispi.net> > > Director of Technology, ispi Inc. > > > > > > -- > > Smarty Development Mailing List (http://smarty.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > >

« previous php.smarty.dev (#19) next »