38 lines
1.0 KiB
HTML
38 lines
1.0 KiB
HTML
##TPLHEADER##
|
|
##TPLMENU##
|
|
<DIV ID="subnav">
|
|
<UL ID="nav"><LI></LI></UL>
|
|
</DIV>
|
|
##TPLMESSAGE##
|
|
<script type="text/javascript">
|
|
function runscript() {
|
|
var e=document.getElementById("scriptselect");
|
|
var URL=e.options[e.selectedIndex].value;
|
|
if(URL) {
|
|
var p=document.getElementById("scriptparam").value;
|
|
if(p) {
|
|
var param=p.trim();
|
|
if(param) URL=URL+"&scriptparam="+param;
|
|
}
|
|
window.location.href=URL;
|
|
}
|
|
else {
|
|
return;
|
|
}
|
|
}
|
|
</script>
|
|
<P ID="filename">OSCam execute script:</P>
|
|
<DIV ID="otherdropdown">
|
|
<select ID="scriptselect" name="action" size="1">
|
|
##SCRIPTOPTIONS##
|
|
</select>
|
|
<input id="scriptparam" type="text" name="scriptparam" value="" class="short" title="Script Parameters (optional)">
|
|
<input type="button" onclick="runscript()" value="Run Script" title="Run Script">
|
|
</DIV>
|
|
<P ID="filesubmit">##SCRIPTNAME## ##CODE##</P>
|
|
<DIV CLASS="extract">
|
|
<P>Script Output: (if available)</P>
|
|
<PRE CLASS="script">##SCRIPTRESULTOUT##</PRE>
|
|
</DIV>
|
|
##TPLFOOTER##
|