aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorDevlon Duthie <duthied@gmail.com>2011-09-25 13:20:19 -0500
committerDevlon Duthie <duthied@gmail.com>2011-09-25 13:20:19 -0500
commitcb1c6dd1e37ccbbea47867faf0142e5d2f653624 (patch)
treedc09ad00dd7f7e12fdec214ae2fd83e94315a96a /mod/photos.php
parent634e52a6717753eb6742a23e60bf88bf0809968f (diff)
downloadvolse-hubzilla-cb1c6dd1e37ccbbea47867faf0142e5d2f653624.tar.gz
volse-hubzilla-cb1c6dd1e37ccbbea47867faf0142e5d2f653624.tar.bz2
volse-hubzilla-cb1c6dd1e37ccbbea47867faf0142e5d2f653624.zip
really commiting files this time, still getting the hang of git.
some images added, some classes added to groupidebar, contacts sidebar notification flags moved out of nav and into banner for testbubble the testbubble css tweaks
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 7141919b0..cb7df15cc 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -33,11 +33,14 @@ function photos_init(&$a) {
if(count($albums)) {
$a->data['albums'] = $albums;
- $o .= '<h4><a href="' . $a->get_baseurl() . '/profile/' . $a->data['user']['nickname'] . '">' . $a->data['user']['username'] . '</a></h4>';
+ $o .= '<div class="vcard">';
+ $o .= '<div class="fn">' . $a->data['user']['username'] . '</h4>';
$o .= '<div id="profile-photo-wrapper"><img class="photo" style="width: 175px; height: 175px;" src="' . $a->get_baseurl() . '/photo/profile/' . $a->data['user']['uid'] . '.jpg" alt="' . $a->data['user']['username'] . '" /></div>';
-
- $o .= '<h4>' . '<a href="' . $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '">' . t('Photo Albums') . '</a></h4>';
-
+ $o .= '</div>';
+
+ $o .= '<div id="side-bar-photos-albums" class="widget">';
+ $o .= '<h3>' . '<a href="' . $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '">' . t('Photo Albums') . '</a></h4>';
+
$o .= '<ul>';
foreach($albums as $album) {