blob: b7cf24ab28fdd925df4573d0359350960016ab50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<%pre>
#include <locale>
#include <vdr/i18n.h>
#include <vdr/keys.h>
#include <vdr/device.h>
#include "grab.h"
#include "setup.h"
#include "tools.h"
#include "users.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>
|