webmcp

view framework/env/ui_deprecated/label.lua @ 34:e19b0b5c46ba

allow execptions an slot.reset_all()

this is usefull when an error is detected deep into a view where you want redirect
to something usefull, but still save some slots like notice and error slots
author Daniel Poelzleithner <poelzi@poelzi.org>
date Wed Oct 06 16:14:33 2010 +0200 (2010-10-06)
parents 9fdfb27f8e67
children
line source
1 function ui_deprecated.label(value)
2 slot.put '<div class="ui_label">'
3 ui_deprecated.text( value )
4 slot.put '</div>\n'
5 end

Impressum / About Us