Improve current when box is in standby
[enigma2-plugins.git] / webinterface / src / web-data / tpl / default / tplCurrent.htm
1 <!-- tplCurrent -->
2                         {if current.title != ""}                
3                                 <table id="currentTable">
4                                         <tr>
5                                                 <td id="currentName">
6                                                         <a href="#" onclick="showhide('trExtCurrent')" title="Click to show/hide extended Description">
7                                                         ${current.servicename} - ${current.title}
8                                                         </a>
9                                                 </td>
10                                                 <td id="currentDuration">                                                                                                                                       
11                                                         <a href="#" onclick="if ( parentPin( '${current.servicereference}' ) ) { loadEPGByServiceReference( '${current.servicereference}' ); }">
12                                                                 <img src="/web-data/img/epg.png" border="0" title="Show EPG for ${current.servicename}"/>
13                                                         </a>
14                                                         <a target="_blank" onclick="return parentPin( '${current.servicereference}' );" href="/web/stream.m3u?ref=${current.servicereference}">
15                                                                 <img src="/web-data/img/screen.png" title="Stream ${current.servicename}" border="0">
16                                                         </a>    
17                                                         +${current.remaining} of ${current.duration} min
18                                                 </td>
19                                         </tr>
20                                         <tr id="trExtCurrent">
21                                                 <td colspan="2" class="epgLong">${current.extdescription}</td>
22                                         </tr>
23                                 </table>
24                         {elseif}
25                                 <table id="currentTable">
26                                         <tr>
27                                                 <td id="currentName">Nothing running</td>                                       
28                                         </tr>   
29                                 </table>
30                         {/if}
31 <!-- /tplCurrent -->