mirror of
https://github.com/friendica/friendica
synced 2024-11-18 07:03:40 +00:00
w3c valid cleanup
This commit is contained in:
parent
341fcce75e
commit
efeb377a12
1 changed files with 4 additions and 2 deletions
|
@ -39,7 +39,7 @@ function photos_init(&$a) {
|
||||||
$o .= '</div>';
|
$o .= '</div>';
|
||||||
|
|
||||||
$o .= '<div id="side-bar-photos-albums" class="widget">';
|
$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 .= '<h3>' . '<a href="' . $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '">' . t('Photo Albums') . '</a></h3>';
|
||||||
|
|
||||||
$o .= '<ul>';
|
$o .= '<ul>';
|
||||||
foreach($albums as $album) {
|
foreach($albums as $album) {
|
||||||
|
@ -49,9 +49,11 @@ function photos_init(&$a) {
|
||||||
|
|
||||||
if((! strlen($album['album'])) || ($album['album'] === 'Contact Photos') || ($album['album'] === t('Contact Photos')))
|
if((! strlen($album['album'])) || ($album['album'] === 'Contact Photos') || ($album['album'] === t('Contact Photos')))
|
||||||
continue;
|
continue;
|
||||||
$o .= '<li>' . '<a href="photos/' . $a->argv[1] . '/album/' . bin2hex($album['album']) . '" />' . $album['album'] . '</a></li>';
|
$o .= '<li>' . '<a href="photos/' . $a->argv[1] . '/album/' . bin2hex($album['album']) . '" >' . $album['album'] . '</a></li>';
|
||||||
}
|
}
|
||||||
$o .= '</ul>';
|
$o .= '</ul>';
|
||||||
|
|
||||||
|
$o .= '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(! x($a->page,'aside'))
|
if(! x($a->page,'aside'))
|
||||||
|
|
Loading…
Reference in a new issue