liquid_feedback_frontend
view app/main/index/about.lua @ 9:0ee1e0c42d4c
Version beta5
Minor security fix: Added missing security filter for admin section. Reading of member listing including login names was possible for all users. Write access has not been possible though.
Changing of name and login is possible while a history of these changes is written and accessible by all users.
Statistics shown in area list
Trimming of user input also converts multiple whitespaces to single space character.
Minor security fix: Added missing security filter for admin section. Reading of member listing including login names was possible for all users. Write access has not been possible though.
Changing of name and login is possible while a history of these changes is written and accessible by all users.
Statistics shown in area list
Trimming of user input also converts multiple whitespaces to single space character.
author | bsw |
---|---|
date | Mon Jan 04 12:00:00 2010 +0100 (2010-01-04) |
parents | 3bfb2fcf7ab9 |
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>')