annotate env/util/gregor.lua @ 40:ca3a0552927f
Corrected previous security related bugfix in app/main/draft/diff.lua
author |
bsw |
date |
Sun Mar 07 15:20:51 2010 +0100 (2010-03-07) |
parents |
77d58efe99fd |
children |
77260f05fd4b |
rev |
line source |
bsw@11
|
1 function util.gregor(el_id)
|
bsw@11
|
2 ui.script{ script =
|
bsw@11
|
3 'gregor_addGui({' ..
|
bsw@11
|
4 'element_id: "' .. el_id .. '",' ..
|
bsw@11
|
5 'month_names: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],' ..
|
bsw@11
|
6 'weekday_names: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"],' ..
|
bsw@11
|
7 'week_mode: "iso",' ..
|
bsw@11
|
8 'week_numbers: "left",' ..
|
bsw@11
|
9 '});'
|
bsw@11
|
10 }
|
bsw@11
|
11 end |