2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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 These strings need to be here to be included in the translation template
16 translate("Networking")
18 translate("Cryptography")
22 <fieldset class="cbi-section">
24 <a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn")%>"><%:Overview%></a> »
25 <%=luci.i18n.translatef("Instance \"%s\"", self.instance)%>
28 <% if self.mode == "basic" then %>
29 <a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn", "advanced", self.instance, "Service")%>"><%:Switch to advanced configuration »%></a>
31 <a href="<%=luci.dispatcher.build_url("admin", "services", "openvpn", "basic", self.instance)%>"><%:« Switch to basic configuration%></a>
32 <hr style="margin:0.5em 0" />
33 <%:Configuration category%>:
34 <% for i, c in ipairs(self.categories) do %>
35 <% if c == self.category then %>
36 <strong><%=translate(c)%></strong>
38 <a href="<%=luci.dispatcher.build_url(
39 "admin", "services", "openvpn", "advanced", self.instance, c
40 )%>"><%=translate(c)%></a>
42 <% if next(self.categories, i) then %>|<% end %>