Use correct input type for website url

type="url"
This commit is contained in:
Christian Oliff 2018-02-01 20:31:00 +09:00 committed by GitHub
parent 009874a4c2
commit d2f616b545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ vendor_style('jcrop/css/jquery.Jcrop');
</div> </div>
</div> </div>
<?php } ?> <?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://…')); ?>" placeholder="<?php p($l->t('Link https://…')); ?>"
autocomplete="on" autocapitalize="none" autocorrect="off" autocomplete="on" autocapitalize="none" autocorrect="off"
<?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?>