Merge pull request #221 from nextcloud/bugfix/noid/better-example-urls

Fix checkbox style in admin settings
This commit is contained in:
Joas Schilling 2020-07-14 10:45:44 +02:00 committed by GitHub
commit 312c9db9b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -20,14 +20,13 @@ foreach ($_['groups'] as $group) {
<input type="text" id="allowed_domains" name="allowed_domains" value=<?php p($_['allowed']);?>>
</p>
<p>
<em><?php p($l->t('Enter a semicolon-separated list of allowed domains. Example: owncloud.com;github.com'));?></em>
<em><?php p($l->t('Enter a semicolon-separated list of allowed domains. Example: nextcloud.com;example.com'));?></em>
</p>
<p>
<label for="admin_approval_required"><?php p($l->t('Require admin approval?')); ?>
<input type="checkbox" id="admin_approval_required" name="admin_approval_required" <?php if ($_['approval_required'] === "yes") {
<div style="margin-top: 10px;">
<input type="checkbox" id="admin_approval_required" class="checkbox" name="admin_approval_required" <?php if ($_['approval_required'] === "yes") {
echo " checked";
} ?>>
</label>
</p>
<label for="admin_approval_required"><?php p($l->t('Require admin approval?')); ?></label>
</div>
</form>