Update templates and slovenian translation
authorDuck (Jakob Munih) <duck@obala.net>
Fri, 30 Jan 2009 16:26:17 +0000 (17:26 +0100)
committerDuck (Jakob Munih) <duck@obala.net>
Fri, 30 Jan 2009 16:26:17 +0000 (17:26 +0100)
folks/locale/sl_SI/LC_MESSAGES/folks.mo
folks/scripts/mail-filter.php
folks/templates/edit/blacklist.php
folks/templates/user/user.php

index 9f2f8de..603a128 100644 (file)
Binary files a/folks/locale/sl_SI/LC_MESSAGES/folks.mo and b/folks/locale/sl_SI/LC_MESSAGES/folks.mo differ
index 2b15abf..10de438 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * 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/)
  *
index 326fa2b..055a699 100644 (file)
@@ -2,7 +2,7 @@
 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>
@@ -17,10 +17,7 @@ if (empty($blacklist)) {
 <?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>
index 697aed3..378205d 100644 (file)
@@ -106,7 +106,15 @@ foreach ($profile['activity_log'] as $item) {
 
 <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>