% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(); % $year += 1900;
© 2013 — <%= $year %> <%= link_to 'Luc Didry' => 'https://fiat-tux.fr' %> — <%= l('License:') %> <%= link_to 'WTFPL' => 'http://www.wtfpl.net/' %> — <%= link_to l('About') => 'https://framagit.org/luc/lstu/blob/master/README.md' %> — <%= link_to 'API' => url_for('api') %> — % if (defined(config('ldap')) || defined(config('htpasswd'))) { % if (is_user_authenticated()) { <%= link_to l('Statistics') => url_for('stats') %> — <%= link_to l('Logout') => url_for('/logout')%> % } else { <%= link_to l('Signin') => url_for('/login') %> % } % } else { <%= link_to l('Statistics') => url_for('stats') %> % } — <%= link_to l('Browser extensions') => url_for('extensions') %>
<%= content %>