From b26da6096b0d384d3bcae2e94fbbea168813b128 Mon Sep 17 00:00:00 2001 From: Andreas Neustifter Date: Fri, 20 Jul 2018 21:23:51 +0200 Subject: [PATCH] [frio] Restyle album edit header. (#5426) --- mod/photos.php | 2 +- view/theme/frio/css/style.css | 7 +++++++ view/theme/frio/templates/album_edit.tpl | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 view/theme/frio/templates/album_edit.tpl 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 @@ +
+
+ +
+ +
+ +
+ + +
+
+
+