aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-15 13:44:13 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-15 13:44:13 +0000
commitd05cdc91a9e1018af34c8eb63b0c8ef27246cea3 (patch)
treeabdc8920605b60d7703fed913fa795841ae64ffc /mod/profile
parent514afb57ceb65ef6109f7bc60181a0aa45b8f950 (diff)
downloadelgg-d05cdc91a9e1018af34c8eb63b0c8ef27246cea3.tar.gz
elgg-d05cdc91a9e1018af34c8eb63b0c8ef27246cea3.tar.bz2
Updates to Admin area UI.
git-svn-id: http://code.elgg.org/elgg/trunk@5402 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/defaultprofile.php2
-rw-r--r--mod/profile/views/default/profile/css.php11
-rw-r--r--mod/profile/views/default/profile/editdefaultprofile.php2
3 files changed, 3 insertions, 12 deletions
diff --git a/mod/profile/defaultprofile.php b/mod/profile/defaultprofile.php
index 233214c15..daba723e3 100644
--- a/mod/profile/defaultprofile.php
+++ b/mod/profile/defaultprofile.php
@@ -39,7 +39,7 @@ while ($translation = get_plugin_setting("admin_defined_profile_$n", 'profile'))
$listing .= "<div class='default_profile_reset'>" . elgg_view('input/form',
array(
- 'body' => elgg_view('input/submit', array('value' => elgg_echo('profile:resetdefault'))),
+ 'body' => elgg_view('input/submit', array('value' => elgg_echo('profile:resetdefault'),'class' => 'action_button disable')),
'action' => $CONFIG->wwwroot . 'action/profile/editdefault/reset'
)
) . "</div>";
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php
index cde028f12..254c9bed2 100644
--- a/mod/profile/views/default/profile/css.php
+++ b/mod/profile/views/default/profile/css.php
@@ -307,18 +307,9 @@ p.visit_twitter a {
border-top: 1px solid #dedede;
margin-top:30px;
}
-.default_profile_reset input[type="submit"] {
- background: #dedede;
- border-color: #dedede;
- color:#666666;
- text-shadow: none;
+.default_profile_reset .action_button {
float:right;
}
-.default_profile_reset input[type="submit"]:hover {
- background: red;
- border-color: red;
- color:white;
-}
/* ***************************************
diff --git a/mod/profile/views/default/profile/editdefaultprofile.php b/mod/profile/views/default/profile/editdefaultprofile.php
index 42680f4df..338204d36 100644
--- a/mod/profile/views/default/profile/editdefaultprofile.php
+++ b/mod/profile/views/default/profile/editdefaultprofile.php
@@ -29,5 +29,5 @@ $formbody = <<< END
$submit_control</p>
END;
-echo "<p>" . elgg_echo('profile:explainchangefields') . "</p>";
+echo "<p class='margin_top'>" . elgg_echo('profile:explainchangefields') . "</p>";
echo elgg_view('input/form', array('body' => $formbody, 'action' => $vars['url'] . 'action/profile/editdefault'));