mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Use new designs
This commit is contained in:
parent
44fae4497b
commit
8692aabe9b
@ -267,6 +267,7 @@ en:
|
||||
FIRSTNAME: 'First Name'
|
||||
INTERFACELANG: 'Interface Language'
|
||||
KEEPMESIGNEDIN: 'Remember me for {count} days'
|
||||
KEEP_ME_SIGNED_IN_TOOLTIP: 'You will remain authenticated on this device for {count} days. Only use this feature if you trust the device you are using. Authenticated devices can be managed in your profile.'
|
||||
LOGGEDINAS: 'You''re logged in as {name}.'
|
||||
NEWPASSWORD: 'New Password'
|
||||
PASSWORD: Password
|
||||
|
@ -64,6 +64,15 @@ class CMSMemberLoginForm extends MemberLoginForm
|
||||
[ 'count' => RememberLoginHash::config()->uninherited('token_expiry_days') ]
|
||||
)
|
||||
)
|
||||
->setAttribute('data-toggle', 'tooltip')
|
||||
->setAttribute(
|
||||
'title',
|
||||
_t(
|
||||
'SilverStripe\\Security\\Member.KEEP_ME_SIGNED_IN_TOOLTIP',
|
||||
'You will remain authenticated on this device for {count} days. Only use this feature if you trust the device you are using. Authenticated devices can be managed in your profile.',
|
||||
['count' => RememberLoginHash::config()->uninherited('token_expiry_days')]
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -159,6 +159,15 @@ class MemberLoginForm extends BaseLoginForm
|
||||
[ 'count' => RememberLoginHash::config()->uninherited('token_expiry_days') ]
|
||||
)
|
||||
)
|
||||
->setAttribute('data-toggle', 'tooltip')
|
||||
->setAttribute(
|
||||
'title',
|
||||
_t(
|
||||
'SilverStripe\\Security\\Member.KEEP_ME_SIGNED_IN_TOOLTIP',
|
||||
'You will remain authenticated on this device for {count} days. Only use this feature if you trust the device you are using. Authenticated devices can be managed in your profile.',
|
||||
['count' => RememberLoginHash::config()->uninherited('token_expiry_days')]
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user