From d72f248b3c0279cf8b8b525012fbf1572815e99e Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 4 Feb 2011 10:18:28 +0100 Subject: [PATCH 1/2] Allow to set a photo from albums as profile photo --- mod/photos.php | 3 +- mod/profile_photo.php | 126 ++++++++++++++++++++++++++++++------------ 2 files changed, 92 insertions(+), 37 deletions(-) diff --git a/mod/photos.php b/mod/photos.php index 52cc66eae1..1a1ebaac19 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -915,6 +915,7 @@ function photos_content(&$a) { if($can_post && ($ph[0]['uid'] == $owner_uid)) { $o .= ' - \ No newline at end of file + + + \ No newline at end of file diff --git a/view/fr/profile_photo.tpl b/view/fr/profile_photo.tpl index d518e73312..30e51210a8 100644 --- a/view/fr/profile_photo.tpl +++ b/view/fr/profile_photo.tpl @@ -11,4 +11,8 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/view/it/profile_photo.tpl b/view/it/profile_photo.tpl index d941743d4e..375197a925 100644 --- a/view/it/profile_photo.tpl +++ b/view/it/profile_photo.tpl @@ -12,3 +12,7 @@ + + \ No newline at end of file diff --git a/view/theme/default/style.css b/view/theme/default/style.css index 61782f6e37..5dd0b87121 100644 --- a/view/theme/default/style.css +++ b/view/theme/default/style.css @@ -734,6 +734,10 @@ input#dfrn-url { margin-bottom: 20px; } +#profile-photo-link-select-wrapper { + margin-top: 2em; +} + #profile-edit-profile-name-label, #profile-edit-name-label, #profile-edit-pdesc-label, diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index a1098f6a46..c7eb56fb13 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -602,6 +602,10 @@ input#dfrn-url { margin-bottom: 20px; } +#profile-photo-link-select-wrapper { + margin-top: 2em; +} + #profile-edit-profile-name-label, #profile-edit-name-label, #profile-edit-pdesc-label, @@ -1853,8 +1857,6 @@ a.mail-list-link { margin-bottom: 25px; } - - /* end from defautlt */