<%pre> #include #include "exception.h" #include "setup.h" #include "tools.h" using namespace vdrlive; <%args> name = "channel"; selected; onchange; bool channelid = false; <%session scope="global"> bool logged_in(false); <{ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); }> <%cpp> ReadLock channelsLock( Channels ); if ( !channelsLock ) throw HtmlError( tr("Couldn't aquire access to channels, please try again later.") );