changeset 3066:db0a4f4b30d3

adapting moin export dump to the current heading style (removing duplicate h1), thanks to Boleslaw Kulbabinski (ported from 1.6)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 21 Feb 2008 21:40:46 +0100
parents 89f21a66d5cb
children 7fa08b9b8a90 806cf4814612
files MoinMoin/script/export/dump.py
diffstat 1 files changed, 22 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/export/dump.py	Thu Feb 21 21:39:25 2008 +0100
+++ b/MoinMoin/script/export/dump.py	Thu Feb 21 21:40:46 2008 +0100
@@ -29,21 +29,39 @@
 <link rel="stylesheet" type="text/css" media="all" charset="utf-8" href="%(theme)s/css/common.css">
 <link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="%(theme)s/css/screen.css">
 <link rel="stylesheet" type="text/css" media="print" charset="utf-8" href="%(theme)s/css/print.css">
+<style type="text/css">
+ul.pagetitle{
+  display: inline;
+  margin: 0;
+  padding: 0;
+  font-size: 1.5em;
+}
+li.pagetitle{
+  display: inline;
+  margin: 0;
+}
+td.noborder {
+  border: 0;
+}
+</style>
 </head>
 <body>
 <table>
 <tr>
-<td>
+<td class="noborder">
 %(logo_html)s
 </td>
-<td>
+<td class="noborder">
+<ul class="pagetitle">
+<li class="pagetitle"><a class="backlink">%(pagename)s</a>
+</ul>
+<br><br>
 %(navibar_html)s
 </td>
 </tr>
 </table>
 <hr>
 <div id="page">
-<h1 id="title">%(pagename)s</h1>
 %(pagehtml)s
 </div>
 <hr>
@@ -146,7 +164,7 @@
 
         navibar_html = ''
         for p in [page_front_page, page_title_index, page_word_index]:
-            navibar_html += '&nbsp;[<a href="%s">%s</a>]' % (wikiutil.quoteWikinameURL(p), wikiutil.escape(p))
+            navibar_html += '[<a href="%s">%s</a>]&nbsp;' % (wikiutil.quoteWikinameURL(p), wikiutil.escape(p))
 
         urlbase = request.url # save wiki base url
         for pagename in pages: