<%+header%> <%+commotion-splash/splashtext%> <% require "luci.http" local authtarget=luci.http.formvalue("authtarget") local server, splash, redir, tok = authtarget:match("(http://[^:]+)([:%d]*/.*)(redir=.*)&(tok=.*)") local newredir = server .. controller newredir = newredir:gsub(":","#3A"):gsub("/","#2F"):gsub("#","%%") %>
<% require "luci.model.ipkg" if luci.model.ipkg.installed("luci-commotion-apps") then %>
<%:Local Applications%>

<%:Local Applications%>

<% end %>
<%=server .. splash .. redir .. '&' .. tok%>"> <%:Internet%>

<%:Internet%>

<%+footer%>