aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends/picker.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 23:28:21 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 23:28:21 +0000
commit04a1bcfd1f9e98b7fe5e5a8230385385d0c41631 (patch)
tree5e77d9eb0cb2d33631dab5c13fff7291a0b5c08a /views/default/friends/picker.php
parent46015163d1d6120426b71e9e7a64c7d60e77c00e (diff)
downloadelgg-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/picker.php')
-rw-r--r--views/default/friends/picker.php98
1 files changed, 49 insertions, 49 deletions
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index 9702caf14..ed9d71c3e 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -30,13 +30,13 @@
$vars['value'] = array($vars['value']);
}
}
-
- // Initialise whether we're calling back or not
- if (isset($vars['callback'])) {
- $callback = $vars['callback'];
- } else {
- $callback = false;
- }
+
+ // Initialise whether we're calling back or not
+ if (isset($vars['callback'])) {
+ $callback = $vars['callback'];
+ } else {
+ $callback = false;
+ }
// We need to count the number of friends pickers on the page.
global $friendspicker;
@@ -60,28 +60,28 @@
$users[$letter][$user->name] = $user;
}
-
- if (!$callback) {
+
+ if (!$callback) {
?>
<div class="friends_picker">
-<?php
-
- if (isset($vars['content'])) echo $vars['content'];
-
-
-?>
-
- <div id="friends_picker_placeholder<?php echo $friendspicker; ?>">
-
-<?php
-
- }
-
- if (!isset($vars['replacement'])) {
-
+<?php
+
+ if (isset($vars['content'])) echo $vars['content'];
+
+
+?>
+
+ <div id="friends_picker_placeholder<?php echo $friendspicker; ?>">
+
+<?php
+
+ }
+
+ if (!isset($vars['replacement'])) {
+
?>
@@ -139,7 +139,7 @@
?>
</div>
</td>
- <td style="width: 300px; padding: 5px;">
+ <td style="width: 200px; padding: 5px;">
<?php
echo $friend->name;
@@ -169,25 +169,25 @@
?>
</div>
</div>
- </div>
-
-<?php
- } else {
- echo $vars['replacement'];
- }
- if (!$callback) {
-
-?>
-
</div>
-</div>
-
-
-<?php
-
- }
-
- if (!isset($vars['replacement'])) {
+
+<?php
+ } else {
+ echo $vars['replacement'];
+ }
+ if (!$callback) {
+
+?>
+
+ </div>
+</div>
+
+
+<?php
+
+ }
+
+ if (!isset($vars['replacement'])) {
?>
<script type="text/javascript">
@@ -209,10 +209,10 @@
?>
});
-</script>
-
-<?php
-
- }
-
+</script>
+
+<?php
+
+ }
+
?> \ No newline at end of file