diff MoinMoin/config/multiconfig.py @ 1684:aadc8b0e11cf

change classic theme to propagate rev, too
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 20 Nov 2006 00:15:24 +0100
parents 0dee8ba737af
children 1d358ccc0f2f
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Sun Nov 19 22:38:41 2006 +0100
+++ b/MoinMoin/config/multiconfig.py	Mon Nov 20 00:15:24 2006 +0100
@@ -350,23 +350,20 @@
     # These icons will show in this order in the iconbar, unless they
     # are not relevant, e.g email icon when the wiki is not configured
     # for email.
-    page_iconbar = ["up", "edit", "view", "diff", "info", "subscribe", "raw", "print", ]
+    page_iconbar = ["edit", "view", "diff", "info", "subscribe", "raw", "print", ]
 
     # Standard buttons in the iconbar
     page_icons_table = {
-        # key           last part of url, title, icon-key
-        'help':        ("%(q_page_help_contents)s", "%(page_help_contents)s", "help"),
-        'find':        ("%(q_page_find_page)s?value=%(q_page_name)s", "%(page_find_page)s", "find"),
-        'diff':        ("%(q_page_name)s?action=diff", _("Diffs"), "diff"),
-        'info':        ("%(q_page_name)s?action=info", _("Info"), "info"),
-        'edit':        ("%(q_page_name)s?action=edit", _("Edit"), "edit"),
-        'unsubscribe': ("%(q_page_name)s?action=subscribe", _("UnSubscribe"), "unsubscribe"),
-        'subscribe':   ("%(q_page_name)s?action=subscribe", _("Subscribe"), "subscribe"),
-        'raw':         ("%(q_page_name)s?action=raw", _("Raw"), "raw"),
-        'xml':         ("%(q_page_name)s?action=show&amp;mimetype=text/xml", _("XML"), "xml"),
-        'print':       ("%(q_page_name)s?action=print", _("Print"), "print"),
-        'view':        ("%(q_page_name)s", _("View"), "view"),
-        'up':          ("%(q_page_parent_page)s", _("Up"), "up"),
+        # key           querystr dict, title, icon-key
+        'diff':        ({'action': 'diff'}, _("Diffs"), "diff"),
+        'info':        ({'action': 'info'}, _("Info"), "info"),
+        'edit':        ({'action': 'edit'}, _("Edit"), "edit"),
+        'unsubscribe': ({'action': 'subscribe'}, _("UnSubscribe"), "unsubscribe"),
+        'subscribe':   ({'action': 'subscribe'}, _("Subscribe"), "subscribe"),
+        'raw':         ({'action': 'raw'}, _("Raw"), "raw"),
+        'xml':         ({'action': 'show', 'mimetype': 'text/xml'}, _("XML"), "xml"),
+        'print':       ({'action': 'print'}, _("Print"), "print"),
+        'view':        ({}, _("View"), "view"),
         }
 
     refresh = None # (minimum_delay, type), e.g.: (2, 'internal')