mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-02 02:03:48 +00:00
Update active conference add a column to identifier the moderator.
This commit is contained in:
@@ -53,19 +53,19 @@
|
||||
$apps[$x]['permissions'][3]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['permissions'][4]['name'] = 'conferences_active_energy';
|
||||
$apps[$x]['permissions'][4]['groups'][] = 'user';
|
||||
$apps[$x]['permissions'][4]['groups'][] = 'admin';
|
||||
$apps[$x]['permissions'][4]['groups'][] = 'superadmin';
|
||||
//$apps[$x]['permissions'][4]['groups'][] = 'user';
|
||||
//$apps[$x]['permissions'][4]['groups'][] = 'admin';
|
||||
//$apps[$x]['permissions'][4]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['permissions'][5]['name'] = 'conferences_active_volume';
|
||||
$apps[$x]['permissions'][5]['groups'][] = 'user';
|
||||
$apps[$x]['permissions'][5]['groups'][] = 'admin';
|
||||
$apps[$x]['permissions'][5]['groups'][] = 'superadmin';
|
||||
//$apps[$x]['permissions'][5]['groups'][] = 'user';
|
||||
//$apps[$x]['permissions'][5]['groups'][] = 'admin';
|
||||
//$apps[$x]['permissions'][5]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['permissions'][6]['name'] = 'conferences_active_gain';
|
||||
$apps[$x]['permissions'][6]['groups'][] = 'user';
|
||||
$apps[$x]['permissions'][6]['groups'][] = 'admin';
|
||||
$apps[$x]['permissions'][6]['groups'][] = 'superadmin';
|
||||
//$apps[$x]['permissions'][6]['groups'][] = 'user';
|
||||
//$apps[$x]['permissions'][6]['groups'][] = 'admin';
|
||||
//$apps[$x]['permissions'][6]['groups'][] = 'superadmin';
|
||||
|
||||
$apps[$x]['permissions'][7]['name'] = 'conferences_active_mute';
|
||||
$apps[$x]['permissions'][7]['groups'][] = 'user';
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
$text['label-id']['en-us'] = 'ID';
|
||||
$text['label-cid-name']['en-us'] = 'Caller ID Name';
|
||||
$text['label-cid-num']['en-us'] = 'Caller ID Number';
|
||||
$text['label-moderator']['en-us'] = 'Moderator';
|
||||
$text['label-joined']['en-us'] = 'Joined';
|
||||
$text['label-hear']['en-us'] = 'Hear';
|
||||
$text['label-speak']['en-us'] = 'Speak';
|
||||
|
||||
@@ -165,6 +165,7 @@ else {
|
||||
//echo "<th>UUID</th>\n";
|
||||
echo "<th>".$text['label-cid-name']."</th>\n";
|
||||
echo "<th>".$text['label-cid-num']."</th>\n";
|
||||
echo "<th>".$text['label-moderator']."</th>\n";
|
||||
echo "<th>".$text['label-joined']."</th>\n";
|
||||
echo "<th>".$text['label-hear']."</th>\n";
|
||||
echo "<th>".$text['label-speak']."</th>\n";
|
||||
@@ -185,6 +186,7 @@ else {
|
||||
$join_time = $row->join_time;
|
||||
$flag_has_video = $row->flags->has_video;
|
||||
$flag_has_floor = $row->flags->has_floor;
|
||||
$is_moderator = $row->flags->is_moderator;
|
||||
$uuid = $row->uuid;
|
||||
$caller_id_name = $row->caller_id_name;
|
||||
$caller_id_name = str_replace("%20", " ", $caller_id_name);
|
||||
@@ -200,6 +202,12 @@ else {
|
||||
//echo "<td valign='top' class='".$row_style[$c]."'>$uuid</td>\n";
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>$caller_id_name</td>\n";
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>$caller_id_number</td>\n";
|
||||
if ($is_moderator == "true") {
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>".$text['label-yes']."</td>\n";
|
||||
}
|
||||
else {
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>".$text['label-no']."</td>\n";
|
||||
}
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>".$join_time_formatted."</td>\n";
|
||||
if ($flag_can_hear == "true") {
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>".$text['label-yes']."</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user