styling in profile-popup

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42748 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-27 23:06:15 +00:00
parent 07c3a3a32b
commit e07939d9df
2 changed files with 11 additions and 0 deletions

View File

@ -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;
}

View File

@ -978,6 +978,7 @@ class Member_ProfileForm extends Form {
Requirements::clear(); Requirements::clear();
Requirements::css('jsparty/tabstrip/tabstrip.css'); Requirements::css('jsparty/tabstrip/tabstrip.css');
Requirements::css('cms/css/typography.css'); Requirements::css('cms/css/typography.css');
Requirements::css('cms/css/cms_right.css');
Requirements::javascript("jsparty/prototype.js"); Requirements::javascript("jsparty/prototype.js");
Requirements::javascript("jsparty/behaviour.js"); Requirements::javascript("jsparty/behaviour.js");
Requirements::javascript("jsparty/prototype_improvements.js"); Requirements::javascript("jsparty/prototype_improvements.js");
@ -988,6 +989,8 @@ class Member_ProfileForm extends Form {
Requirements::javascript("jsparty/layout_helpers.js"); Requirements::javascript("jsparty/layout_helpers.js");
Requirements::css("sapphire/css/Form.css"); Requirements::css("sapphire/css/Form.css");
Requirements::css("sapphire/css/MemberProfileForm.css");
$fields = singleton('Member')->getCMSFields(); $fields = singleton('Member')->getCMSFields();
$fields->push(new HiddenField('ID','ID',$member->ID)); $fields->push(new HiddenField('ID','ID',$member->ID));