@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php /** @var $l OC_L10N */ ?> |
| 2 | 2 | <?php |
| 3 | 3 | script('user_ldap', [ |
| 4 | - 'renewPassword', |
|
| 4 | + 'renewPassword', |
|
| 5 | 5 | ]); |
| 6 | 6 | style('user_ldap', 'renewPassword'); |
| 7 | 7 | ?> |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | script('core', [ |
| 3 | - 'installation' |
|
| 3 | + 'installation' |
|
| 4 | 4 | ]); |
| 5 | 5 | ?> |
| 6 | 6 | <input type='hidden' id='hasMySQL' value='<?php p($_['hasMySQL']) ?>'> |
@@ -29,9 +29,9 @@ discard block |
||
| 29 | 29 | <legend><strong><?php p($l->t('Security warning'));?></strong></legend> |
| 30 | 30 | <p><?php p($l->t('Your data directory and files are probably accessible from the internet because the .htaccess file does not work.'));?><br> |
| 31 | 31 | <?php print_unescaped($l->t( |
| 32 | - 'For information how to properly configure your server, please see the <a href="%s" target="_blank" rel="noreferrer noopener">documentation</a>.', |
|
| 33 | - [link_to_docs('admin-install')] |
|
| 34 | - )); ?></p> |
|
| 32 | + 'For information how to properly configure your server, please see the <a href="%s" target="_blank" rel="noreferrer noopener">documentation</a>.', |
|
| 33 | + [link_to_docs('admin-install')] |
|
| 34 | + )); ?></p> |
|
| 35 | 35 | </fieldset> |
| 36 | 36 | <?php endif; ?> |
| 37 | 37 | <fieldset id="adminaccount"> |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | <?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?> |
| 76 | 76 | <fieldset id='databaseBackend'> |
| 77 | 77 | <?php if($_['hasMySQL'] or $_['hasPostgreSQL'] or $_['hasOracle']) |
| 78 | - $hasOtherDB = true; else $hasOtherDB =false; //other than SQLite ?> |
|
| 78 | + $hasOtherDB = true; else $hasOtherDB =false; //other than SQLite ?> |
|
| 79 | 79 | <legend><?php p($l->t( 'Configure the database' )); ?></legend> |
| 80 | 80 | <div id="selectDbType"> |
| 81 | 81 | <?php foreach($_['databases'] as $type => $label): ?> |
@@ -22,12 +22,12 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | |
| 24 | 24 | script('settings', [ |
| 25 | - 'templates', |
|
| 26 | - 'vue-settings-personal-security', |
|
| 25 | + 'templates', |
|
| 26 | + 'vue-settings-personal-security', |
|
| 27 | 27 | ]); |
| 28 | 28 | |
| 29 | 29 | if($_['passwordChangeSupported']) { |
| 30 | - script('settings', 'security_password'); |
|
| 30 | + script('settings', 'security_password'); |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | ?> |
@@ -69,16 +69,16 @@ discard block |
||
| 69 | 69 | <?php foreach ($_['twoFactorProviderData']['providers'] as $data) { ?> |
| 70 | 70 | <li> |
| 71 | 71 | <?php |
| 72 | - /** @var \OCP\Authentication\TwoFactorAuth\IProvidesPersonalSettings $provider */ |
|
| 73 | - $provider = $data['provider']; |
|
| 74 | - if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) { |
|
| 75 | - $icon = $provider->getDarkIcon(); |
|
| 76 | - } else { |
|
| 77 | - $icon = image_path('core', 'actions/password.svg'); |
|
| 78 | - } |
|
| 79 | - /** @var \OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings $settings */ |
|
| 80 | - $settings = $data['settings']; |
|
| 81 | - ?> |
|
| 72 | + /** @var \OCP\Authentication\TwoFactorAuth\IProvidesPersonalSettings $provider */ |
|
| 73 | + $provider = $data['provider']; |
|
| 74 | + if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) { |
|
| 75 | + $icon = $provider->getDarkIcon(); |
|
| 76 | + } else { |
|
| 77 | + $icon = image_path('core', 'actions/password.svg'); |
|
| 78 | + } |
|
| 79 | + /** @var \OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings $settings */ |
|
| 80 | + $settings = $data['settings']; |
|
| 81 | + ?> |
|
| 82 | 82 | <h3> |
| 83 | 83 | <img class="two-factor-provider-settings-icon" src="<?php p($icon) ?>" alt=""> |
| 84 | 84 | <?php p($provider->getDisplayName()) ?> |
@@ -26,24 +26,24 @@ discard block |
||
| 26 | 26 | 'vue-settings-personal-security', |
| 27 | 27 | ]); |
| 28 | 28 | |
| 29 | -if($_['passwordChangeSupported']) { |
|
| 29 | +if ($_['passwordChangeSupported']) { |
|
| 30 | 30 | script('settings', 'security_password'); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | ?> |
| 34 | -<?php if($_['passwordChangeSupported']) { ?> |
|
| 34 | +<?php if ($_['passwordChangeSupported']) { ?> |
|
| 35 | 35 | <div id="security-password" class="section"> |
| 36 | - <h2 class="inlineblock"><?php p($l->t('Password'));?></h2> |
|
| 36 | + <h2 class="inlineblock"><?php p($l->t('Password')); ?></h2> |
|
| 37 | 37 | <span id="password-error-msg" class="msg success hidden">Saved</span> |
| 38 | 38 | <div class="personal-settings-setting-box personal-settings-password-box"> |
| 39 | 39 | <form id="passwordform"> |
| 40 | 40 | <label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label> |
| 41 | 41 | <input type="password" id="pass1" name="oldpassword" |
| 42 | - placeholder="<?php p($l->t('Current password'));?>" |
|
| 42 | + placeholder="<?php p($l->t('Current password')); ?>" |
|
| 43 | 43 | autocomplete="off" autocapitalize="none" autocorrect="off" /> |
| 44 | 44 | |
| 45 | 45 | <div class="personal-show-container"> |
| 46 | - <label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label> |
|
| 46 | + <label for="pass2" class="hidden-visually"><?php p($l->t('New password')); ?>: </label> |
|
| 47 | 47 | <input type="password" id="pass2" name="newpassword" |
| 48 | 48 | placeholder="<?php p($l->t('New password')); ?>" |
| 49 | 49 | data-typetoggle="#personal-show" |
@@ -60,11 +60,11 @@ discard block |
||
| 60 | 60 | <?php } ?> |
| 61 | 61 | |
| 62 | 62 | <div id="two-factor-auth" class="section"> |
| 63 | - <h2><?php p($l->t('Two-Factor Authentication'));?></h2> |
|
| 63 | + <h2><?php p($l->t('Two-Factor Authentication')); ?></h2> |
|
| 64 | 64 | <a target="_blank" rel="noreferrer noopener" class="icon-info" |
| 65 | - title="<?php p($l->t('Open documentation'));?>" |
|
| 65 | + title="<?php p($l->t('Open documentation')); ?>" |
|
| 66 | 66 | href="<?php p(link_to_docs('user-2fa')); ?>"></a> |
| 67 | - <p class="settings-hint"><?php p($l->t('Use a second factor besides your password to increase security for your account.'));?></p> |
|
| 67 | + <p class="settings-hint"><?php p($l->t('Use a second factor besides your password to increase security for your account.')); ?></p> |
|
| 68 | 68 | <ul> |
| 69 | 69 | <?php foreach ($_['twoFactorProviderData']['providers'] as $data) { ?> |
| 70 | 70 | <li> |