[wmlunits] make copyright notice on units.wesnoth.org say...
...2003-2011 instead of 2003-2009
This commit is contained in:
parent
aa57134dc2
commit
2192aac30d
2 changed files with 13 additions and 4 deletions
|
@ -163,7 +163,12 @@ div.attributes {
|
|||
}
|
||||
div#footer {
|
||||
clear: both;
|
||||
font-size: x-small;
|
||||
border-top: 1px solid black;
|
||||
color: #111111;
|
||||
font-size: small;
|
||||
border-top: 1px solid #999999;;
|
||||
padding: 1em;
|
||||
margin: 1em;
|
||||
}
|
||||
div#footer a {
|
||||
color: #111111;
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ try: import psyco; psyco.full()
|
|||
except ImportError: pass
|
||||
|
||||
import sys, os, re, glob, shutil, copy, urllib2, gc, optparse, gettext
|
||||
import time
|
||||
|
||||
import wesnoth.wmlparser2 as wmlparser2
|
||||
import unit_tree.helpers as helpers
|
||||
|
@ -27,7 +28,9 @@ html_header = '''
|
|||
|
||||
html_footer = '''
|
||||
<div id="footer">
|
||||
<p><a href="http://www.wesnoth.org/wiki/Wesnoth:Copyrights">Copyright</a> © 2003-2009 The Battle for Wesnoth</p>
|
||||
<p>%(generation_note)s</p>
|
||||
<p><a href="http://wiki.wesnoth.org/Site_Map">Site map</a></p>
|
||||
<p><a href="http://www.wesnoth.org/wiki/Wesnoth:Copyrights">Copyright</a> © 2003-2011 The Battle for Wesnoth</p>
|
||||
<p>Supported by <a href="http://www.jexiste.fr/">Jexiste</a></p>
|
||||
</div>
|
||||
</body></html>
|
||||
|
@ -545,7 +548,8 @@ class HTMLOutput:
|
|||
|
||||
self.write_units()
|
||||
|
||||
self.output.write(html_footer)
|
||||
self.output.write(html_footer % {
|
||||
"generation_note" : "generated on " + time.ctime()})
|
||||
|
||||
def write_unit_report(self, output, unit):
|
||||
def write(x): self.output.write(x)
|
||||
|
|
Loading…
Add table
Reference in a new issue