webmcp

view framework/env/ui/image.lua @ 382:810c020b0da4

Reverted changes to mondelefant_result_index and mondelefant_result_newindex C-functions (proxying of JSON document)
author jbe
date Mon Nov 16 18:31:49 2015 +0100 (2015-11-16)
parents 9fdfb27f8e67
children
line source
1 function ui.image(args)
2 local args = args or {}
3 local attr = table.new(args.attr)
4 attr.src = encode.url{
5 external = args.external,
6 static = args.static,
7 module = args.module or request.get_module(),
8 view = args.view,
9 id = args.id,
10 params = args.params,
11 }
12 return ui.tag{ tag = "img", attr = attr }
13 end

Impressum / About Us