diff options
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/installation.php | 16 | ||||
-rw-r--r-- | core/templates/layout.user.php | 4 | ||||
-rw-r--r-- | core/templates/login.php | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index 058049d8946..6a0e3f93857 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -41,14 +41,14 @@ script('core', [ <input type="text" name="adminlogin" id="adminlogin" placeholder="<?php p($l->t( 'Username' )); ?>" value="<?php p($_['adminlogin']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required> + autocomplete="off" autocapitalize="none" autocorrect="off" autofocus required> <label for="adminlogin" class="infield"><?php p($l->t( 'Username' )); ?></label> </p> <p class="groupbottom"> <input type="password" name="adminpass" data-typetoggle="#show" id="adminpass" placeholder="<?php p($l->t( 'Password' )); ?>" value="<?php p($_['adminpass']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off" required> + autocomplete="off" autocapitalize="none" autocorrect="off" required> <label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label> <input type="checkbox" id="show" name="show"> <label for="show"></label> @@ -68,7 +68,7 @@ script('core', [ <input type="text" name="directory" id="directory" placeholder="<?php p(OC::$SERVERROOT.'/data'); ?>" value="<?php p($_['directory']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> </div> </fieldset> <?php endif; ?> @@ -105,13 +105,13 @@ script('core', [ <input type="text" name="dbuser" id="dbuser" placeholder="<?php p($l->t( 'Database user' )); ?>" value="<?php p($_['dbuser']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> </p> <p class="groupmiddle"> <input type="password" name="dbpass" id="dbpass" data-typetoggle="#dbpassword-toggle" placeholder="<?php p($l->t( 'Database password' )); ?>" value="<?php p($_['dbpass']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> <label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label> <input type="checkbox" id="dbpassword-toggle" name="dbpassword-toggle"> <label for="dbpassword-toggle"></label> @@ -121,7 +121,7 @@ script('core', [ <input type="text" name="dbname" id="dbname" placeholder="<?php p($l->t( 'Database name' )); ?>" value="<?php p($_['dbname']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off" + autocomplete="off" autocapitalize="none" autocorrect="off" pattern="[0-9a-zA-Z$_-]+"> </p> <?php if($_['hasOracle']): ?> @@ -131,7 +131,7 @@ script('core', [ <input type="text" name="dbtablespace" id="dbtablespace" placeholder="<?php p($l->t( 'Database tablespace' )); ?>" value="<?php p($_['dbtablespace']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> </p> </div> <?php endif; ?> @@ -140,7 +140,7 @@ script('core', [ <input type="text" name="dbhost" id="dbhost" placeholder="<?php p($l->t( 'Database host' )); ?>" value="<?php p($_['dbhost']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> </p> <p class="info"> <?php p($l->t( 'Please specify the port number along with the host name (e.g., localhost:5432).' )); ?> diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 1abb263edf8..adeeaf03797 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -81,7 +81,7 @@ </a> </li> <?php if(OC_User::isAdminUser(OC_User::getUser())): ?> - <li id="apps-management" <?php if(count($_['navigation'])>$headerIconCount-1): ?>class="hidden"<?php endif; ?>> + <li <?php if(count($_['navigation'])>$headerIconCount-1): ?> class="hidden apps-management"<?php else: ?> class="apps-management" <?php endif; ?>> <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('settings.AppSettings.viewApps')); ?>" tabindex="4" <?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>> <img src="<?php print_unescaped(image_path('settings', 'apps.svg') . '?v=' . $_['versionHash']); ?>" /> @@ -119,7 +119,7 @@ /* show "More apps" link to app administration directly in app navigation, as last entry */ if(OC_User::isAdminUser(OC_User::getUser())): ?> - <li id="apps-management"> + <li class="apps-management"> <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('settings.AppSettings.viewApps')); ?>" tabindex="4" <?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>> <svg width="32" height="32" viewBox="0 0 32 32" class="app-icon"> diff --git a/core/templates/login.php b/core/templates/login.php index 221242c0dcb..352893bd0dc 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -43,7 +43,7 @@ script('core', [ placeholder="<?php p($l->t('Username or email')); ?>" value="<?php p($_['loginName']); ?>" <?php p($_['user_autofocus'] ? 'autofocus' : ''); ?> - autocomplete="on" autocapitalize="off" autocorrect="off" required> + autocomplete="on" autocapitalize="none" autocorrect="off" required> <label for="user" class="infield"><?php p($l->t('Username or email')); ?></label> </p> @@ -51,7 +51,7 @@ script('core', [ <input type="password" name="password" id="password" value="" placeholder="<?php p($l->t('Password')); ?>" <?php p($_['user_autofocus'] ? '' : 'autofocus'); ?> - autocomplete="on" autocapitalize="off" autocorrect="off" required> + autocomplete="on" autocapitalize="off" autocorrect="none" required> <label for="password" class="infield"><?php p($l->t('Password')); ?></label> </p> |