mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Changes to handle the DNS exclusion list
This commit is contained in:
parent
eb5f79f935
commit
50ca1b455a
4 changed files with 21 additions and 8 deletions
|
|
@ -402,6 +402,14 @@ local function init_user_script(user_script, mod_fname, full_path, plugin, scrip
|
|||
if(user_script.template == nil) then
|
||||
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Unknown template '%s' for user script '%s'", user_script.gui.input_builder, mod_fname))
|
||||
end
|
||||
|
||||
-- Possibly localize the input title/description
|
||||
if user_script.gui.input_title then
|
||||
user_script.gui.input_title = i18n(user_script.gui.input_title) or user_script.gui.input_title
|
||||
end
|
||||
if user_script.gui.input_description then
|
||||
user_script.gui.input_description = i18n(user_script.gui.input_description) or user_script.gui.input_description
|
||||
end
|
||||
end
|
||||
|
||||
if(user_script.template == nil) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue