mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Remove minute from time conditions as its better to use one of the other options.
This commit is contained in:
@@ -562,7 +562,7 @@ require_once "resources/header.php";
|
||||
$time_condition_vars["week"] = $text['label-week-of-year'];
|
||||
$time_condition_vars["mweek"] = $text['label-week-of-month'];
|
||||
$time_condition_vars["hour"] = $text['label-hour-of-day'];
|
||||
$time_condition_vars["minute"] = $text['label-minute-of-hour'];
|
||||
//$time_condition_vars["minute"] = $text['label-minute-of-hour'];
|
||||
//$time_condition_vars["minute-of-day"] = $text['label-minute-of-day'];
|
||||
$time_condition_vars["time-of-day"] = $text['label-time-of-day'];
|
||||
$time_condition_vars["date-time"] = $text['label-date-and-time'];
|
||||
@@ -685,13 +685,6 @@ require_once "resources/header.php";
|
||||
}
|
||||
break;
|
||||
|
||||
case 'minute': //minutes of hour
|
||||
for (m = 0; m <= 59; m++) {
|
||||
sel_start.options[sel_start.options.length] = new Option(pad(m, 2), m); //pad function defined below
|
||||
sel_stop.options[sel_stop.options.length] = new Option(pad(m, 2), m);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'time-of-day': //time of day
|
||||
for (h = 0; h <= 23; h++) {
|
||||
for (m = 0; m <= 55; m += 5) {
|
||||
|
||||
Reference in New Issue
Block a user