annotate contrib/sawmill/web/templates/header.inc @ 578:bccd69dedbe5

shlex.split all config parameters that may contain a command Return the command as list and use @ operator for the variable in cmdexpand
author Bjoern Ricks <bricks@intevation.de>
date Sat, 03 Sep 2011 11:53:12 +0000
parents 73a2e603a23b
children
rev   line source
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
1 <%
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
2 from cgi import escape
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
3 from xml.sax.saxutils import quoteattr
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
4 %>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
5 <head>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
487
f208b139190b sawmill: Made html head elements HTML 4.01 compatible.
Sascha Teichmann <teichmann@intevation.de>
parents: 485
diff changeset
7 <link rel="icon" href="img/favicon.ico" type="image/x-icon">
490
73a2e603a23b sawmill: Prepared detail view for syndication:
Sascha Teichmann <teichmann@intevation.de>
parents: 487
diff changeset
8 <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen"><%
73a2e603a23b sawmill: Prepared detail view for syndication:
Sascha Teichmann <teichmann@intevation.de>
parents: 487
diff changeset
9 if 'syndicate' in locals():
73a2e603a23b sawmill: Prepared detail view for syndication:
Sascha Teichmann <teichmann@intevation.de>
parents: 487
diff changeset
10 # generate syndication link
73a2e603a23b sawmill: Prepared detail view for syndication:
Sascha Teichmann <teichmann@intevation.de>
parents: 487
diff changeset
11 %>
73a2e603a23b sawmill: Prepared detail view for syndication:
Sascha Teichmann <teichmann@intevation.de>
parents: 487
diff changeset
12 <link rel="alternate" type="application/rss+xml" title=<%= quoteattr(syndicate[0]) %> href=<%= quoteattr(syndicate[1])%>><%
73a2e603a23b sawmill: Prepared detail view for syndication:
Sascha Teichmann <teichmann@intevation.de>
parents: 487
diff changeset
13 # no syndication
73a2e603a23b sawmill: Prepared detail view for syndication:
Sascha Teichmann <teichmann@intevation.de>
parents: 487
diff changeset
14 %>
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
15 <title>S&auml;gewerk - <%= escape(page_title) %></title>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
16 </head>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
17 <body>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
18 <table border="0" width="100%" cellspacing="0" cellpadding="0">
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
19 <tr>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
20 <td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
21 <a href=<%= quoteattr(back_link) %>><img src="img/logo.jpg"
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
22 border="0" alt="" width="533" height="94"></a>
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
23 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
24 </tr>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
25 </table>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
26 <table border="0" width="100%" cellspacing="0" cellpadding="0">
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
27 <tr>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
28 <td align="left" bgcolor="#E0E0E0" width="9">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
29 <img src="img/topleft.png" height="9" width="9" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
30 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
31 <td bgcolor="#E0E0E0" width="30">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
32 <img src="img/clear.png" width="30" height="1" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
33 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
34 <td bgcolor="#E0E0E0">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
35 <img src="img/clear.png" width="1" height="1" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
36 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
37 <td bgcolor="#E0E0E0" width="30">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
38 <img src="img/clear.png" width="30" height="1" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
39 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
40 <td align="right" bgcolor="#E0E0E0" width="9">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
41 <img src="img/topright.png" height="9" width="9" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
42 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
43 </tr>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
44 <tr>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
45 <!-- Outer body row -->
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
46 <td bgcolor="#E0E0E0">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
47 <img src="img/clear.png" width="10" height="1" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
48 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
49 <td valign="top" width="99%" bgcolor="#E0E0E0" colspan="3">
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
50 <!-- Inner Tabs / Shell -->
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
51 <table border="0" width="100%" cellspacing="0" cellpadding="0">
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
52 <tr>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
53 <td align="left" bgcolor="#ffffff" width="9">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
54 <img src="img/topleft-inner.png" height="9" width="9" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
55 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
56 <td bgcolor="#ffffff">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
57 <img src="img/clear.png" width="1" height="1" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
58 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
59 <td align="right" bgcolor="#ffffff" width="9">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
60 <img src="img/topright-inner.png" height="9" width="9" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
61 </td>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
62 </tr>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
63 <tr>
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
64 <td bgcolor="#ffffff">
484
2e947f508553 sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents: 483
diff changeset
65 <img src="img/clear.png" width="10" height="1" alt="">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
66 </td>
485
a55a521b7a31 Moved the saegewerk table layout completely into header and footer
Sascha Teichmann <teichmann@intevation.de>
parents: 484
diff changeset
67 <td valign="top" width="99%" bgcolor="white">
483
28aa6ac933fb sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff changeset
68 <!-- begin main body row -->
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)