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));