Fixes conferences page templates
parent
487c23da3e
commit
4b4cac7cec
|
@ -156,7 +156,7 @@ if ($response['db'] === null) {
|
|||
if (isset($_REQUEST['name']) && $_REQUEST['name'] != '') {
|
||||
array_push($filterMessage, 'Conferences with name matching "<strong>' . $_REQUEST['name'] . '</strong>"');
|
||||
} elseif (isset($_REQUEST['id']) && $_REQUEST['id'] != '') {
|
||||
array_push($filterMessage, 'Conferences with ID "<strong>' . $_REQUEST['id'] . '</strong>"');
|
||||
array_push($filterMessage, 'Conference with ID "<strong>' . $_REQUEST['id'] . '</strong>"');
|
||||
}
|
||||
|
||||
// Get any new feedback messages
|
||||
|
|
|
@ -107,8 +107,21 @@
|
|||
<?= htmlspecialchars(strlen($column ?? '') > 30 ? substr($column, 0, 30) . '...' : $column ?? '') ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php
|
||||
} elseif ($key === 'time' || $key === 'start' || $key === 'end') { ?>
|
||||
<?php } elseif ($key === 'participant ID') { ?>
|
||||
<td class="text-nowrap">
|
||||
<a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=participants&id=<?= htmlspecialchars($column ?? '') ?>"
|
||||
<?= (strlen($column ?? '') > 16) ? 'data-toggle="tooltip" title="' . htmlspecialchars($column) . '"' : '' ?>>
|
||||
<?= htmlspecialchars(strlen($column ?? '') > 16 ? substr($column, 0, 16) . '...' : $column ?? '') ?>
|
||||
</a>
|
||||
</td>
|
||||
<?php } elseif ($key === 'component') { ?>
|
||||
<td class="text-nowrap">
|
||||
<a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=components&name=<?= htmlspecialchars($column ?? '') ?>"
|
||||
<?= (strlen($column ?? '') > 16) ? 'data-toggle="tooltip" title="' . htmlspecialchars($column) . '"' : '' ?>>
|
||||
<?= htmlspecialchars(strlen($column ?? '') > 16 ? substr($column, 0, 16) . '...' : $column ?? '') ?>
|
||||
</a>
|
||||
</td>
|
||||
<?php } elseif ($key === 'time' || $key === 'start' || $key === 'end') { ?>
|
||||
<td class="text-nowrap"><?= !empty($column) ? date('d M Y H:i:s',strtotime($column)) : '<small class="text-muted">n/a</small>' ?></td>
|
||||
<?php } else { ?>
|
||||
<td><?= htmlspecialchars($column ?? '') ?></td>
|
||||
|
|
Loading…
Reference in New Issue