From 7bc15229b5159c6be9a48821a94f12d80d1174f9 Mon Sep 17 00:00:00 2001 From: FreeMe Date: Sat, 11 Jun 2016 22:23:49 +0100 Subject: [PATCH] Update call_flow_edit.php (#1652) Allows the page to become multilingual --- app/call_flows/call_flow_edit.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/call_flows/call_flow_edit.php b/app/call_flows/call_flow_edit.php index c73b606f46..808c705a41 100644 --- a/app/call_flows/call_flow_edit.php +++ b/app/call_flows/call_flow_edit.php @@ -22,6 +22,7 @@ Contributor(s): Mark J Crane + Lewis Hallam */ require_once "root.php"; require_once "resources/require.php"; @@ -479,7 +480,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; //misc optgroup if (if_group("superadmin")) { - echo "\n"; + echo "\n"; echo " \n"; echo " \n"; echo "\n"; @@ -487,7 +488,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //recordings $tmp_selected = false; if (count($recordings) > 0) { - echo "\n"; + echo "\n"; foreach ($recordings as &$row) { $recording_name = $row["recording_name"]; $recording_filename = $row["recording_filename"]; @@ -530,7 +531,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $dir_path = $_SESSION['switch']['sounds']['dir']; recur_sounds_dir($_SESSION['switch']['sounds']['dir']); if (count($dir_array) > 0) { - echo "\n"; + echo "\n"; foreach ($dir_array as $key => $value) { if (strlen($value) > 0) { if (substr($var, 0, 71) == "\$\${sounds_dir}/\${default_language}/\${default_dialect}/\${default_voice}/") {