1 """
   2     MoinMoin - top Macro
   3 
   4     Copyright (c) 2002 by Rick Feliciano <sirius@zipcon.net>
   5     All rights reserved, see COPYING for details.
   6 
   7     This very complicated macro produces a link to the top of the page.
   8 
   9     $Id: top.py,v 1.0 2002/04/10 17:47:20 rfeliciano $
  10     
  11 """
  12 
  13 Dependencies = []
  14 
  15 from MoinMoin.i18n import _
  16 
  17 def execute(macro, args):
  18     return macro.formatter.url("#top", _('Back to top'))

MoinMoin: macro/top.py (last edited 2007-10-29 19:07:32 by localhost)