aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-09-16 12:40:08 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-09-16 12:40:08 -0400
commit158af74b3e1fe7bcdeabfffac6b537c32093e908 (patch)
treed32be8a9cd1d1da6360e60759493b36d8af0d7b7 /settings
parent442f26ea80e8736f085adb01ad932449d5ad476d (diff)
downloadnextcloud-server-158af74b3e1fe7bcdeabfffac6b537c32093e908.tar.gz
nextcloud-server-158af74b3e1fe7bcdeabfffac6b537c32093e908.zip
makes cron config layout similar to the sharing one
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/admin.php27
1 files changed, 21 insertions, 6 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index c4eab07ced4..35f34489fec 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -29,12 +29,27 @@ if(!$_['htaccessworking']) {
<fieldset class="personalblock" id="backgroundjobs">
<legend><strong><?php echo $l->t('Cron');?></strong></legend>
- <input type="radio" name="mode" value="ajax" id="backgroundjobs_ajax" <?php if( $_['backgroundjobs_mode'] == "ajax" ) { echo 'checked="checked"'; } ?>>
- <label for="backgroundjobs_ajax" title="<?php echo $l->t("execute one task with each page loaded"); ?>">AJAX</label><br />
- <input type="radio" name="mode" value="webcron" id="backgroundjobs_webcron" <?php if( $_['backgroundjobs_mode'] == "webcron" ) { echo 'checked="checked"'; } ?>>
- <label for="backgroundjobs_webcron" title="<?php echo $l->t("cron.php is registered at a webcron service. Call the cron.php page in the owncloud root once a minute over http."); ?>">Webcron</label><br />
- <input type="radio" name="mode" value="cron" id="backgroundjobs_cron" <?php if( $_['backgroundjobs_mode'] == "cron" ) { echo 'checked="checked"'; } ?>>
- <label for="backgroundjobs_cron" title="<?php echo $l->t("use systems cron service. Call the cron.php file in the owncloud folder via a system cronjob once a minute."); ?>">Cron</label><br />
+ <table class="nostyle">
+ <tr>
+ <td>
+ <input type="radio" name="mode" value="ajax" id="backgroundjobs_ajax" <?php if( $_['backgroundjobs_mode'] == "ajax" ) { echo 'checked="checked"'; } ?>>
+ <label for="backgroundjobs_ajax">AJAX</label><br />
+ <em><?php echo $l->t("Execute one task with each page loaded"); ?></em>
+ </td>
+ </tr><tr>
+ <td>
+ <input type="radio" name="mode" value="webcron" id="backgroundjobs_webcron" <?php if( $_['backgroundjobs_mode'] == "webcron" ) { echo 'checked="checked"'; } ?>>
+ <label for="backgroundjobs_webcron">Webcron</label><br />
+ <em><?php echo $l->t("cron.php is registered at a webcron service. Call the cron.php page in the owncloud root once a minute over http."); ?></em>
+ </td>
+ </tr><tr>
+ <td>
+ <input type="radio" name="mode" value="cron" id="backgroundjobs_cron" <?php if( $_['backgroundjobs_mode'] == "cron" ) { echo 'checked="checked"'; } ?>>
+ <label for="backgroundjobs_cron">Cron</label><br />
+ <em><?php echo $l->t("Use systems cron service. Call the cron.php file in the owncloud folder via a system cronjob once a minute."); ?></em>
+ </td>
+ </tr>
+ </table>
</fieldset>
<fieldset class="personalblock" id="shareAPI">