aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-10 21:19:24 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-10 21:19:24 +0000
commit9fa4cfbd1235a21803931aa58e7a650ad398e5fb (patch)
treef3696fd39fa6e47586c4bc3ca660df0c5d8c2eba /views/default/friends
parentbe4a15fba0c35cd1df5077b121e0a416acab5834 (diff)
downloadelgg-9fa4cfbd1235a21803931aa58e7a650ad398e5fb.tar.gz
elgg-9fa4cfbd1235a21803931aa58e7a650ad398e5fb.tar.bz2
Updated Friends Picker UI and added to core css.
git-svn-id: http://code.elgg.org/elgg/trunk@5352 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/friends')
-rw-r--r--views/default/friends/collections.php3
-rw-r--r--views/default/friends/picker.php10
2 files changed, 5 insertions, 8 deletions
diff --git a/views/default/friends/collections.php b/views/default/friends/collections.php
index a013dc1da..d73568b71 100644
--- a/views/default/friends/collections.php
+++ b/views/default/friends/collections.php
@@ -15,7 +15,6 @@ if (!isset($friendspicker)) {
$friendspicker = 0;
}
-echo "<div class=\"contentWrapper\">";
if (is_array($vars['collections']) && sizeof($vars['collections'])) {
echo "<ul id=\"friends_collections_accordian\">";
@@ -31,8 +30,6 @@ if (is_array($vars['collections']) && sizeof($vars['collections'])) {
echo elgg_echo("friends:nocollections");
}
-echo "</div>";
-
?>
<script>
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index 1ac8b23af..bca3e5e89 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -135,9 +135,9 @@ if (!isset($vars['replacement'])) {
}
?>
-<div class="friendsPicker_wrapper">
-<div id="friendsPicker<?php echo $friendspicker; ?>">
- <div class="friendsPicker_container">
+<div class="friends_picker_wrapper">
+<div id="friends_picker<?php echo $friendspicker; ?>">
+ <div class="friends_picker_container">
<?php
// Initialise letters
@@ -290,7 +290,7 @@ if (!isset($vars['replacement'])) {
<script type="text/javascript">
// initialise picker
- $("div#friendsPicker<?php echo $friendspicker; ?>").friendsPicker(<?php echo $friendspicker; ?>);
+ $("div#friends_picker<?php echo $friendspicker; ?>").friendsPicker(<?php echo $friendspicker; ?>);
</script>
<script>
$(document).ready(function () {
@@ -301,7 +301,7 @@ if (sizeof($activeletters) > 0)
foreach($activeletters as $letter) {
$tab = strpos($chararray, $letter) + 1;
?>
-$("div#friendsPickerNavigation<?php echo $friendspicker; ?> li.tab<?php echo $tab; ?> a").addClass("tabHasContent");
+$("div#friends_picker_navigation<?php echo $friendspicker; ?> li.tab<?php echo $tab; ?> a").addClass("tabHasContent");
<?php
}