]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge remote-tracking branch 'mainline/1.0.x' into people_tags_rebase
authorShashi Gowda <connect2shashi@gmail.com>
Sat, 9 Apr 2011 16:27:45 +0000 (21:57 +0530)
committerShashi Gowda <connect2shashi@gmail.com>
Sat, 9 Apr 2011 16:27:45 +0000 (21:57 +0530)
Conflicts:
lib/profileblock.php
theme/default/css/display.css

1  2 
EVENTS.txt
classes/Notice.php
classes/Profile.php
classes/User.php
lib/accountprofileblock.php
lib/default.php
lib/profileblock.php
theme/neo/css/display.css
theme/rebase/css/display.css

diff --cc EVENTS.txt
index e66e9257259032d0b2e08a7ac816040e08a68f70,08a4273ec907537471284d66f2080d3c09860220..80708ed8822a7680d52550fba463317278612d8f
@@@ -1297,3 -1147,19 +1297,19 @@@ StartDefaultLocalNav: When showing the 
  EndDefaultLocalNav: When showing the default local nav
  - $menu: the menu
  - $user: current user
 -- $group: the group being shown
+ StartShowAccountProfileBlock: When showing the profile block for an account
+ - $out: XMLOutputter to append custom output
+ - $profile: the profile being shown
+ EndShowAccountProfileBlock: After showing the profile block for an account
+ - $out: XMLOutputter to append custom output
+ - $profile: the profile being shown
+ StartShowGroupProfileBlock: When showing the profile block for a group
+ - $out: XMLOutputter to append custom output
+ - $profile: the profile being shown
+ EndShowGroupProfileBlock: After showing showing the profile block for a group
+ - $out: XMLOutputter to append custom output
++- $group: the group being shown
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lib/default.php
Simple merge
index 78b5dd3ec4e8b42202438039a4be96333b27f6f5,bf1ffd1443d827ee4053a702784998241760c696..3cea0474a429bfacdbfca7c1c65f04349a052714
@@@ -56,16 -56,32 +56,33 @@@ abstract class ProfileBlock extends Wid
  
      function show()
      {
-         $this->out->elementStart('div', 'profile_block section');
+         $this->showActions();
+         $this->showAvatar();
+         $this->showName();
+         $this->showLocation();
+         $this->showHomepage();
+         $this->showDescription();
++        $this->showTags();
+     }
  
+     function showAvatar()
+     {
          $size = $this->avatarSize();
  
-         $this->out->element('img', array('src' => $this->avatar(),
-                                          'class' => 'profile_block_avatar',
-                                          'alt' => $this->name(),
-                                          'width' => $size,
-                                          'height' => $size));
+         $this->out->element(
+             'img',
+             array(
+                 'src'  => $this->avatar(),
+                 'class'  => 'ur_face',
+                 'alt'    => $this->name(),
+                 'width'  => $size,
+                 'height' => $size
+             )
+         );
+     }
  
+     function showName()
+     {
          $name = $this->name();
  
          if (!empty($name)) {
Simple merge
Simple merge