diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-21 20:07:38 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-21 20:07:38 +0000 |
commit | dbd884e1269a33eeda081826125400075ee101b3 (patch) | |
tree | 1bf1af061aa87ddf2f9425a4e0da37536eceb689 | |
parent | adc7c9d1a40957c1ee377887b7654174730d665b (diff) | |
download | vdr-plugin-live-dbd884e1269a33eeda081826125400075ee101b3.tar.gz vdr-plugin-live-dbd884e1269a33eeda081826125400075ee101b3.tar.bz2 |
- Fix CVS update error, which lead to the losing of the Logo and Ajax
deactivation feature.
-rw-r--r-- | pages/pageelems.ecpp | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/pages/pageelems.ecpp b/pages/pageelems.ecpp index c99d173..799412b 100644 --- a/pages/pageelems.ecpp +++ b/pages/pageelems.ecpp @@ -35,12 +35,25 @@ int update_status(1); <# ---------------------------------------------------------------------- #> <%def logo> +<%cpp> + if (LiveSetup().GetShowLogo() + || (LiveSetup().GetUseAjax() && LiveSetup().GetShowInfoBox())) { +</%cpp> <div class="page_header"> +<%cpp> + if (LiveSetup().GetShowLogo()) { +</%cpp> <a href="<$ LiveSetup().GetStartScreenLink()$>"> <img src="<$ LiveSetup().GetThemedLink("img", "logo.png") $>" alt="VDR Live!" class="logo"></img></a> -<%cpp>if (LiveSetup().GetShowInfoBox()) { </%cpp><& infobox &><%cpp> } </%cpp> +<%cpp> + } +</%cpp> +<%cpp>if (LiveSetup().GetUseAjax() && LiveSetup().GetShowInfoBox()) { </%cpp><& infobox &><%cpp> } </%cpp> </div> <div style="clear: both"></div> +<%cpp> + } +</%cpp> </%def> <# ---------------------------------------------------------------------- #> @@ -124,6 +137,9 @@ int update_status(1); <# ---------------------------------------------------------------------- #> <%def ajax_js> +<%cpp> + if (LiveSetup().GetUseAjax()) { +</%cpp> <script type="text/javascript" src="js/mootools/mootools.v1.11.js"></script> <script type="text/javascript" src="js/live/liveajax.js"></script> <script type="text/javascript" src="js/live/infowin.js"></script> @@ -137,7 +153,9 @@ int update_status(1); } }); --></script> -<%cpp>if (LiveSetup().GetShowInfoBox()) { </%cpp> +<%cpp> + if (LiveSetup().GetShowInfoBox()) { +</%cpp> <script type="text/javascript" src="js/live/vdr_status.js"></script> <script type="text/javascript"><!-- var InfoBox = new LiveVdrInfo('ibox.xml', 'infobox'); @@ -148,7 +166,12 @@ int update_status(1); InfoBox.pageFinished(); }); --></script> -<%cpp> } </%cpp> +<%cpp> + } +</%cpp> +<%cpp> + } +</%cpp> </%def> <# ---------------------------------------------------------------------- #> |