81 lines
3.6 KiB
HTML
Executable File
81 lines
3.6 KiB
HTML
Executable File
##TPLHEADER##
|
|
##TPLMENU##
|
|
##TPLMESSAGE##
|
|
<script>
|
|
var isV14V15 = ("##CAID##" == "098D" || "##CAID##" == "098C");
|
|
|
|
$(document).ready(function() {
|
|
|
|
if ("##CAID##".substr(0, 2) != "09") {
|
|
return;
|
|
}
|
|
|
|
document.getElementById('rdrUniqueTitle').title = '';
|
|
document.getElementById('rdrSharedTitle').title = '';
|
|
document.getElementById('rdrGlobalTitle').title = '';
|
|
|
|
var tosingleemm = $('.tosingleemm');
|
|
var singleemm = $('#singleemm');
|
|
|
|
if (singleemm.length > 0 || tosingleemm.length > 0) {
|
|
|
|
$('body').append('<div style="z-index: 1; position:absolute; top: 33px; right:0px; background: #EEEEEE; text-align: left; padding: 10px 10px; font-size: 14px; color: #000000; font-family: \'Courier new\', Courier, monospace; display: none;" id="emm_decoder_top"></div>');
|
|
|
|
function singlechanged() {
|
|
if (singleemm.val().length < 1) {
|
|
document.getElementById('emm_decoder_top').style.display = 'none';
|
|
return;
|
|
}
|
|
|
|
decodeVideoguardEMM(singleemm.val(), "#emm_decoder_top", true);
|
|
document.getElementById('emm_decoder_top').style.display = 'block';
|
|
}
|
|
|
|
singleemm.on('change', singlechanged);
|
|
singleemm.on('keyup', singlechanged);
|
|
singleemm.on('paste', singlechanged);
|
|
|
|
$('body').append('<div style="z-index: 2; position:fixed; top: 33px; background: #EEEEEE; text-align: left; padding: 20px 10px; font-size: 14px; color: #000000; font-family: \'Courier new\', Courier, monospace; display: none;" id="emm_decoder"></div>');
|
|
|
|
tosingleemm.on('mouseover', function(e) {
|
|
var text = $(this).text().split(' ')[7];
|
|
decodeVideoguardEMM(text, "#emm_decoder", false);
|
|
|
|
var emmdecoder = document.getElementById('emm_decoder');
|
|
emmdecoder.style.top = (e.clientY + 20) + "px";
|
|
emmdecoder.style.left = (e.clientX + 20) + "px";
|
|
emmdecoder.style.display = 'block';
|
|
});
|
|
|
|
tosingleemm.on('mouseout', function() {
|
|
document.getElementById('emm_decoder').style.display = 'none';
|
|
});
|
|
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<DIV ID="subnav">
|
|
<UL ID="nav"></UL>
|
|
</DIV>
|
|
<form action="emm_running.html" method="get"><input type="hidden" name="label" value="##READER##">
|
|
<TABLE CLASS="writeemm">
|
|
<TR><TH COLSPAN="2">Selected reader: ##READER##</TH></TR>
|
|
<TR><TD>CAID:</TD><TD><input name="emmcaid" class="short" type="text" maxlength="4" value="##CAID##" ##READONLY##></TD></TR>
|
|
<TR><TD>Single EMM to write:</TD><TD><textarea name="ep" id="singleemm" rows="6" maxlength="1024"></textarea></TD></TR>
|
|
<TR><TD>File path with EMM's:</TD><TD><input name="emmfile" type="text" maxlength="256"></TD></TR>
|
|
<TR><TD COLSPAN="2" CLASS="centered"><input name="action" type="submit" value="Launch" onclick="return confirm('Write EMM really to Reader ##READER## ?')" title="Write EMM to Reader ##READER##" ##BTNDISABLED##></TD></TR>
|
|
<TR CLASS="configfirstrow"><TD></TD><TD></TD></TR>
|
|
</TABLE>
|
|
<DIV CLASS="extract">
|
|
<P class="emmhead">Saved EMM's for Reader: ##READER##</P>
|
|
<P>Unique EMM <span class="emminfo">##RDREMMUNIQUE_TXT##</span></P>
|
|
<PRE id="rdrUniqueTitle" ##RDREMMUNIQUE_TITLE##>##RDREMMUNIQUE##</PRE>
|
|
<P>Shared EMM <span class="emminfo">##RDREMMSHARED_TXT##</span></P>
|
|
<PRE id="rdrSharedTitle" ##RDREMMSHARED_TITLE##>##RDREMMSHARED##</PRE>
|
|
<P>Global EMM <span class="emminfo">##RDREMMGLOBAL_TXT##</span></P>
|
|
<PRE id="rdrGlobalTitle" ##RDREMMGLOBAL_TITLE##>##RDREMMGLOBAL##</PRE>
|
|
</DIV>
|
|
</form>
|
|
##TPLFOOTER##
|