diff --git a/resources/lang/en/forms.php b/resources/lang/en/forms.php index 0473b7f..d040f4b 100644 --- a/resources/lang/en/forms.php +++ b/resources/lang/en/forms.php @@ -24,6 +24,7 @@ return [ 'download_action' => 'Download', 'edit_action' => 'Edit', 'email_label' => 'E-mail address:', + 'enable_profile_page_label' => 'Allow others to see my profile page', 'labels_label' => 'Labels:', 'login_action' => 'Login', 'name_label' => 'Name:', @@ -33,6 +34,8 @@ return [ 'password_confirm_label' => 'Confirm password:', 'please_select' => '- Select an Option -', 'private_album_label' => 'Private album (only visible to me)', + 'profile_alias_label' => 'Alias:', + 'profile_alias_help' => 'The profile alias is used to create a unique URL direct to your profile page.', 'quick_upload_file_label' => 'Photo:', 'realname_label' => 'Your name:', 'register_action' => 'Create account', diff --git a/resources/lang/en/gallery.php b/resources/lang/en/gallery.php index bd23787..b782b31 100644 --- a/resources/lang/en/gallery.php +++ b/resources/lang/en/gallery.php @@ -80,7 +80,6 @@ return [ ], 'user_settings' => [ 'change_password' => 'Change password', - 'show_public_profile' => 'Allow others to see my profile page', 'title' => 'Change my settings' ] ]; \ No newline at end of file diff --git a/resources/views/themes/base/gallery/user_settings.blade.php b/resources/views/themes/base/gallery/user_settings.blade.php index 983efc9..962ce1e 100644 --- a/resources/views/themes/base/gallery/user_settings.blade.php +++ b/resources/views/themes/base/gallery/user_settings.blade.php @@ -46,18 +46,41 @@ -
+
-
- is_admin)) checked="checked"@endif> - -
+
+ Public profile -
+
+ + +
+ + @lang('forms.profile_alias_help') + + @if ($errors->has('profile_alias')) +
+ {{ $errors->first('profile_alias') }} +
+ @endif +
+
+ +
+
+
+ enable_profile_page)) checked="checked"@endif> + +
+
+
+
+ +
@lang('forms.cancel_action')