[fix] There should be no <script> markup in tables headers #402

This commit is contained in:
alban 2020-07-02 22:54:26 +02:00
parent b057544ba3
commit 78d3aeb60f
1 changed files with 1 additions and 5 deletions

View File

@ -345,11 +345,7 @@ function actmoveto_not_empty() {
echo "<table width=\"100%\" id='tab_files_w_details' class=\"tlist\" style=\"border: 0px\" cellpadding=\"2\" cellspacing=\"0\"><thead>";
?>
<tr><th>
<script type="text/javascript">
<!--
document.write("<input type=\"checkbox\" id=\"checkall\" value=\"1\" class=\"inb\" onclick=\"CheckAll();\" />");
// -->
</script>
<input type="checkbox" id="checkall" value="1" class="inb" onclick="CheckAll();" />
</th>
<?php if ($p["showicons"]) { ?>
<th style="text-align: center;"><?php if (!empty($R)) { echo $bro->PathList($R,"bro_main.php",true); }?></th>