diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-04-27 12:27:36 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-28 23:41:38 -0300 |
commit | 806ca43b527809e6b37573b6995535638102039c (patch) | |
tree | 6fa63aa1c0db8207295645d06a37cd31cce6fa32 /settings/templates | |
parent | 9480b29413daba34432885642b575065ed5f5d6d (diff) | |
download | nextcloud-server-806ca43b527809e6b37573b6995535638102039c.tar.gz nextcloud-server-806ca43b527809e6b37573b6995535638102039c.zip |
allow to display the verification code also while verification is already running
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/personal.php | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 8dc2872e743..6cd9ac8f7be 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -106,13 +106,12 @@ print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '"'); break; case \OC\Accounts\AccountManager::VERIFIED: - print_unescaped('src="' . image_path('core', 'actions/verified.svg') . '""'); + print_unescaped('src="' . image_path('core', 'actions/verified.svg') . '"'); break; default: print_unescaped('src="' . image_path('core', 'actions/verify.svg') . '"'); } - print_unescaped(' title="' . $_['websiteMessage'] . '""'); - ?>> + ?> title="<?php p($_['emailMessage']); ?>"> </div> <input type="email" name="email" id="email" value="<?php p($_['email']); ?>" <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> @@ -167,10 +166,10 @@ <span class="icon-password"/> </h2> <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> - <img id="verify-website" <?php + <img id="verify-website" data-status="<?php p($_['websiteVerification']) ?>" <?php switch($_['websiteVerification']) { case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: - print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '"'); + print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '" class="verify-action"'); break; case \OC\Accounts\AccountManager::VERIFIED: print_unescaped('src="' . image_path('core', 'actions/verified.svg') . '"'); @@ -178,8 +177,7 @@ default: print_unescaped('src="' . image_path('core', 'actions/verify.svg') . '" class="verify-action"'); } - print_unescaped(' title="' . $_['websiteMessage'] . '""'); - ?>> + ?> title="<?php p($_['websiteMessage']); ?>"> <div class="verification-dialog popovermenu bubble menu"> <div class="verification-dialog-content"> <p class="explainVerification"></p> @@ -205,7 +203,7 @@ <img id="verify-twitter" <?php switch($_['twitterVerification']) { case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: - print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '"'); + print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '" class="verify-action"'); break; case \OC\Accounts\AccountManager::VERIFIED: print_unescaped('src="' . image_path('core', 'actions/verified.svg') . '"'); @@ -213,8 +211,7 @@ default: print_unescaped('src="' . image_path('core', 'actions/verify.svg') . '" class="verify-action"'); } - print_unescaped(' title="' . $_['twitterMessage'] . '""'); - ?>> + ?> title="<?php p($_['twitterMessage']); ?>"> <div class="verification-dialog popovermenu bubble menu"> <div class="verification-dialog-content"> <p class="explainVerification"></p> |