diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-04-25 23:03:02 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-04-25 23:03:02 +0000 |
commit | 771614fff41cc364f597d54e13764d23daae3287 (patch) | |
tree | 86900339126bb6f3b8fb311cacb713809ee73674 /pages/menu.ecpp | |
parent | ce85e9bfd52b35d7edb55a6e16c1450cbff30dab (diff) | |
download | vdr-plugin-live-771614fff41cc364f597d54e13764d23daae3287.tar.gz vdr-plugin-live-771614fff41cc364f597d54e13764d23daae3287.tar.bz2 |
- Added pagemenu infrastructure. Use this to create below the main menu
a page specific optional additional menu. Just add a component to
the main menu. A working sample can be found in 'schedule.ecpp'
- Added extra with at the top of the recordings line.
- Adapted styles.css for both changes.
Diffstat (limited to 'pages/menu.ecpp')
-rw-r--r-- | pages/menu.ecpp | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/pages/menu.ecpp b/pages/menu.ecpp index d1e02d6..3841b85 100644 --- a/pages/menu.ecpp +++ b/pages/menu.ecpp @@ -16,14 +16,29 @@ std::string set_component; set_component = component; }> <div class="menu"> - <a href="whats_on.html?type=now" <& menu.setactive current=("now") &>><$ tr("What's on now?") $></a> <& menu.component current=("now") &> | - <a href="whats_on.html?type=next" <& menu.setactive current=("next") &>><$ tr("What's on next?") $></a> <& menu.component current=("next") &> | - <a href="schedule.html" <& menu.setactive current=("schedule") &>><$ tr("Schedule") $></a> <& menu.component current=("schedule") &> | - <a href="timers.html" <& menu.setactive current=("timers") &>><$ tr("Timers") $></a> <& menu.component current=("timers") &> | - <a href="searchtimers.html" <& menu.setactive current=("searchtimers") &>><$ tr("Searchtimers") $></a> <& menu.component current=("searchtimers") &> | - <a href="recordings.html" <& menu.setactive current=("recordings") &>><$ tr("Recordings") $></a> <& menu.component current=("recordings") &> | - <a href="remote.html" <& menu.setactive current=("remote") &>><$ tr("Remote Control") $></a> <& menu.component current=("remote") &> + <a href="whats_on.html?type=now" <& menu.setactive current=("now") &>><$ tr("What's on now?") $></a> | + <a href="whats_on.html?type=next" <& menu.setactive current=("next") &>><$ tr("What's on next?") $></a> | + <a href="schedule.html" <& menu.setactive current=("schedule") &>><$ tr("Schedule") $></a> | + <a href="timers.html" <& menu.setactive current=("timers") &>><$ tr("Timers") $></a> | + <a href="searchtimers.html" <& menu.setactive current=("searchtimers") &>><$ tr("Searchtimers") $></a> | + <a href="recordings.html" <& menu.setactive current=("recordings") &>><$ tr("Recordings") $></a> | + <a href="remote.html" <& menu.setactive current=("remote") &>><$ tr("Remote Control") $></a> </div> +% if (!component.empty()) { +<div class="pagemenu"> + <div> <!-- outer --> + <div> <!-- inner --> + <& menu.component current=("now") &> + <& menu.component current=("next") &> + <& menu.component current=("schedule") &> + <& menu.component current=("timers") &> + <& menu.component current=("searchtimers") &> + <& menu.component current=("recordings") &> + <& menu.component current=("remote") &> + </div> + </div> +</div> +% } <%def setactive> <%args> |