Add time-of-day to XML files.
This commit is contained in:
parent
a1055b60a3
commit
81b1056bfa
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2014
|
Portions created by the Initial Developer are Copyright (C) 2008-2015
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
|
|
@ -1364,6 +1364,9 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
|
||||||
case "mon":
|
case "mon":
|
||||||
$time_array[$row['dialplan_uuid']] = $row['dialplan_detail_type'];
|
$time_array[$row['dialplan_uuid']] = $row['dialplan_detail_type'];
|
||||||
break;
|
break;
|
||||||
|
case "time-of-day":
|
||||||
|
$time_array[$row['dialplan_uuid']] = $row['dialplan_detail_type'];
|
||||||
|
break;
|
||||||
case "yday":
|
case "yday":
|
||||||
$time_array[$row['dialplan_uuid']] = $row['dialplan_detail_type'];
|
$time_array[$row['dialplan_uuid']] = $row['dialplan_detail_type'];
|
||||||
break;
|
break;
|
||||||
|
|
@ -2299,6 +2302,9 @@ function save_dialplan_xml() {
|
||||||
case "mon":
|
case "mon":
|
||||||
$type = 'time';
|
$type = 'time';
|
||||||
break;
|
break;
|
||||||
|
case "time-of-day":
|
||||||
|
$type = 'time';
|
||||||
|
break;
|
||||||
case "yday":
|
case "yday":
|
||||||
$type = 'time';
|
$type = 'time';
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue