File: table.html.php

package info (click to toggle)
ocsinventory-server 2.5%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,088 kB
  • sloc: php: 27,462; perl: 8,241; sh: 1,680; sql: 1,355; xml: 1,041; makefile: 34
file content (34 lines) | stat: -rwxr-xr-x 1,492 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<div align="center">
    <script>tables.showTable(<?php echo $tableName ?>, <?php echo $csrfNumber ?>, <?php echo $url ?>, <?php echo $postData ?>, <?php echo $columns ?>);</script>

    <div class="tableContainer">
        <table id="<?php echo htmlspecialchars($table->getName()) ?>" class="table table-striped table-bordered table-condensed table-hover">
            <thead><tr><?php
                    foreach ($table->getColumns() as $name => $col) {
                        echo "<th>" . $col->getLabel() . "</th>";
                    }
                    ?></tr></thead>
        </table>
    </div>
</div>

<input type="hidden" id="SUP_PROF" name="SUP_PROF" value="">
<input type="hidden" id="MODIF" name="MODIF" value="">
<input type="hidden" id="SELECT" name="SELECT" value="">
<input type="hidden" id="OTHER" name="OTHER" value="">
<input type="hidden" id="ACTIVE" name="ACTIVE" value="">
<input type="hidden" id="CONFIRM_CHECK" name="CONFIRM_CHECK" value="">
<input type="hidden" id="OTHER_BIS" name="OTHER_BIS" value="">
<input type="hidden" id="OTHER_TER" name="OTHER_TER" value="">

<?php if ($_SESSION['OCS']['DEBUG'] == 'ON'): ?>
    <center>
        <div id="<?php echo htmlspecialchars($table->getName()) ?>_debug" class="alert alert-info" role="alert">
            <b>[DEBUG]TABLE REQUEST[DEBUG]</b>
            <hr>
            <b class="datatable_request" style="display:none;">LAST REQUEST:</b>
            <div></div>
        </div>
    </center>
    <?php
 endif ?>