Renommage des variables backToContextUrl et lastBcUrl qui sont automatiquement mis...
[Portfolio.git] / skins / save_as_lightbox_form.py
1 ##parameters=saveas='', save='', create='', ajax=''
2
3 form = context.REQUEST.form
4
5 if save or create and \
6 context.lightbox_save_control(**form) :
7 return
8
9 options = {}
10 options['title'] = form.get('title', '')
11 options['description'] = form.get('description', '')
12
13 return context.save_as_lightbox_template(**options)