On Fri, 7 Jan 2005, Incze Lajos wrote:

| > > #if ($SHOW_RESULTS)
| > >  #foreach ($result in $list_of_results)
| > >   $result
| > >  #end
| > > #else
| > >   No results to show!
| > > #end
| >
| > i don't see how doing
| >
| > #foreach( $result in $list_of_results )
| >   $result
| > #else
| >   No results to show!
| > #end
|
| Maybe one can invent a more appropriate keyword instead
| of overloading "else" (e.g. "empty" or sg. like that).

#onempty / #ifempty / #empty

#onnull / #ifnull / #null

Endre


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to