diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 23:28:21 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 23:28:21 +0000 |
commit | 04a1bcfd1f9e98b7fe5e5a8230385385d0c41631 (patch) | |
tree | 5e77d9eb0cb2d33631dab5c13fff7291a0b5c08a /views/default/friends/tablelist.php | |
parent | 46015163d1d6120426b71e9e7a64c7d60e77c00e (diff) | |
download | elgg-04a1bcfd1f9e98b7fe5e5a8230385385d0c41631.tar.gz elgg-04a1bcfd1f9e98b7fe5e5a8230385385d0c41631.tar.bz2 |
small change to collection members display - as a table
git-svn-id: https://code.elgg.org/elgg/trunk@1620 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/friends/tablelist.php')
-rw-r--r-- | views/default/friends/tablelist.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/views/default/friends/tablelist.php b/views/default/friends/tablelist.php index 38f577a2d..a5f791f46 100644 --- a/views/default/friends/tablelist.php +++ b/views/default/friends/tablelist.php @@ -18,7 +18,7 @@ ?>
- <table>
+ <table cellspacing="0" id="collectionMembersTable" style="margin:10px;">
<tr>
<?php
@@ -31,7 +31,7 @@ <td style="width:25px">
<?php echo elgg_view("profile/icon",array('entity' => $entity, 'size' => 'tiny')); ?>
</td>
- <td style="width: 300px; padding: 5px;">
+ <td style="width: 200px; padding: 5px;">
<?php
echo $entity->name;
@@ -42,20 +42,22 @@ <?php
$column++;
- if ($column > 1) {
+ if ($column == 3) {
echo "</tr><tr>";
$column = 0;
}
}
- if ($column > 0) echo "</tr>";
+
?>
- </table>
+
<?php
}
+ if ($column < 3 && $column != 0) echo "</tr>";
+ echo "</table>";
}
?>
\ No newline at end of file |