From e07939d9df30d5e1db1eecb9af7036a256619654 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 27 Sep 2007 23:06:15 +0000 Subject: [PATCH] styling in profile-popup git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42748 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- css/MemberProfileForm.css | 8 ++++++++ security/Member.php | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 css/MemberProfileForm.css diff --git a/css/MemberProfileForm.css b/css/MemberProfileForm.css new file mode 100644 index 000000000..71054fcbb --- /dev/null +++ b/css/MemberProfileForm.css @@ -0,0 +1,8 @@ +/* HACK Doesn't work in an iframe-popup at the moment, so we disable it */ +#Avatar { + display: none; +} + +#i18nStatus { + margin-left: 0; +} \ No newline at end of file diff --git a/security/Member.php b/security/Member.php index 0f73467c6..c99b9eee2 100644 --- a/security/Member.php +++ b/security/Member.php @@ -978,6 +978,7 @@ class Member_ProfileForm extends Form { Requirements::clear(); Requirements::css('jsparty/tabstrip/tabstrip.css'); Requirements::css('cms/css/typography.css'); + Requirements::css('cms/css/cms_right.css'); Requirements::javascript("jsparty/prototype.js"); Requirements::javascript("jsparty/behaviour.js"); Requirements::javascript("jsparty/prototype_improvements.js"); @@ -988,6 +989,8 @@ class Member_ProfileForm extends Form { Requirements::javascript("jsparty/layout_helpers.js"); Requirements::css("sapphire/css/Form.css"); + Requirements::css("sapphire/css/MemberProfileForm.css"); + $fields = singleton('Member')->getCMSFields(); $fields->push(new HiddenField('ID','ID',$member->ID));