changeset 1811:b7645fb02d1d

FootNote macro: use ol, not ul
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 24 Feb 2007 16:50:42 +0100
parents 21baa15e38ea
children 1c3d65c8ae8f dca96e7c8199
files MoinMoin/macro/FootNote.py wiki/htdocs/classic/css/common.css wiki/htdocs/modern/css/common.css wiki/htdocs/rightsidebar/css/common.css
diffstat 4 files changed, 5 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/FootNote.py	Sat Feb 24 16:48:08 2007 +0100
+++ b/MoinMoin/macro/FootNote.py	Sat Feb 24 16:50:42 2007 +0100
@@ -69,7 +69,7 @@
         result.append(formatter.div(1, css_class='footnotes'))
 
         # Add footnotes list
-        result.append(formatter.bullet_list(1))
+        result.append(formatter.number_list(1))
 
         for ctr in range(request.footnote_ctr):
             fn_txt = request.footnotes[ctr]
@@ -83,8 +83,6 @@
             result.append(formatter.paragraph(1))
             result.append(formatter.anchorlink(1, None, id=fwdlink_id))
             result.append(formatter.anchorlink(0))
-            result.append(formatter.text(str(showidx+1)))
-            result.append(formatter.text(" "))
             result.append(wikiutil.renderText(request, WikiParser, fn_txt))
 
             items = []
@@ -104,7 +102,7 @@
             result.append(formatter.paragraph(0))
             result.append(formatter.listitem(0))
 
-        result.append(formatter.bullet_list(0))
+        result.append(formatter.number_list(0))
 
         # Finish div
         result.append(formatter.div(0))
--- a/wiki/htdocs/classic/css/common.css	Sat Feb 24 16:48:08 2007 +0100
+++ b/wiki/htdocs/classic/css/common.css	Sat Feb 24 16:50:42 2007 +0100
@@ -123,10 +123,9 @@
 .table-of-contents-heading { font-weight:bold; padding:0; margin:0; }
 
 
-.footnotes ul {
+.footnotes ol {
 	padding: 0 2em;
 	margin: 0 0 1em;
-	list-style: none;
 }
 
 .footnotes li {
--- a/wiki/htdocs/modern/css/common.css	Sat Feb 24 16:48:08 2007 +0100
+++ b/wiki/htdocs/modern/css/common.css	Sat Feb 24 16:50:42 2007 +0100
@@ -137,10 +137,9 @@
 	border-top: 1pt solid gray;
 }
 
-.footnotes ul {
+.footnotes ol {
 	padding: 0 2em;
 	margin: 0 0 1em;
-	list-style: none;
 }
 
 .footnotes li {
--- a/wiki/htdocs/rightsidebar/css/common.css	Sat Feb 24 16:48:08 2007 +0100
+++ b/wiki/htdocs/rightsidebar/css/common.css	Sat Feb 24 16:50:42 2007 +0100
@@ -126,7 +126,7 @@
 .table-of-contents-heading { font-weight:bold; padding:0; margin:0; }
 
 
-.footnotes ul {
+.footnotes ol {
 	padding: 0 2em;
 	margin: 0 0 1em;
 }