Backgroundjobs: improve admin form
This commit is contained in:
parent
595591a460
commit
7055d2aa2b
|
@ -29,6 +29,7 @@ $tmpl->assign('loglevel',OC_Config::getValue( "loglevel", 2 ));
|
|||
$tmpl->assign('entries',$entries);
|
||||
$tmpl->assign('entriesremain', $entriesremain);
|
||||
$tmpl->assign('htaccessworking',$htaccessworking);
|
||||
$tmpl->assign('backgroundjobs_mode', OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax'));
|
||||
$tmpl->assign('forms',array());
|
||||
foreach($forms as $form){
|
||||
$tmpl->append('forms',$form);
|
||||
|
|
|
@ -27,13 +27,13 @@ if(!$_['htaccessworking']) {
|
|||
|
||||
<fieldset class="personalblock" id="backgroundjobs">
|
||||
<legend><strong><?php echo $l->t('Cron');?></strong></legend>
|
||||
<input type="radio" name="mode" value="none" id="backgroundjobs_none">
|
||||
<input type="radio" name="mode" value="none" id="backgroundjobs_none" <?php if( $_['backgroundjob_mode'] == "none" ){ echo 'checked="checked"' } ?>>
|
||||
<label for="backgroundjobs_none">None</label><br />
|
||||
<input type="radio" name="mode" value="ajax" id="backgroundjobs_ajax">
|
||||
<input type="radio" name="mode" value="ajax" id="backgroundjobs_ajax" <?php if( $_['backgroundjob_mode'] == "ajax" ){ echo 'checked="checked"' } ?>>
|
||||
<label for="backgroundjobs_ajax">AJAX</label><br />
|
||||
<input type="radio" name="mode" value="webcron" id="backgroundjobs_webcron">
|
||||
<input type="radio" name="mode" value="webcron" id="backgroundjobs_webcron" <?php if( $_['backgroundjob_mode'] == "webcron" ){ echo 'checked="checked"' } ?>>
|
||||
<label for="backgroundjobs_webcron">Webcron</label><br />
|
||||
<input type="radio" name="mode" value="cron" id="backgroundjobs_cron">
|
||||
<input type="radio" name="mode" value="cron" id="backgroundjobs_cron" <?php if( $_['backgroundjob_mode'] == "cron" ){ echo 'checked="checked"' } ?>>
|
||||
<label for="backgroundjobs_cron">Cron</label><br />
|
||||
</fieldset>
|
||||
|
||||
|
|
Loading…
Reference in New Issue