A free, self-hostable news aggregator…
Minor uniform stricter HTML (#3616)
Alexandre Alapetiteffb0e30dde98
diff --git a/app/views/auth/register.phtml b/app/views/auth/register.phtmlindex 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.phtmlindex 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.phtmlindex 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.phtmlindex 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.phtmlindex 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>