]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated interface for edit profile fields
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 28 May 2010 12:08:23 +0000 (12:08 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 28 May 2010 12:08:23 +0000 (12:08 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6265 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/profile/views/default/profile/css.php
mod/profile/views/default/profile/editdefaultprofileitems.php

index 78c496670bec43a632c9fe3507c4be3058880d81..4caaa6fa349d027422bf526ae134852832530ee3 100644 (file)
@@ -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 {
index 4b0564d2d68112a598c9a9825dd0c17c5cc17041..1706fbb34a62e72a08ff600d8aa65fc9e8bcf84c 100644 (file)
@@ -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>";