liquid_feedback_frontend

view env/ui/twitter.lua @ 1500:71f54c43d7cb

Added API support interface
author bsw
date Tue Mar 24 16:59:32 2020 +0100 (2020-03-24)
parents 3bfb2fcf7ab9
children
line source
1 function ui.twitter(message)
2 ui.link{
3 attr = { target = "_blank" },
4 content = function()
5 ui.image{ static = "icons/16/user_comment.png" }
6 slot.put(encode.html("tweet it"))
7 end,
8 external = "http://twitter.com/?status=" .. encode.url_part(message)
9 }
10 end

Impressum / About Us