diff options
Diffstat (limited to 'pages/pageelems.ecpp')
-rw-r--r-- | pages/pageelems.ecpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/pageelems.ecpp b/pages/pageelems.ecpp index b6f4f8d..093255a 100644 --- a/pages/pageelems.ecpp +++ b/pages/pageelems.ecpp @@ -13,6 +13,9 @@ using namespace std; using namespace vdrlive; </%pre> +<%session scope="global"> +int update_status(1); +</%session> <# ---------------------------------------------------------------------- #> @@ -82,7 +85,7 @@ using namespace vdrlive; <# ---------------------------------------------------------------------- #> <%def infobox_start_update> -<%cpp> { </%cpp>LiveStatusRequest('ibox.xml', 'infobox')<%cpp> } </%cpp> +<%cpp> { </%cpp>LiveStatusRequest('ibox.xml', 'infobox', <%cpp> if (update_status) { reply.sout() << "true"; } else { reply.sout() << "false"; } </%cpp>)<%cpp> } </%cpp> </%def> <# ---------------------------------------------------------------------- #> |