/**
* This script parses MIME messages and deactivates users with returned emails.
*
- * $Id: mail-filter.php 1020 2008-10-31 09:25:56Z duck $
+ * $Id: mail-filter.php 1234 2009-01-28 18:44:02Z duck $
*
* Copyright 2008-2009 The Horde Project (http://www.horde.org/)
*
if (empty($blacklist)) {
echo '<ul class="notices"><li>';
echo _("There are no users in your blacklist.");
- echo '</li>';
+ echo '</li></ul>';
} else {
?>
<h1 class="header"><?php echo $title ?></h1>
<?php foreach ($blacklist as $user) { ?>
<tr>
<td><?php echo '<img src="' . Folks::getImageUrl($user) . '" class="userMiniIcon" /> ' . $user ?></td>
- <td>
- <a href="<?php echo Util::addParameter($remove_url, 'user', $user) ?>"><?php echo $remove_img . ' ' . _("Remove") ?></a>
- <a href="<?php echo Folks::getUrlFor('user', $user) ?>"><?php echo $profile_img . ' ' . _("View profile") ?></a>
- </td>
+ <td><a href="<?php $remove_url . $user ?>"><?php echo _("Remove") ?></a></td>
</tr>
<?php } ?>
</tbody>
<tr>
<td><strong><?php echo _("Age") ?></strong></td>
- <td><?php $age = Folks::calcAge($profile['user_birthday']); echo $age['age'] . ' (' . $age['sign'] . ')'?></td>
+ <td>
+ <?php
+ $age = Folks::calcAge($profile['user_birthday']);
+ echo $age['age'];
+ if ($age['sign']) {
+ echo ' (' . $age['sign'] . ')';
+ }
+ ?>
+ </td>
</tr>
<tr>
<td><strong><?php echo _("Gender") ?></strong></td>