Changeset 445
- Timestamp:
- 10/08/10 20:59:29 (13 years ago)
- Location:
- trunk/root/templates/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/includes/header.tt
r427 r445 22 22 <div id="header"> 23 23 <p id="title"><b>Epoll:</b> [% l('Web voting system') %]</p> 24 <form style="float: right" action="[% c.uri_for('/', c.req.path) %]" method="POST"> 25 [% INCLUDE 'includes/locale_select.tt' %] 26 <input type="submit"> 27 </form> 24 [% INCLUDE 'includes/locale_select.tt' %] 28 25 <p id="menu" style="clear: both;"> 29 26 <a href="[% c.uri_for('/') %]">[% l('Welcome') %]</a> :: -
trunk/root/templates/includes/locale_select.tt
r434 r445 1 1 <!-- $Id$ --> 2 <form style="float: right" action="[% c.uri_for('/', c.req.path) %]" method="POST"> 3 2 4 [% langs = [ 'fr', 'de' ] %] 3 5 <select name="[% varname || 'locale' %]"> … … 7 9 [% END %] 8 10 </select> 11 <input type="submit" value="[% l('Change language') %]"> 12 </form>
Note: See TracChangeset
for help on using the changeset viewer.