summaryrefslogtreecommitdiff
path: root/pages/osd.ecpp
blob: 1a8aba7214e426ba135f0dc7495573e247120b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<%pre>

#include <setup.h>
#include <osd_status.h>

using namespace std;
using namespace vdrlive;

</%pre><?xml version="1.0" encoding="utf-8"?> 
<%session scope="global">
bool logged_in(false);
</%session>
<%request scope="page">
</%request>
<%cpp>
if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
reply.setContentType( "application/xml" );

reply.out() << LiveOsdStatusMonitor().GetHtml();
</%cpp>