module("luci.controller.alltube", package.seeall) function index() entry({"admin", "apps"}, firstchild(), _("Apps") , 45).dependent = false if not nixio.fs.access("/etc/config/alltube") then return end local page = entry({"admin", "apps", "alltube"}, cbi("alltube"), _("Alltube")) page.order = 10 page.dependent = true page.acl_depends = { "luci-app-alltube" } entry({"admin","apps","alltube","status"},call("act_status")).leaf=true end