Skip to content

Commit

Permalink
Merge pull request #27681 from fcturner/patch-4
Browse files Browse the repository at this point in the history
Admin Cron settings: support themed radio buttons
  • Loading branch information
Vincent Petry authored Apr 20, 2017
2 parents 927ffd2 + d2589af commit 718d85b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions settings/templates/panels/admin/backgroundjobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@
title="<?php p($l->t('Open documentation'));?>"
href="<?php p(link_to_docs('admin-background-jobs')); ?>"></a>
<p>
<input type="radio" name="mode" value="ajax"
<input type="radio" name="mode" class="radio" value="ajax"
id="backgroundjobs_ajax" <?php if ($_['backgroundjobs_mode'] === "ajax") {
print_unescaped('checked="checked"');
} ?>>
<label for="backgroundjobs_ajax">AJAX</label><br/>
<em><?php p($l->t("Execute one task with each page loaded")); ?></em>
</p>
<p>
<input type="radio" name="mode" value="webcron"
<input type="radio" name="mode" class="radio" value="webcron"
id="backgroundjobs_webcron" <?php if ($_['backgroundjobs_mode'] === "webcron") {
print_unescaped('checked="checked"');
} ?>>
<label for="backgroundjobs_webcron">Webcron</label><br/>
<em><?php p($l->t("cron.php is registered at a webcron service to call cron.php every 15 minutes over http.")); ?></em>
</p>
<p>
<input type="radio" name="mode" value="cron"
<input type="radio" name="mode" class="radio" value="cron"
id="backgroundjobs_cron" <?php if ($_['backgroundjobs_mode'] === "cron") {
print_unescaped('checked="checked"');
} ?>>
Expand Down

0 comments on commit 718d85b

Please sign in to comment.