source: trunk/root/templates/includes/locale_select.tt @ 446

Last change on this file since 446 was 446, checked in by misc, 14 years ago
  • put the style outside of the widget to change language
  • Property svn:keywords set to Id
File size: 363 bytes
Line 
1<!-- $Id$ -->
2<form action="[% c.uri_for('/', c.req.path) %]" method="POST">
3
4[% langs = [ 'fr', 'de' ] %]
5<select name="[% varname || 'locale' %]">
6    <option>C</option>
7[% FOREACH lang = langs.sort %]
8    <option[% " selected" IF locale == lang %]>[% lang | html %]</option>
9[% END %]
10</select>
11<input type="submit" value="[% l('Change language') %]">
12</form>
Note: See TracBrowser for help on using the repository browser.