[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] Locale Question
****** message to minivend-users from Victor Nolton <ven@pragakhan.com> ******
I've never tinkered with locale much. BUT I got the whole thing
working (golf clap). I am curious, below is the code I use to switch
currencies.
I Have [setlocale en_US] in my index.html page but that doesn't seem
to trigger the code below. which is sort of a problem BUT, my
question is.. With the code below how could I code it so that if NO
locales are set it displays an additional graphic to state to PLEASE
select a currency?
So i need to put the code all inside of a IF Statement?
Suggestions are welcomed.
Ven
<table border="0" width="120" cellspacing="0" cellpadding="0">
<tr>
<td align=center><font face="arial">
[if scratch mv_locale eq en_US]
<img src="money/busdollars.gif" border=0 alt="You Are Using
US Dollars" width=120 height=40>
[else]
[page process/locale/en_US/page/index]<img
src="money/usdollars.gif" border=0 alt="Click Here To Use US Dollars"
width=120 height=40>[/page]
[/else]
[/if]
</font></td>
</tr>
<tr>
<td align=center><font face="arial">
[if scratch mv_locale eq euro_Euro]
<img src="money/beuro.gif" border=0 alt="You Are Using Euro"
width=120 height=40>
[else]
[page process/locale/euro_Euro/page/index]<img src="money/euro.gif"
border=0 alt="Click Here To Use Euro" width=120 height=40>[/page]
[/else]
[/if]
</font></td>
</tr>
</table>
Ven's News (Bookmark It) : http://www.vensnews.com
Ven (ven@pragakhan.com) _________________ http://ven.pragakhan.com __
AOL: WebmstrVen Praga Khan's Official Website ICQ: 8321393
http://www.pragakhan.com
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list