liquid_feedback_frontend

view app/main/index/about.lua @ 0:3bfb2fcf7ab9

Version alpha1
author bsw/jbe
date Wed Nov 18 12:00:00 2009 +0100 (2009-11-18)
parents
children 00d1004545f1
line source
1 slot.put_into("title", encode.html(_"About LiquidFeedback"))
4 slot.put("<br />")
5 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "Diensteanbieter:" }
6 slot.put("<br />")
8 slot.put(config.app_service_provider)
10 slot.put("<br />")
11 slot.put("<br />")
12 slot.put("<br />")
15 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "Dieser Dienst ist mit folgender Software realisiert worden:" }
16 slot.put("<br />")
18 local tmp = {
19 {
20 name = "LiquidFeedback Frontend",
21 url = "http://www.public-software-group.org/liquid_feedback",
22 version = config.app_version,
23 license = "MIT/X11",
24 license_url = "http://www.public-software-group.org/licenses"
25 },
26 {
27 name = "LiquidFeedback Core",
28 url = "http://www.public-software-group.org/liquid_feedback",
29 version = db:query("SELECT * from liquid_feedback_version;")[1].string,
30 license = "MIT/X11",
31 license_url = "http://www.public-software-group.org/licenses"
32 },
33 {
34 name = "WebMCP",
35 url = "http://www.public-software-group.org/webmcp",
36 version = _WEBMCP_VERSION,
37 license = "MIT/X11",
38 license_url = "http://www.public-software-group.org/licenses"
39 },
40 {
41 name = "Lua",
42 url = "http://www.lua.org",
43 version = _VERSION:gsub("Lua ", ""),
44 license = "MIT/X11",
45 license_url = "http://www.lua.org/license.html"
46 },
47 {
48 name = "PostgreSQL",
49 url = "http://www.postgresql.org/",
50 version = db:query("SELECT version();")[1].version:gsub("PostgreSQL ", ""):gsub("on.*", ""),
51 license = "BSD",
52 license_url = "http://www.postgresql.org/about/licence"
53 },
54 }
56 ui.list{
57 records = tmp,
58 columns = {
59 {
60 label = _"Software",
61 content = function(record)
62 ui.link{
63 content = record.name,
64 external = record.url
65 }
66 end
67 },
68 {
69 label = _"Version",
70 content = function(record) ui.field.text{ value = record.version } end
71 },
72 {
73 label = _"License",
74 content = function(record)
75 ui.link{
76 content = record.license,
77 external = record.license_url
78 }
79 end
81 }
82 }
83 }
85 slot.put("<br />")
86 slot.put("<br />")
87 slot.put("<br />")
89 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "3rd party license information:" }
90 slot.put("<br />")
91 slot.put('The icons used in Liquid Feedback (except national flags) are from <a href="http://www.famfamfam.com/lab/icons/silk/">Silk icon set 1.3</a> by Mark James. His work is licensed under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License.</a>')

Impressum / About Us