diff --git a/app/conference_centers/app_config.php b/app/conference_centers/app_config.php index 8729633d74..e191799657 100644 --- a/app/conference_centers/app_config.php +++ b/app/conference_centers/app_config.php @@ -170,6 +170,11 @@ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)'; $apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Meeting UUID'; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'record'; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'recording'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Select whether to record the conference.'; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = 'max_members'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric'; $apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Limit number of people in the conference.'; diff --git a/app/conference_centers/conference_room_edit.php b/app/conference_centers/conference_room_edit.php index efea5cb534..3b11e9dfa8 100644 --- a/app/conference_centers/conference_room_edit.php +++ b/app/conference_centers/conference_room_edit.php @@ -48,6 +48,7 @@ else { $conference_center_uuid = check_str($_POST["conference_center_uuid"]); $member_pin = check_str($_POST["member_pin"]); $member_type = check_str($_POST["member_type"]); + $record = check_str($_POST["record"]); $user_uuid = check_str($_POST["user_uuid"]); $max_members = check_str($_POST["max_members"]); $wait_mod = check_str($_POST["wait_mod"]); @@ -161,6 +162,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "conference_room_uuid, "; $sql .= "conference_center_uuid, "; $sql .= "meeting_uuid, "; + $sql .= "record, "; $sql .= "max_members, "; $sql .= "wait_mod, "; $sql .= "announce, "; @@ -177,6 +179,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "'$conference_room_uuid', "; $sql .= "'$conference_center_uuid', "; $sql .= "'$meeting_uuid', "; + $sql .= "'$record', "; $sql .= "'$max_members', "; $sql .= "'$wait_mod', "; $sql .= "'$announce', "; @@ -220,6 +223,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql = "update v_conference_rooms set "; $sql .= "conference_center_uuid = '$conference_center_uuid', "; //$sql .= "meeting_uuid = '$meeting_uuid', "; + $sql .= "record = '$record', "; $sql .= "max_members = '$max_members', "; $sql .= "wait_mod = '$wait_mod', "; $sql .= "announce = '$announce', "; @@ -304,6 +308,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { foreach ($result as &$row) { $conference_center_uuid = $row["conference_center_uuid"]; $meeting_uuid = $row["meeting_uuid"]; + $record = $row["record"]; $max_members = $row["max_members"]; $wait_mod = $row["wait_mod"]; $announce = $row["announce"]; @@ -319,6 +324,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { } //set default values + if (strlen($record) == 0) { $record = 'false'; } if (strlen($max_members) == 0) { $max_members = 0; } if (strlen($wait_mod) == 0) { $wait_mod = 'false'; } if (strlen($announce) == 0) { $announce = 'true'; } @@ -486,6 +492,31 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " "; echo " "; + echo "