add imdb query link
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 22 Sep 2006 03:28:15 +0000 (03:28 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 22 Sep 2006 03:28:15 +0000 (03:28 +0000)
lib/python/Plugins/Extensions/WebInterface/web/index.html.xml

index b4a992c..370f932 100644 (file)
@@ -93,6 +93,7 @@ div.wrapper
 <div id="CurrentService"> </div>
 <div>
 <span id="Event_Now_Begin"> </span> <span id="Event_Now_Name"> </span>
+<a href="javascript:imdb()">...</a>
 <span id="Event_Now_Remaining"> </span>
 </div>
 <div id="Event_Now_Description"> </div>
@@ -130,6 +131,12 @@ function zap(li)
        request.send(null);
 }
 
+function imdb()
+{
+       w = window.open("http://www.imdb.com/find?s=all&amp;q=" + escape(document.getElementById("Event_Now_Name").innerHTML));
+       w.focus();
+}
+
 </script>
 </body>