Active Conferences: Show Conference/Room name and extension numbers. Conferences - Edit: Fix View button. Conferences - List: Add View link.
This commit is contained in:
@@ -106,6 +106,27 @@ $text['message-click_to_mute']['ru-ru'] = "Нажмите, чтобы отклю
|
||||
$text['message-click_to_mute']['sv-se'] = "Klicka för att Stänga Av Deltagares Mikrofon";
|
||||
$text['message-click_to_mute']['uk-ua'] = "Натисніть, щоб вилючити учасника";
|
||||
|
||||
$text['label-conference_center_room']['en-us'] = "Conference Center Room";
|
||||
$text['label-conference_center_room']['en-gb'] = "Conference Center Room";
|
||||
$text['label-conference_center_room']['ar-eg'] = "";
|
||||
$text['label-conference_center_room']['de-at'] = "Konferenz Zentrale"; //copied from de-de
|
||||
$text['label-conference_center_room']['de-ch'] = "Konferenz Zentrale"; //copied from de-de
|
||||
$text['label-conference_center_room']['de-de'] = "Konferenz Zentrale";
|
||||
$text['label-conference_center_room']['es-cl'] = "Centro de Conferencia";
|
||||
$text['label-conference_center_room']['es-mx'] = "Centro de Conferencia"; //copied from es-cl
|
||||
$text['label-conference_center_room']['fr-ca'] = "Centre de conférence"; //copied from fr-fr
|
||||
$text['label-conference_center_room']['fr-fr'] = "Centre de conférence";
|
||||
$text['label-conference_center_room']['he-il'] = "";
|
||||
$text['label-conference_center_room']['it-it'] = "Centro Conferenza";
|
||||
$text['label-conference_center_room']['nl-nl'] = "Conferentie centrum";
|
||||
$text['label-conference_center_room']['pl-pl'] = "Centrum Konferencyjne";
|
||||
$text['label-conference_center_room']['pt-br'] = "Centro de conferência";
|
||||
$text['label-conference_center_room']['pt-pt'] = "Centro de Conferência";
|
||||
$text['label-conference_center_room']['ro-ro'] = "";
|
||||
$text['label-conference_center_room']['ru-ru'] = "Конференц-центр";
|
||||
$text['label-conference_center_room']['sv-se'] = "Konferenscenter";
|
||||
$text['label-conference_center_room']['uk-ua'] = "Конференц-центр";
|
||||
|
||||
$text['label-yes']['en-us'] = "Yes";
|
||||
$text['label-yes']['en-gb'] = "Yes";
|
||||
$text['label-yes']['ar-eg'] = "";
|
||||
|
||||
@@ -216,7 +216,7 @@
|
||||
echo "<td ".$list_row_onclick." ".$list_row_title." class='hide-sm-dn'>".$text['label-'.(($hand_raised == "true") ? 'yes' : 'no')]." ".$hand_raise_icon."</td>\n";
|
||||
echo "<td ".$list_row_onclick." ".$list_row_title." class='center'>";
|
||||
echo ($flag_can_speak == "true") ? "<i class='fas fa-microphone fa-fw' title=\"".$text['label-speak']."\"></i>" : "<i class='fas fa-microphone-slash fa-fw' title=\"".$text['label-speak']."\"></i>";
|
||||
echo ($flag_can_hear == "true") ? "<i class='fas fa-headphones fa-fw' title=\"".$text['label-speak']."\" style='margin-left: 10px;'></i>" : "<i class='fas fa-deaf fa-fw' title=\"".$text['label-hear']."\" style='margin-left: 10px;'></i>";
|
||||
echo ($flag_can_hear == "true") ? "<i class='fas fa-headphones fa-fw' title=\"".$text['label-hear']."\" style='margin-left: 10px;'></i>" : "<i class='fas fa-deaf fa-fw' title=\"".$text['label-hear']."\" style='margin-left: 10px;'></i>";
|
||||
if (permission_exists('conference_interactive_video')) {
|
||||
echo ($flag_has_video == "true") ? "<i class='fas fa-video fa-fw' title=\"".$text['label-video']."\"></i>" : null;
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
echo " <th>".$text['label-name']."</th>\n";
|
||||
echo " <th>".$text['label-extension']."</th>\n";
|
||||
echo " <th>".$text['label-participant-pin']."</th>\n";
|
||||
echo " <th class='center'>".$text['label-member-count']."</th>\n";
|
||||
if (permission_exists('conference_interactive_view')) {
|
||||
@@ -95,42 +96,41 @@
|
||||
if (isset($name_array[0]) && is_uuid($name_array[0])) {
|
||||
//check for the conference center room
|
||||
$sql = "select ";
|
||||
$sql .= "conference_room_name, ";
|
||||
$sql .= "participant_pin ";
|
||||
$sql .= "from v_conference_rooms ";
|
||||
$sql .= "where conference_room_uuid = :conference_room_uuid ";
|
||||
$sql .= "cr.conference_room_name, ";
|
||||
$sql .= "cc.conference_center_extension, ";
|
||||
$sql .= "cr.participant_pin ";
|
||||
$sql .= "from v_conference_rooms as cr ";
|
||||
$sql .= "left join v_conference_centers as cc on cr.conference_center_uuid = cc.conference_center_uuid ";
|
||||
$sql .= "where cr.conference_room_uuid = :conference_room_uuid ";
|
||||
$parameters['conference_room_uuid'] = $conference_uuid;
|
||||
$database = new database;
|
||||
$conference = $database->select($sql, $parameters, 'row');
|
||||
$conference_name = $conference['conference_room_name'];
|
||||
$conference_extension = $conference['conference_center_extension'];
|
||||
$participant_pin = $conference['participant_pin'];
|
||||
unset ($parameters, $conference, $sql);
|
||||
$conference_uuid = $name_array[0];
|
||||
|
||||
}
|
||||
else if (isset($name_array[0]) && is_numeric($name_array[0])) {
|
||||
//check the conference table
|
||||
if (strlen($conference_name) == 0) {
|
||||
$sql = "select ";
|
||||
$sql .= "conference_name, ";
|
||||
$sql .= "conference_pin_number ";
|
||||
$sql .= "from ";
|
||||
$sql .= "v_conferences ";
|
||||
$sql .= "where ";
|
||||
$sql .= "domain_uuid = :domain_uuid ";
|
||||
$sql .= "and conference_uuid = :conference_uuid ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$parameters['conference_uuid'] = $conference_uuid;
|
||||
$database = new database;
|
||||
$conference = $database->select($sql, $parameters, 'row');
|
||||
$conference_name = $conference['conference_name'];
|
||||
$participant_pin = $conference['conference_pin_number'];
|
||||
unset ($parameters, $sql);
|
||||
}
|
||||
$sql = "select ";
|
||||
$sql .= "conference_name, ";
|
||||
$sql .= "conference_extension, ";
|
||||
$sql .= "conference_pin_number ";
|
||||
$sql .= "from ";
|
||||
$sql .= "v_conferences ";
|
||||
$sql .= "where ";
|
||||
$sql .= "domain_uuid = :domain_uuid ";
|
||||
$sql .= "and conference_extension = :conference_extension ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$parameters['conference_extension'] = $name_array[0];
|
||||
$database = new database;
|
||||
$conference = $database->select($sql, $parameters, 'row');
|
||||
$conference_name = $conference['conference_name'];
|
||||
$conference_extension = $conference['conference_extension'];
|
||||
$participant_pin = $conference['conference_pin_number'];
|
||||
unset ($parameters, $sql);
|
||||
}
|
||||
|
||||
//if numeric use the conference extension as the name
|
||||
if (isset($name_array[0]) && is_numeric($name_array[0])) {
|
||||
$conference_name = $name_array[0];
|
||||
}
|
||||
if (permission_exists('conference_interactive_view')) {
|
||||
$list_row_url = 'conference_interactive.php?c='.urlencode($conference_uuid);
|
||||
}
|
||||
@@ -144,6 +144,7 @@
|
||||
echo escape($conference_name);
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td>".escape($conference_extension)."</td>\n";
|
||||
echo " <td>".escape($participant_pin)."</td>\n";
|
||||
echo " <td class='center'>".escape($member_count)."</td>\n";
|
||||
if (permission_exists('conference_interactive_view') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
|
||||
Reference in New Issue
Block a user