summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-06-05 17:55:07 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-06-05 17:55:07 +0000
commitedfbb9ab519534242c3d25c20fd45a00660f2f4f (patch)
tree931e8bdf534f7f780aa9c7d8bfec0f47aa60d0df /pages
parentfe0269da6a9c0a35336a6edc78823559d28a51c2 (diff)
downloadvdr-plugin-live-edfbb9ab519534242c3d25c20fd45a00660f2f4f.tar.gz
vdr-plugin-live-edfbb9ab519534242c3d25c20fd45a00660f2f4f.tar.bz2
- setting locale to C while sending javascript
Diffstat (limited to 'pages')
-rw-r--r--pages/remote.ecpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/pages/remote.ecpp b/pages/remote.ecpp
index e4a7826..5521755 100644
--- a/pages/remote.ecpp
+++ b/pages/remote.ecpp
@@ -1,10 +1,13 @@
<%pre>
+#include <locale>
#include <vdr/i18n.h>
#include <vdr/keys.h>
#include "setup.h"
#include "grab.h"
+using namespace std;
using namespace vdrlive;
+
</%pre>
<%session scope="global">
bool logged_in(false);
@@ -23,6 +26,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<& pageelems.stylesheets &>
<& tooltip.javascript var=("domTT_styleClass") value=("domTTepg") &>
<& pageelems.ajax_js &>
+% reply.out().imbue(locale("C"));
<script type="text/javascript"><!--
var newImg = new Image();
var imgsrc = "";
@@ -71,8 +75,9 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
}
}
//--></script>
+% reply.out().imbue(locale());
</head>
- <body onload="<& pageelems.infobox_start_update &>; StreamInit(); FillIntervals()">
+ <body onload="<& pageelems.infobox_start_update &>; StreamInit(); FillIntervals();">
<& pageelems.logo &>
<& menu active="remote" component=("remote.remote_actions")>
<div class="inhalt">