From b1254a71bc98cff230bbbba597da98cb96947cc6 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 8 Sep 2014 16:28:02 -0700 Subject: wrap photo albums (albums and top level) in a div id=photo-album-contents --- mod/photos.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index 70870a33a..b1d105986 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -702,6 +702,9 @@ function photos_content(&$a) { $tpl = get_markup_template('photo_album.tpl'); if(count($r)) { $twist = 'rotright'; + $o .= ""; + $o .= '
'; + foreach($r as $rr) { if($twist == 'rotright') @@ -730,7 +733,6 @@ function photos_content(&$a) { $rel=("photo"); // } - $o .= ""; $tmp = replace_macros($tpl,array( '$id' => $rr['id'], @@ -758,6 +760,7 @@ function photos_content(&$a) { } $o .= '
'; + $o .= '
'; // photo-album-contents $o .= '
'; $o .= ''; $o .= '
'; -- cgit v1.2.3