diff --git a/mod/photos.php b/mod/photos.php index 74457d6ac..8798cbb7a 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -221,7 +221,7 @@ function photos_post(App $a) // Update the photo albums cache Photo::clearAlbumCache($page_owner_uid); - $newurl = str_replace(bin2hex($album), bin2hex($newalbum), $_SESSION['photo_return']); + $newurl = System::baseUrl() . '/photos/' . $a->user['nickname'] . '/album/' . bin2hex($newalbum); goaway($newurl); return; // NOTREACHED } diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index dd464be09..59d882669 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -2470,6 +2470,13 @@ ul li:hover .contact-wrapper .contact-action-link:hover { } /* photos */ +#photo-album-edit-name-label { + width: 100%; +} +.photo-album-edit-name { + width: 60%; +} + .photo-album-actions { margin-bottom: 10px; } diff --git a/view/theme/frio/templates/album_edit.tpl b/view/theme/frio/templates/album_edit.tpl new file mode 100644 index 000000000..583eb6d1b --- /dev/null +++ b/view/theme/frio/templates/album_edit.tpl @@ -0,0 +1,14 @@ +