summaryrefslogtreecommitdiff
path: root/pages/error.ecpp
blob: e7bc8c56ea99582c8ea64206e6ac4bd02a1dbc71 (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
27
28
29
30
31
32
33
34
35
36
37
<%pre>
#include <vdr/i18n.h>

</%pre>
<%args>
	pageTitle;
	errorTitle = tr("Page error");
	errorMessage;
</%args>
<& pageelems.doc_type &>
<html>
	<head>
		<title>VDR-Live - <$ pageTitle $></title>
		<link rel="stylesheet" type="text/css" href="/styles.css" />
	</head>
	<body>
		<div class="left_area">
			<& pageelems.logo &>
			<& menu &>
		</div>
		<div class="right_area">
		<div class="inhalt">
			<& error.error_widget errorTitle=(errorTitle) errorMessage=(errorMessage) &>
		</div>
		</div>
	</body>
</html>
<%def error_widget>
	<%args>
		errorTitle;
		errorMessage;
	</%args>
	<table class="error" cellpadding="0" cellspacing="0">
		<tr><td class="title"><$ errorTitle $></td></tr>
		<tr><td class="message"><$ errorMessage $></td></tr>
	</table>
</%def>