mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implemented date format UI preference (#4399)
This commit is contained in:
parent
af1ab037e9
commit
fe0806a09d
6 changed files with 33 additions and 1 deletions
|
|
@ -448,6 +448,18 @@ function printGUI()
|
|||
|
||||
-- ######################
|
||||
|
||||
|
||||
local d_labels = {i18n("little_endian"), i18n("middle_endian"), i18n("big_endian")}
|
||||
local d_values = {"little_endian", "middle_endian", "big_endian"}
|
||||
local d_label = "toggle_date_type"
|
||||
|
||||
multipleTableButtonPrefs(subpage_active.entries[d_label].title,
|
||||
subpage_active.entries[d_label].description,
|
||||
d_labels, d_values, "middle_endian", "primary",
|
||||
d_label, "ntopng.user." .. _SESSION["user"] .. ".datetype")
|
||||
|
||||
-- ######################
|
||||
|
||||
prefsInputFieldPrefs(subpage_active.entries["max_ui_strlen"].title, subpage_active.entries["max_ui_strlen"].description,
|
||||
"ntopng.prefs.", "max_ui_strlen", prefs.max_ui_strlen, "number", nil, nil, nil, {min=3, max=128})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue