Fix schedule select

This commit is contained in:
Ilia Ross
2025-11-03 00:57:37 +02:00
parent 79f91c1468
commit c57651cd46
4 changed files with 4 additions and 4 deletions

View File

@@ -833,7 +833,7 @@ if ($config{'vixie_cron'} && (!$nospecial || $job->{'special'})) {
1, 0, 0, 0, "onChange='change_special_mode(form, 1)'");
$rv .= &ui_table_row($msg,
&ui_radio("special_def", $job->{'special'} ? 1 : 0,
[ [ 1, $text{'edit_special1'}." ".$specialsel ],
[ [ 1, $text{'edit_special1'}."  ".$specialsel ],
[ 0, $text{'edit_special0'} ] ]),
$msg ? $width-1 : $width);
}

View File

@@ -64,7 +64,7 @@ edit_saverun=Save and Run Now
edit_clone=Clone Job
edit_return=cron job
edit_ctrl=Note: Ctrl-click (or command-click on the Mac) to select and de-select minutes, hours, days and months.
edit_special1=Simple schedule ..
edit_special1=Simple schedule
edit_special0=Times and dates selected below ..
edit_special_hourly=Hourly
edit_special_daily=Daily (at midnight)

View File

@@ -8,7 +8,7 @@ edit_selected=Selected ..
edit_run=Run Now
edit_clone=Clone Job
edit_return=cron job
edit_special1=Simple schedule ..
edit_special1=Simple schedule
edit_special0=Times and dates selected below ..
edit_special_hourly=Hourly
edit_special_daily=Daily (at midnight)

View File

@@ -204,7 +204,7 @@ if ($special || $job->{'special'}) {
# Allow selection of special @ times
$rv .= "<tr $cb> <td colspan=6>\n";
$rv .= &ui_radio("special_def", $job->{'special'} ? 1 : 0,
[ [ 1, $text{'edit_special1'}." ".
[ [ 1, $text{'edit_special1'}."&nbsp;&nbsp;".
&ui_select("special", $job->{'special'},
[ map { [ $_, $text{'edit_special_'.$_} ] }
@special_modes ]) ],