source: trunk/root/templates/includes/header.tt @ 275

Last change on this file since 275 was 275, checked in by nanardon, 14 years ago
  • add code to support i18n
  • Property svn:keywords set to Id Rev
File size: 1.7 KB
RevLine 
[3]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<title>[% page.title %]</title>
[36]5<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
[35]6<link rel="stylesheet" href="[% c.uri_for('/static', 'vote.css') %]" type="text/css">
[3]7<link rel="icon" href="[%- c.uri_for('/static', 'images', 'favicon.ico') -%]" type="image/x-icon">
8
[255]9<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
10    'controls.js') %]"></SCRIPT>
11<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
12    'dragdrop.js') %]"></SCRIPT>
13<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
14    'effects.js') %]"></SCRIPT>
15<script language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
16    'prototype.js') %]"></SCRIPT>
[61]17
[262]18<link rel="stylesheet" href="[% c.uri_for('/static', 'dhtmlxCalendar', 'dhtmlxcalendar.css') %]" type="text/css">
19<script language="JavaScript" src="[% c.uri_for('/static', 'dhtmlxCalendar',
20    'dhtmlxcommon.js') %]"></SCRIPT>
21<script language="JavaScript" src="[% c.uri_for('/static', 'dhtmlxCalendar',
22    'dhtmlxcalendar.js') %]"></SCRIPT>
23
[3]24</head>
25<body>
[227]26<!-- $Id$ -->
[45]27<div id="header">
[275]28    <p id="title"><b>Epoll:</b> [% c.loc('systÚme de vote en ligne') %]</p>
[109]29    <p id="now" style="float: right">Page générée le [% c.model('Vote').dbtime | html %]</p>
[45]30    <p id="menu">
[252]31    <a href="[% c.uri_for('/') %]">Acceuil</a> ::
[45]32    <a href="[% c.uri_for('/newpoll') %]">Créer un nouveau vote</a>
33    [% IF voteid %]
[226]34    :: <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]">
[206]35        Votre vote: [% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %]
[45]36    </a>
37    [% END %]
38    </p>
39</div>
Note: See TracBrowser for help on using the repository browser.