comparison data/plugin/macro/FormFooter.py @ 617:07e8932e3594

add code from MacroMarket/FormCreate (form_create-1.7.tgz) - outdated code for moin 1.7/1.8
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Mar 2013 16:16:43 +0100
parents
children e6a6740166c8
comparison
equal deleted inserted replaced
616:36ea97c06541 617:07e8932e3594
1 # -*- coding: iso-8859-1 -*-
2 """
3 MoinMoin - FormFooter Macro
4
5
6
7 @copyright: 2008 by Peter Bodi <petrdll@centrum.sk>
8 @license: GNU GPL, see COPYING for details.
9 """
10
11 from FormBase import FormBase
12
13 class FormFooter(FormBase):
14
15 def build(self):
16 self.output += self._build_input("hidden", "labels", {'value':';'.join(self.request.labels)})
17 self.output += "</form>\n"
18
19 def execute(macro, args):
20 return FormFooter(macro, args).render()