diff options
| author | 2024-03-17 22:49:12 +0100 | |
|---|---|---|
| committer | 2024-03-17 22:49:12 +0100 | |
| commit | 6bd6494ad48c4894befed44e9c3f753c123aca5d (patch) | |
| tree | c275e183b49904f0e85386380f4f1f685e710ee8 /app/views/configure | |
| parent | d7bc70e3fb9785ee74e3d446d7a11858a083fe6a (diff) | |
fixed HTML: <fieldset> + <legend> (#6202)
* legend tags cleaned
* formgroup -> fieldset tag
* add bookmarklet class
* Update logs.phtml
* Update logs.phtml
* fixed log table text alignment
Diffstat (limited to 'app/views/configure')
| -rw-r--r-- | app/views/configure/integration.phtml | 20 | ||||
| -rw-r--r-- | app/views/configure/system.phtml | 2 |
2 files changed, 10 insertions, 12 deletions
diff --git a/app/views/configure/integration.phtml b/app/views/configure/integration.phtml index 973ee128f..7d4cfd765 100644 --- a/app/views/configure/integration.phtml +++ b/app/views/configure/integration.phtml @@ -13,7 +13,7 @@ <form method="post" action="<?= _url('configure', 'integration') ?>" class="draggableList"> <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /> <template id="simple-share"> - <formgroup class="group-share dragbox"> + <fieldset class="group-share dragbox"> <legend draggable="true">##label##</legend> <input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" data-leave-validation="" /> <div class="form-group" id="group-share-##key##"> @@ -27,10 +27,10 @@ <button type="button" class="remove btn btn-attention" title="<?= _t('conf.sharing.remove') ?>"><?= _t('gen.action.remove') ?></button> </div> </div> - </formgroup> + </fieldset> </template> <template id="advanced-share"> - <formgroup class="group-share dragbox"> + <fieldset class="group-share dragbox"> <legend draggable="true">##label##</legend> <input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" data-leave-validation="" /> <input type="hidden" id="share_##key##_method" name="share[##key##][method]" value="##method##" /> @@ -53,7 +53,7 @@ <button type="button" class="remove btn btn-attention" title="<?= _t('conf.sharing.remove') ?>"><?= _t('gen.action.remove') ?></button> </div> </div> - </formgroup> + </fieldset> </template> <?php @@ -64,7 +64,7 @@ } $share->update($share_options); ?> - <formgroup class="group-share dragbox" id="group-share-<?= $key ?>"> + <fieldset class="group-share dragbox" id="group-share-<?= $key ?>"> <legend draggable="true"><?= $share->name(true) ?></legend> <input type="hidden" id="share_<?= $key ?>_type" name="share[<?= $key ?>][type]" value="<?= $share->type() ?>" /> <input type="hidden" id="share_<?= $key ?>_method" name="share[<?= $key ?>][method]" value="<?= $share->method() ?>" /> @@ -110,13 +110,11 @@ </div> - </formgroup> + </fieldset> <?php } ?> - <formgroup> - <legend> - <?= _t('conf.sharing.add') ?> - </legend> + <fieldset> + <legend><?= _t('conf.sharing.add') ?></legend> <div class="form-group"> <div class="group-controls"> <div class="stick"> @@ -132,7 +130,7 @@ </div> </div> </div> - </formgroup> + </fieldset> <div class="form-group form-actions"> <div class="group-controls"> diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml index 809b869a9..bd1c91fd1 100644 --- a/app/views/configure/system.phtml +++ b/app/views/configure/system.phtml @@ -74,7 +74,7 @@ </div> </div> - <legend><?= _t('admin.system.registration.title') ?></legend> + <h2><?= _t('admin.system.registration.title') ?></h2> <div class="form-group"> <label class="group-name" for="max-registrations-select"><?= _t('admin.system.registration.select.label') ?></label> |
