Changed files table

This commit is contained in:
Frank Schubert
2021-09-12 21:41:20 +02:00
parent 55ad2ee0c2
commit bd8f1609e6

View File

@@ -165,7 +165,7 @@
</td>
<td colspan="<?=$termination_wf_colspan - 3?>">
<h5>Dokumente</h5>
<table class="table-sm">
<table class="table table-sm">
<?php if(is_array($term->files) && count($term->files)): $i=0; foreach($term->files as $file): ?>
<?php if($i % 2 == 0): ?>
<tr>
@@ -188,8 +188,12 @@
</td>
</tr>
<?php endif; ?>
<?php $i++; endforeach; endif; ?>
<?=($i % 2 != 0) ? "<td></td></tr>" : ""?>
<?php $i++; endforeach; ?>
<?php if($i % 2 != 0): ?>
<td></td></tr>
<?php endif; ?>
<?php endif; ?>
<tr>
<td>
<strong>Dokument hochladen</strong> <select class="form-control" name="file_type">