Changeset 276 for trunk


Ignore:
Timestamp:
12/17/09 08:18:32 (14 years ago)
Author:
nanardon
Message:
  • chomp whitespace
  • add macro for locales
Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Epoll/View/Latex.pm

    r242 r276  
    1212    POST_PROCESS => 'includes/footer.tt', 
    1313    PLUGIN_BASE => 'Epoll::Template::Plugin', 
     14    POST_CHOMP => 1, 
     15    PRE_CHOMP => 1, 
    1416); 
    1517 
  • trunk/lib/Epoll/View/TT.pm

    r242 r276  
    99    TEMPLATE_EXTENSION => '.tt', 
    1010    INCLUDE_PATH => Epoll->path_to( 'root', 'templates' ), 
    11     PRE_PROCESS => 'includes/header.tt', 
     11    PRE_PROCESS => [ 'includes/header.tt', 'includes/loc.tt', ], 
    1212    POST_PROCESS => 'includes/footer.tt', 
    1313    PLUGIN_BASE => 'Epoll::Template::Plugin', 
     14    POST_CHOMP => 1, 
     15    PRE_CHOMP => 1, 
    1416); 
    1517 
  • trunk/root/templates/includes/header.tt

    r275 r276  
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
     2<!-- $Id$ --> 
    23<html> 
    34<head> 
     
    2425</head> 
    2526<body> 
    26 <!-- $Id$ --> 
    2727<div id="header"> 
    2828    <p id="title"><b>Epoll:</b> [% c.loc('systÚme de vote en ligne') %]</p> 
Note: See TracChangeset for help on using the changeset viewer.