forked from ppy/osu-web
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into config-globals
- Loading branch information
Showing
48 changed files
with
406 additions
and
401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,15 @@ | |
Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the GNU Affero General Public License v3.0. | ||
See the LICENCE file in the repository root for full licence text. | ||
--}} | ||
{!! Form::open([ | ||
'route' => 'account.email', | ||
'method' => 'PUT', | ||
'data-remote' => true, | ||
'data-skip-ajax-error-popup' => '1', | ||
'class' => 'js-form-error js-form-clear js-account-edit account-edit' | ||
]) !!} | ||
<form | ||
action="{{ route('account.email') }}" | ||
class="js-form-error js-form-clear js-account-edit account-edit" | ||
data-remote | ||
data-skip-ajax-error-popup="1" | ||
method="POST" | ||
> | ||
@csrf | ||
<input name="_method" value="PUT" type="hidden" /> | ||
<div class="account-edit__section"> | ||
<h2 class="account-edit__section-title"> | ||
{{ osu_trans('accounts.edit.email.title') }} | ||
|
@@ -20,9 +22,10 @@ | |
<div class="account-edit__input-group"> | ||
<div class="account-edit-entry account-edit-entry--no-label"> | ||
<div>{!! osu_trans('accounts.edit.email.locked._', [ | ||
'accounts' => tag('a', [ | ||
'href' => 'mailto:'.$GLOBALS['cfg']['osu']['emails']['account'], | ||
], osu_trans('accounts.edit.email.locked.accounts')) | ||
'accounts' => link_to( | ||
"mailto:{$GLOBALS['cfg']['osu']['emails']['account']}", | ||
osu_trans('accounts.edit.email.locked.accounts') | ||
) | ||
]) !!}</div> | ||
</div> | ||
</div> | ||
|
@@ -93,4 +96,4 @@ class="account-edit-entry__input js-form-confirmation" | |
</div> | ||
@endif | ||
</div> | ||
{!! Form::close() !!} | ||
</form> |
Oops, something went wrong.