2 LuCI - Lua Configuration Interface
4 Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
14 module("luci.controller.polipo", package.seeall)
17 if not nixio.fs.access("/etc/config/polipo") then
21 require("luci.i18n").loadc("polipo")
22 local i18n = luci.i18n.translate
24 entry({"admin", "services", "polipo"}, alias("admin", "services", "polipo", "config"), "Polipo").i18n = "polipo"
25 entry({"admin", "services", "polipo", "status"}, template("polipo_status"), i18n("Status"))
26 entry({"admin", "services", "polipo", "config"}, cbi("polipo"), i18n("Configuration"))