- add leading separator to movies menu
authorsvenhoefer <svenhoefer@svenhoefer.com>
Wed, 16 Jul 2014 21:09:26 +0000 (23:09 +0200)
committerEzak <kazems@gmx.de>
Sat, 25 Oct 2014 15:41:13 +0000 (17:41 +0200)
var/plugins/netzkino.lua

index b170a33..6a6e939 100644 (file)
@@ -205,6 +205,9 @@ function get_movies_menu(_id)
                local sText = "Seite " .. aktPage .. " von " .. maxPage
                m_movies:addItem{type="subhead", name=sText};
        end
+       if page < max_page or page > 1 then
+               m_movies:addItem{type="separator"};
+       end
        if page < max_page then
                m_movies:addItem{type="forwarder", name="Nächste Seite", action="set_movie", id="-2", icon="blau", directkey=RC["blue"]};
                m_movies:addKey{directkey=RC["page_down"], action="set_movie", id="-2"}