diff options
author | Friendika <info@friendika.com> | 2011-09-25 22:14:40 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-25 22:14:40 -0700 |
commit | 20d4fda22f26a99e7da930be639874f80ae7060d (patch) | |
tree | d7316e23c8d846e41e232fe6e5e5db025d8548fc /mod/photos.php | |
parent | c35342dcb6498fa16b3367f524e603806b1e7aa4 (diff) | |
parent | c05178c10529abd402bc48bdc9bd97aaccdebfa6 (diff) | |
download | volse-hubzilla-20d4fda22f26a99e7da930be639874f80ae7060d.tar.gz volse-hubzilla-20d4fda22f26a99e7da930be639874f80ae7060d.tar.bz2 volse-hubzilla-20d4fda22f26a99e7da930be639874f80ae7060d.zip |
Merge branch 'pull'
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 11 |
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) { |