revert last commit f59e574, remove some html code

This commit is contained in:
Rabuzarus 2014-12-26 14:44:48 +01:00
parent f59e574068
commit 5939a8cea5
1 changed files with 1 additions and 3 deletions

View File

@ -1183,8 +1183,6 @@ function photos_content(&$a) {
intval($a->pager['itemspage'])
);
$o .= '<h3 id="photo-album-title">' . $album . '</h3>';
if($cmd === 'edit') {
if(($album !== t('Profile Photos')) && ($album !== 'Contact Photos') && ($album !== t('Contact Photos'))) {
if($can_post) {
@ -1266,7 +1264,7 @@ function photos_content(&$a) {
'$edit' => $edit
));
$o .= '<div id="photo-album-end"></div>';
$o .= paginate($a);
return $o;