mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
reading n2disk license if already set
This commit is contained in:
parent
1eece0f06e
commit
6b3a1e4bc3
2 changed files with 13 additions and 4 deletions
|
|
@ -747,10 +747,11 @@ function printRecording()
|
|||
print('<tr><th colspan=2 class="info">'..i18n("prefs.license")..'</th></tr>')
|
||||
|
||||
prefsInputFieldPrefs(subpage_active.entries["n2disk_license"].title, subpage_active.entries["n2disk_license"].description.."<br>"
|
||||
..ternary(n2disk_info.version ~= nil, i18n("prefs.n2disk_license_version", {version=n2disk_info.version}).."<br>", "")
|
||||
..ternary(n2disk_info.systemid ~= nil, i18n("prefs.n2disk_license_systemid", {systemid=n2disk_info.systemid}), ""),
|
||||
"ntopng.prefs.", "n2disk_license",
|
||||
"", false, nil, nil, nil, {style={width="25em;"}, min = 50, max = 64 })
|
||||
..ternary(n2disk_info.version ~= nil, i18n("prefs.n2disk_license_version", {version=n2disk_info.version}).."<br>", "")
|
||||
..ternary(n2disk_info.systemid ~= nil, i18n("prefs.n2disk_license_systemid", {systemid=n2disk_info.systemid}), ""),
|
||||
"ntopng.prefs.", "n2disk_license",
|
||||
ternary(n2disk_info.license ~= nil, n2disk_info.license, ""),
|
||||
false, nil, nil, nil, {style={width="25em;"}, min = 50, max = 64 })
|
||||
|
||||
-- ######################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue