mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Removed print from lua code
This commit is contained in:
parent
79bbb4918c
commit
c981202122
1 changed files with 3 additions and 6 deletions
|
|
@ -71,19 +71,16 @@ local selected_item = (table.has_key(configuration_items, _GET["item"]) and _GET
|
|||
-- ************************************* ------
|
||||
|
||||
if (page == "manage_configurations_backup") then
|
||||
|
||||
|
||||
print(template_utils.gen("pages/manage_configurations_backup.template", {}))
|
||||
|
||||
template_utils.render("pages/manage_configurations_backup.template", {})
|
||||
else
|
||||
print(template_utils.gen("pages/manage_configurations.template", {
|
||||
template_utils.render("pages/manage_configurations.template", {
|
||||
info = ntop.getInfo(),
|
||||
template_utils = template_utils,
|
||||
manage_configurations = {
|
||||
selected_item = selected_item,
|
||||
configuration_items = configuration_items,
|
||||
}
|
||||
}))
|
||||
})
|
||||
end
|
||||
-- ************************************* ------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue