]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Missing closing li
authorsarven <csarven@plantard.controlezvous.ca>
Fri, 23 Jan 2009 06:14:56 +0000 (06:14 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Fri, 23 Jan 2009 06:14:56 +0000 (06:14 +0000)
actions/avatarsettings.php
theme/base/css/display.css

index 1db35237ed2d3d64eb3e34ce505c1070b1462892..19f53b882850d62e60e74c16b7b398a7c99e620f 100644 (file)
@@ -119,9 +119,8 @@ class AvatarsettingsAction extends AccountSettingsAction
 
         $this->elementStart('ul', 'form_data');
         if ($original) {
-            $this->elementStart('li',
-                                array('id' => 'avatar_original',
-                                      'class' => 'avatar_view'));
+            $this->elementStart('li', array('id' => 'avatar_original',
+                                            'class' => 'avatar_view'));
             $this->element('h2', null, _("Original"));
             $this->elementStart('div', array('id'=>'avatar_original_view'));
             $this->element('img', array('src' => $original->url,
@@ -135,16 +134,16 @@ class AvatarsettingsAction extends AccountSettingsAction
         $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
 
         if ($avatar) {
-            $this->elementStart('li',
-                                array('id' => 'avatar_preview',
-                                      'class' => 'avatar_view'));
+            $this->elementStart('li', array('id' => 'avatar_preview',
+                                            'class' => 'avatar_view'));
             $this->element('h2', null, _("Preview"));
             $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,
                                         'height' => AVATAR_PROFILE_SIZE,
                                         'alt' => $user->nickname));
             $this->elementEnd('div');
+            $this->elementEnd('li');
         }
 
         $this->elementStart('li', array ('id' => 'settings_attach'));
index b4f3ffd54afb3fb7824c444232c65b84ed480776..4eee3449bec2d84bb9dcce8d1f1c46022d6e4901 100644 (file)
@@ -226,7 +226,7 @@ position:absolute;
 right:0;
 top:49px;
 float:right;
-width:322px;
+width:300px;
 }
 #page_notice {
 clear:both;