Browse Source
Merge pull request #8135 from coliff/patch-3
Use correct input type for website url
pull/8182/head
Morris Jobke
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
settings/css/settings.scss
-
settings/templates/settings/personal/personal.info.php
|
|
@ -137,7 +137,7 @@ input { |
|
|
|
} |
|
|
|
|
|
|
|
.personal-settings-setting-box input { |
|
|
|
&[type="text"], &[type="email"], &[type="tel"] { |
|
|
|
&[type="text"], &[type="email"], &[type="tel"], &[type="url"] { |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
@ -240,7 +240,7 @@ vendor_style('jcrop/css/jquery.Jcrop'); |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<?php } ?>
|
|
|
|
<input type="text" name="website" id="website" value="<?php p($_['website']); ?>" |
|
|
|
<input type="url" name="website" id="website" value="<?php p($_['website']); ?>" |
|
|
|
placeholder="<?php p($l->t('Link https://…')); ?>" |
|
|
|
autocomplete="on" autocapitalize="none" autocorrect="off" |
|
|
|
<?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?>
|
|
|
|