Missing closing li

This commit is contained in:
sarven 2009-01-23 06:14:56 +00:00
parent 94b926be65
commit c97980b145
2 changed files with 7 additions and 8 deletions

View File

@ -119,9 +119,8 @@ class AvatarsettingsAction extends AccountSettingsAction
$this->elementStart('ul', 'form_data'); $this->elementStart('ul', 'form_data');
if ($original) { if ($original) {
$this->elementStart('li', $this->elementStart('li', array('id' => 'avatar_original',
array('id' => 'avatar_original', 'class' => 'avatar_view'));
'class' => 'avatar_view'));
$this->element('h2', null, _("Original")); $this->element('h2', null, _("Original"));
$this->elementStart('div', array('id'=>'avatar_original_view')); $this->elementStart('div', array('id'=>'avatar_original_view'));
$this->element('img', array('src' => $original->url, $this->element('img', array('src' => $original->url,
@ -135,16 +134,16 @@ class AvatarsettingsAction extends AccountSettingsAction
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE); $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
if ($avatar) { if ($avatar) {
$this->elementStart('li', $this->elementStart('li', array('id' => 'avatar_preview',
array('id' => 'avatar_preview', 'class' => 'avatar_view'));
'class' => 'avatar_view'));
$this->element('h2', null, _("Preview")); $this->element('h2', null, _("Preview"));
$this->elementStart('div', array('id'=>'avatar_preview_view')); $this->elementStart('div', array('id'=>'avatar_preview_view'));
$this->element('img', array('src' => $original->url,//$avatar->url, $this->element('img', array('src' => $original->url,
'width' => AVATAR_PROFILE_SIZE, 'width' => AVATAR_PROFILE_SIZE,
'height' => AVATAR_PROFILE_SIZE, 'height' => AVATAR_PROFILE_SIZE,
'alt' => $user->nickname)); 'alt' => $user->nickname));
$this->elementEnd('div'); $this->elementEnd('div');
$this->elementEnd('li');
} }
$this->elementStart('li', array ('id' => 'settings_attach')); $this->elementStart('li', array ('id' => 'settings_attach'));

View File

@ -226,7 +226,7 @@ position:absolute;
right:0; right:0;
top:49px; top:49px;
float:right; float:right;
width:322px; width:300px;
} }
#page_notice { #page_notice {
clear:both; clear:both;