mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Show the conference center selection for conference rooms.
This commit is contained in:
@@ -49,7 +49,6 @@ else {
|
|||||||
$action = "add";
|
$action = "add";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//get http post variables and set them to php variables
|
//get http post variables and set them to php variables
|
||||||
if (count($_POST) > 0) {
|
if (count($_POST) > 0) {
|
||||||
$conference_center_uuid = check_str($_POST["conference_center_uuid"]);
|
$conference_center_uuid = check_str($_POST["conference_center_uuid"]);
|
||||||
@@ -511,28 +510,26 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
if ($conference_center_count > 1) {
|
echo "<tr>\n";
|
||||||
echo "<tr>\n";
|
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
echo " ".$text['label-conference-name'].":\n";
|
||||||
echo " ".$text['label-conference-name'].":\n";
|
echo "</td>\n";
|
||||||
echo "</td>\n";
|
echo "<td class='vtable' align='left'>\n";
|
||||||
echo "<td class='vtable' align='left'>\n";
|
echo " <select class='formfld' name='conference_center_uuid'>\n";
|
||||||
echo " <select class='formfld' name='conference_center_uuid'>\n";
|
foreach ($conference_centers as &$row) {
|
||||||
foreach ($conference_centers as &$row) {
|
if ($conference_center_uuid == $row["conference_center_uuid"]) {
|
||||||
if ($conference_center_uuid == $row["conference_center_uuid"]) {
|
echo " <option value='".$row["conference_center_uuid"]."' selected='selected'>".$row["conference_center_name"]."</option>\n";
|
||||||
echo " <option value='".$row["conference_center_uuid"]."' selected='selected'>".$row["conference_center_name"]."</option>\n";
|
}
|
||||||
}
|
else {
|
||||||
else {
|
echo " <option value='".$row["conference_center_uuid"]."'>".$row["conference_center_name"]."</option>\n";
|
||||||
echo " <option value='".$row["conference_center_uuid"]."'>".$row["conference_center_name"]."</option>\n";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
unset ($prep_statement);
|
|
||||||
echo " </select>\n";
|
|
||||||
echo " <br />\n";
|
|
||||||
echo "\n";
|
|
||||||
echo "</td>\n";
|
|
||||||
echo "</tr>\n";
|
|
||||||
}
|
}
|
||||||
|
unset ($prep_statement);
|
||||||
|
echo " </select>\n";
|
||||||
|
echo " <br />\n";
|
||||||
|
echo "\n";
|
||||||
|
echo "</td>\n";
|
||||||
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td class='vncell' valign='top'>".$text['label-moderator-pin'].":</td>";
|
echo " <td class='vncell' valign='top'>".$text['label-moderator-pin'].":</td>";
|
||||||
|
|||||||
Reference in New Issue
Block a user