diff options
| author | 2021-05-08 18:36:51 +0200 | |
|---|---|---|
| committer | 2021-05-08 18:36:51 +0200 | |
| commit | ffb0e30dde98bcef1b3fa0bfb020c3a478c6a402 (patch) | |
| tree | df336f8ad9bc0c15dc327e7994079699f86f3149 | |
| parent | 607f7e725487ce0eb0339b288ce9e58036dad4a0 (diff) | |
Minor uniform stricter HTML (#3616)
| -rw-r--r-- | app/views/auth/register.phtml | 4 | ||||
| -rw-r--r-- | app/views/configure/integration.phtml | 2 | ||||
| -rw-r--r-- | app/views/helpers/feed/update.phtml | 2 | ||||
| -rw-r--r-- | app/views/user/manage.phtml | 2 | ||||
| -rw-r--r-- | app/views/user/profile.phtml | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/app/views/auth/register.phtml b/app/views/auth/register.phtml index c0c05758f..96794d8b2 100644 --- a/app/views/auth/register.phtml +++ b/app/views/auth/register.phtml @@ -26,7 +26,7 @@ <label for="new_user_email"> <?= _t('gen.auth.email') ?> </label> - <input id="new_user_email" name="new_user_email" type="email" required /> + <input id="new_user_email" name="new_user_email" type="email" required="required" /> </div> <?php } ?> @@ -44,7 +44,7 @@ <?php if ($this->show_tos_checkbox) { ?> <div class="form-group"> <label class="checkbox" for="accept-tos"> - <input type="checkbox" name="accept_tos" id="accept-tos" value="1" required /> + <input type="checkbox" name="accept_tos" id="accept-tos" value="1" required="required" /> <?= _t('gen.auth.accept_tos', _url('index', 'tos')) ?> </label> </div> diff --git a/app/views/configure/integration.phtml b/app/views/configure/integration.phtml index e8ca5c3a3..c6deea5c2 100644 --- a/app/views/configure/integration.phtml +++ b/app/views/configure/integration.phtml @@ -6,7 +6,7 @@ <form method="post" action="<?= _url('configure', 'integration') ?>" data-simple='<div class="form-group" id="group-share-##key##"><label class="group-name">##label##</label><div class="group-controls"><div class="stick"> <input type="text" id="share_##key##_name" name="share[##key##][name]" class="extend" value="##label##" placeholder="<?= _t('conf.sharing.share_name') ?>" size="64" /> - <input type="url" id="share_##key##_url" name="share[##key##][url]" class="extend" value="" placeholder="<?= _t('gen.short.not_applicable') ?>" size="64" disabled /> + <input type="url" id="share_##key##_url" name="share[##key##][url]" class="extend" value="" placeholder="<?= _t('gen.short.not_applicable') ?>" size="64" disabled="disabled" /> <a href="#" class="remove btn btn-attention"><?= _i('close') ?></a></div> <input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" /></div></div>' data-advanced='<div class="form-group" id="group-share-##key##"><label class="group-name">##label##</label><div class="group-controls"> diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index 8127875ed..23a0e3ffa 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -250,7 +250,7 @@ <div class="form-group"> <div class="group-controls"> <label class="checkbox" for="pubsubhubbub"> - <input type="checkbox" name="pubsubhubbub" id="pubsubhubbub" disabled="disabled" value="1" checked /> + <input type="checkbox" name="pubsubhubbub" id="pubsubhubbub" disabled="disabled" value="1" checked="checked" /> <?= _t('sub.feed.websub') ?> </label> </div> diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml index 4332562e9..c22affc9d 100644 --- a/app/views/user/manage.phtml +++ b/app/views/user/manage.phtml @@ -43,7 +43,7 @@ <?= _t('gen.auth.email') ?> </label> <div class="group-controls"> - <input id="new_user_email" name="new_user_email" type="email" required /> + <input id="new_user_email" name="new_user_email" type="email" required="required" /> </div> </div> <?php } ?> diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml index 3fc79bb47..799ead160 100644 --- a/app/views/user/profile.phtml +++ b/app/views/user/profile.phtml @@ -22,7 +22,7 @@ <div class="form-group"> <div class="group-controls"> <label class="checkbox" for="is_admin"> - <input type="checkbox" id="is_admin" disabled checked /> + <input type="checkbox" id="is_admin" disabled="disabled" checked="checked" /> <?= _t('conf.user.is_admin') ?> </label> </div> |
