diff MoinMoin/wikiutil.py @ 128:2fba84615be7

create gui editor links by javascript and dom, tested with Safari, Firefox and IE imported from: moin--main--1.5--patch-130
author Nir Soffer <nirs@freeshell.org>
date Sat, 22 Oct 2005 19:48:26 +0000
parents c97db64bbe7b
children 88acc9c18b90
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Fri Oct 21 21:33:29 2005 +0000
+++ b/MoinMoin/wikiutil.py	Sat Oct 22 19:48:26 2005 +0000
@@ -1196,6 +1196,7 @@
         ''.join(user_head),
         keywords.get('html_head', ''),
         request.theme.html_head({
+            'page': page,
             'title': escape(text),
             'sitename': escape(request.cfg.html_pagetitle or request.cfg.sitename),
             'print_mode': keywords.get('print_mode', False),
@@ -1245,8 +1246,6 @@
         '<link rel="Glossary" href="%s/%s">\n' % (scriptname, quoteWikinameURL(page_word_index)),
         '<link rel="Help" href="%s/%s">\n' % (scriptname, quoteWikinameURL(page_help_formatting)),
                   ])
-
-    output.append('<script type="text/javascript" src="%s/common/js/common.js"></script>\n' % request.cfg.url_prefix)
     
     output.append("</head>\n")
     request.write(''.join(output))