From d72f248b3c0279cf8b8b525012fbf1572815e99e Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 4 Feb 2011 10:18:28 +0100 Subject: [PATCH 1/3] 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 */ From 4e913d59eabbddfc5428c4b0f91d1cd612f0dd5e Mon Sep 17 00:00:00 2001 From: olivierm Date: Sat, 5 Feb 2011 15:19:28 +0100 Subject: [PATCH 3/3] Fixed some typo (prevented Friendika to load with french locale) --- view/fr/strings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/view/fr/strings.php b/view/fr/strings.php index c64bba1b7a..8bac6347f9 100644 --- a/view/fr/strings.php +++ b/view/fr/strings.php @@ -293,6 +293,7 @@ $a->strings['Edit Album'] = 'Éditer l\'album'; $a->strings['View Photo'] = 'Voir la photo'; $a->strings['Photo not available'] = 'Photo indisponible'; $a->strings['Edit photo'] = 'Éditer la photo'; +$a->strings['New album name'] = 'Nom du nouvel album'; $a->strings['View Full Size'] = 'Voir en taille réelle'; $a->strings['Tags: '] = 'Étiquettes: '; $a->strings['[Remove any tag]'] = '[Retirer toutes les étiquettes]';