diff options
-rw-r--r-- | motions.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/motions.php b/motions.php index 90899b6..6de0beb 100644 --- a/motions.php +++ b/motions.php @@ -109,7 +109,7 @@ BODY; </td> <td class="actions"> <?php - if ($row['status'] == 0) { + if ($row['status'] == 0 && $user ) { ?> <ul> <li><a href="vote.php?motion=<?php echo($row['id']); ?>&vote=1">Aye</a></li> @@ -137,9 +137,7 @@ BODY; <?php if ($items>9) { ?><a href="?page=<?php echo($page+1); ?>">></a><?php } else { ?> <?php } ?> </td> <td class="actions"> - <ul> - <li><a href="motion.php">New Motion</a></li> - </ul> + <?php if ($user) echo('<ul><li><a href="motion.php">New Motion</a></li></ul>'); ?> </td> </tr> <?php |