15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
form.acl = edit.acl
end
if acc ~= nil then form:append(acc) return end
var cotxt = form:poolstr(&co.srv.pool) -- defer cotxt:free()
var doc = [lib.srv.convo.page] {
title = lib.str.plit 'compose';
body = cotxt;
class = lib.str.plit 'compose';
cache = true;
}
co:stdpage(doc)
end
return render_compose
|
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
form.acl = edit.acl
end
if acc ~= nil then form:append(acc) return end
var cotxt = form:poolstr(&co.srv.pool) -- defer cotxt:free()
var doc = [lib.srv.convo.page] {
title = 'compose';
body = cotxt;
class = 'compose';
cache = true;
}
co:stdpage(doc)
end
return render_compose
|