aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-28 12:08:23 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-28 12:08:23 +0000
commit6b520c0f4e3851dc30eea791472a88b6b3f15dd5 (patch)
treefd9aa120db6e01580bdabaa9495eb849cdd89de7
parent1fb4a9e67cdb7cff364c65546f62252c9ce8334a (diff)
downloadelgg-6b520c0f4e3851dc30eea791472a88b6b3f15dd5.tar.gz
elgg-6b520c0f4e3851dc30eea791472a88b6b3f15dd5.tar.bz2
Updated interface for edit profile fields
git-svn-id: http://code.elgg.org/elgg/trunk@6265 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/profile/views/default/profile/css.php2
-rw-r--r--mod/profile/views/default/profile/editdefaultprofileitems.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php
index 78c496670..4caaa6fa3 100644
--- a/mod/profile/views/default/profile/css.php
+++ b/mod/profile/views/default/profile/css.php
@@ -372,7 +372,9 @@ p.visit_twitter a {
}
/* field re-order */
#sortable_profile_fields {
+ list-style: none;
padding:0;
+ margin:0;
border-top:1px solid #cccccc;
}
#sortable_profile_fields li {
diff --git a/mod/profile/views/default/profile/editdefaultprofileitems.php b/mod/profile/views/default/profile/editdefaultprofileitems.php
index 4b0564d2d..1706fbb34 100644
--- a/mod/profile/views/default/profile/editdefaultprofileitems.php
+++ b/mod/profile/views/default/profile/editdefaultprofileitems.php
@@ -52,7 +52,7 @@ END;
//$even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even';
$url = elgg_add_action_tokens_to_url("{$vars['url']}action/profile/editdefault/delete?id={$item->shortname}");
- echo "<li id=\"{$item->shortname}\"><div class=\"delete_note\" style=\"float:right\"><a href=\"$url\">" . elgg_echo('delete') . "</a></div>";
+ echo "<li id=\"{$item->shortname}\"><div class='delete_button'><a href=\"$url\">" . elgg_echo('delete') . "</a></div>";
echo "<img width='16' height='16' class='handle' alt='move' title='Drag here to reorder this item' src='{$vars['url']}mod/profile/graphics/drag_handle.png'/>";
echo "<b class=\"profile_field_editable\"><span class=\"{$item->shortname}_editable\">$item->translation</span></b>: [".elgg_echo($item->type)."]";
echo "</li>";