<% local viewtable, viewlibrary, pageinfo, session = ... html=require("acf.html") %> Status: 200 OK Content-Type: text/html <% if (session.id) then io.write( html.cookie.set("sessionid", session.id) ) else io.write (html.cookie.unset("sessionid")) end %> <% local hostname = "" if viewlibrary and viewlibrary.dispatch_component then local result = viewlibrary.dispatch_component("alpine-baselayout/hostname/read", nil, true) if result and result.value then hostname = result.value end end %> <%= html.html_escape(hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action) %> themes/jquery.mobile.icons.min.css" /> themes/jqmobile-skin.min.css" /> jqmobile.css"/>
<% if pageinfo.controller == 'welcome' then %> <% end %>
<% if session.userinfo and session.userinfo.userid then %> <% end %> <% if not (session.userinfo and session.userinfo.userid) then %> <% pageinfo.viewfunc(viewtable, viewlibrary, pageinfo, session) %> <% end %>