[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] If Locale Statement
In-Reply-To: <v04210109b40294ee5d22@[207.159.110.127]>
In article <v04210109b40294ee5d22@[207.159.110.127]>, ven@pragakhan.com
(Victor Nolton) wrote:
> ****** message to minivend-users from Victor Nolton
> <ven@pragakhan.com ******
>
> I haven't seen any informaiton on this in the docs or found anything
> in the archives about this.
>
> I have small graphic images for each locale setup (to allow user to
> click on). If the user is in English mode as a default. I would like
> an alternate image to be displayed so they see what locale they are
> in.
>
> so for english I have a red dollar sign logo and a black one. When
> they are using english the logo will be the red one. If they select a
> different local, I would like it to change to black.
>
> Does anyone know any condition statements for locale to do this.?
>
> [if locale eq en_US]
> <img src="money/red-us.gif" border=0 alt="US" width=25 height=25>
> [else]
> [page process/locale/en_US/page/index]<img src="money/black-us.gif"
> border=0 alt="US" width=25 height=25>[/page]
> [/else]
> [/if]
[if scratch mv_locale eq en_US]
American Dollar
[/if]
--cut