diff options
Diffstat (limited to 'web/template/tu_list.php')
-rw-r--r-- | web/template/tu_list.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/template/tu_list.php b/web/template/tu_list.php index 6ad9f90d..b3e1073a 100644 --- a/web/template/tu_list.php +++ b/web/template/tu_list.php @@ -17,8 +17,10 @@ <th><a href="?off=<?= $off ?>&by=<?= $by_next ?>"><?= __("Start") ?></a></th> <th><?= __("End") ?></th> <th><?= __("User") ?></th> + <?php if ($type != __("Current Votes")): ?> <th><?= __("Yes") ?></th> <th><?= __("No") ?></th> + <?php endif; ?> <th><?= __('Voted') ?></th> </tr> </thead> @@ -46,8 +48,10 @@ endif; ?> </td> + <?php if ($type != __("Current Votes")): ?> <td><?= $row['Yes'] ?></td> <td><?= $row['No'] ?></td> + <?php endif; ?> <td> <?php if (tu_voted($row['ID'], uid_from_sid($_COOKIE["AURSID"]))): ?> <span style="color: green; font-weight: bold"><?= __("Yes") ?></span> |