2009-07-14
Fixing email sending of the list.
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:py="http://genshi.edgewall.org/"
5 xmlns:xi="http://www.w3.org/2001/XInclude"
6 py:strip="">
7 <xi:include href="header.html" />
8 <xi:include href="sidebars.html" />
9 <xi:include href="footer.html" />
10 <head py:match="head" py:attrs="select('@*')">
11 <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
12 <title py:replace="''">Your title goes here</title>
13 <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/style.css')}" />
14 ${tmpl_context.mochikit()}
15 <meta py:replace="select('*')"/>
16 </head>
18 <body py:match="body" py:attrs="select('@*')">
19 ${header()}
20 <ul id="mainmenu">
21 <li class="first"><a href="${tg.url('/')}" class="${('', 'active')[defined('page') and page==page=='index']}">Welcome</a></li>
22 <li py:if="tg.predicates.has_permission('can_manage_links')"><a href="${tg.url('/links/')}">Postal Links Mgmt</a></li>
23 <li py:if="tg.predicates.has_any_permission('can_create_events', 'can_edit_events', 'can_delete_events')">
24 <a href="${tg.url('/events/')}">Events Mgmt</a></li>
25 <li py:if="tg.predicates.has_permission('can_see_ban_reason')"><a href="${tg.url('/usermgt/')}">User Mgmt</a></li>
26 <span py:if="tg.auth_stack_enabled" py:strip="True">
27 <li py:if="not request.identity" id="login" class="loginlogout"><a href="${tg.url('/login')}">Login</a></li>
28 <li py:if="request.identity" id="login" class="loginlogout"><a href="${tg.url('/logout_handler')}">Logout</a></li>
29 </span>
30 </ul>
31 <div id="content">
32 <py:with vars="flash=tg.flash_obj.render('flash', use_js=False)">
33 <div py:if="flash" py:content="XML(flash)" />
34 </py:with>
35 <span py:if="request.identity" id="loginid" class="loginlogout">Welcome, ${request.identity['repoze.who.userid']}</span>
36 <span py:if="tg.predicates.Not(tg.predicates.in_group('banned'))">
37 <div py:replace="select('*|text()')"/>
38 </span>
39 <span py:if="tg.predicates.in_group('banned')">
40 <p>${user.user_name}, you have been banned from participating in the card lists.</p>
41 <p>Reason given: ${str(user.user_banned)}</p>
42 </span>
43 ${footer()}
44 </div>
45 </body>
46 </html>