Store license icon in wiki
authorBernie Innocenti <bernie@codewiz.org>
Sun, 22 Mar 2009 23:59:02 +0000 (00:59 +0100)
committerBernie Innocenti <bernie@codewiz.org>
Sun, 22 Mar 2009 23:59:02 +0000 (00:59 +0100)
geekigeeki.py

index 0ff2e7a007527f0d2fa2ce9e9212ceffd839e88e..6efdc4c955f8068cae607b2736826924b7320de6 100755 (executable)
@@ -290,10 +290,10 @@ def send_footer(mod_string=None):
     print '''
 <div id="footer"><hr />
 <p class="copyright">
-<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img class="license" alt="Creative Commons License" src="http://i.creativecommons.org/l/by-sa/3.0/80x15.png" /></a>
+<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img class="license" alt="Creative Commons License" src="%s" /></a>
 <span class="benchmark">generated in %0.3fs</span> by <a href="http://www.codewiz.org/wiki/GeekiGeeki">GeekiGeeki</a> version %s
 </p>
-''' % (clock() - start_time, __version__)
+''' % (relative_url('cc-by-sa.png'), clock() - start_time, __version__)
     if mod_string:
         print '<p class="modified">last modified %s</p>' % mod_string
     print '</div></body></html>'