Ignore:
Timestamp:
12/17/09 09:26:21 (15 years ago)
Author:
nanardon
Message:
  • add locale selection
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/templates/includes/header.tt

    r278 r279  
    2828    <p id="title"><b>Epoll:</b> [% l('Web voting system') %]</p> 
    2929    <p id="now" style="float: right">[% l('Page generated the [_1]', c.model('Vote').dbtime) | html %]</p> 
    30     <p id="menu"> 
     30        <form style="float: right"> 
     31            <select name="locale"> 
     32            <option>C</option> 
     33            [% FOREACH l = [ 'fr' ] %] 
     34            <option[% " selected" IF locale == l %]>[% l | html %]</option> 
     35            [% END %] 
     36        </select><input type="submit"> 
     37        </form> 
     38    <p id="menu" style="clear: both;"> 
    3139    <a href="[% c.uri_for('/') %]">Acceuil</a> :: 
    3240    <a href="[% c.uri_for('/newpoll') %]">Créer un nouveau vote</a> 
Note: See TracChangeset for help on using the changeset viewer.