mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixed preferences warning
This commit is contained in:
parent
c120862607
commit
f85f4ab398
1 changed files with 2 additions and 1 deletions
|
|
@ -276,7 +276,8 @@ function prefsInputFieldPrefs(label, comment, prekey, key, default_value, _input
|
|||
|
||||
local input_type = "text"
|
||||
if _input_type ~= nil then input_type = _input_type end
|
||||
print('<tr id="'..key..'" style="display: '..showEnabled..';"><td width=50%><strong>'..label..'</strong><p><small>'..comment..'</small></td>')
|
||||
print('<tr id="'..key..'" style="display: '..showEnabled..';"><td width=50%><strong>'..(label or "")..'</strong>')
|
||||
if(comment ~= nil) then print('<p><small>'..comment..'</small></td>') end
|
||||
|
||||
local style = {}
|
||||
style["text-align"] = "right"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue