summaryrefslogtreecommitdiff
path: root/pages/remote.ecpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-07 18:42:45 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-07 18:42:45 +0000
commitab7a2112f96bb48ee2713ada4c9ce73322cf3cba (patch)
tree44f229f1c011fc135571849c386f78bbb5a9af48 /pages/remote.ecpp
parent9508850d788d905b21cd2622b22cb76e80cf34ca (diff)
downloadvdr-plugin-live-ab7a2112f96bb48ee2713ada4c9ce73322cf3cba.tar.gz
vdr-plugin-live-ab7a2112f96bb48ee2713ada4c9ce73322cf3cba.tar.bz2
- simplified error handling
- moved error_widget to error.ecpp as subcomponent - introduced error handling where necessary - moved creation of timer settings string from page to code - added redirect to edit_timer.ecpp after saving a timer
Diffstat (limited to 'pages/remote.ecpp')
-rw-r--r--pages/remote.ecpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/pages/remote.ecpp b/pages/remote.ecpp
index 994dc6f..ec593fb 100644
--- a/pages/remote.ecpp
+++ b/pages/remote.ecpp
@@ -5,6 +5,10 @@
using namespace vdrlive;
</%pre>
+<%include>page_init.ecpp</%include>
+<%cpp>
+ pageTitle = tr("Remote control");
+</%cpp>
<html>
<head>
<script type="text/javascript"><!--
@@ -96,7 +100,7 @@ using namespace vdrlive;
}
}
//--></script>
- <title>VDR-Live - <$ tr("Remote Control") $></title>
+ <title>VDR-Live - <$ pageTitle $></title>
<link rel="stylesheet" type="text/css" href="/styles.css" />
</head>
<body onload="StreamInit(); FillIntervals();">
@@ -105,7 +109,7 @@ using namespace vdrlive;
<& menu >
</div>
<div class="inhalt">
-<& pageelems.header_box content=(tr("Remote Control")) &>
+ <& pageelems.header_box content=(pageTitle) &>
<div class="screenshot">
<img src="screenshot.jpg" name="vdrlive" /><br />
<$ tr("Interval:") $> <select name="interval" onchange="ChangeInterval()"></select>
@@ -187,3 +191,4 @@ using namespace vdrlive;
</div>
</body>
</html>
+<%include>page_exit.ecpp</%include>