Update conference_session_details.php
This commit is contained in:
parent
8fd4306a16
commit
afe1159c50
|
|
@ -22,16 +22,20 @@
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
*/
|
*/
|
||||||
require_once "root.php";
|
|
||||||
require_once "resources/require.php";
|
//includes
|
||||||
require_once "resources/check_auth.php";
|
require_once "root.php";
|
||||||
if (permission_exists('conference_session_view')) {
|
require_once "resources/require.php";
|
||||||
//access granted
|
require_once "resources/check_auth.php";
|
||||||
}
|
|
||||||
else {
|
//check permissions
|
||||||
echo "access denied";
|
if (permission_exists('conference_session_view')) {
|
||||||
exit;
|
//access granted
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
echo "access denied";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
//add multi-lingual support
|
//add multi-lingual support
|
||||||
$language = new text;
|
$language = new text;
|
||||||
|
|
@ -187,20 +191,20 @@ else {
|
||||||
$time_difference = $row['end_epoch'] - $row['start_epoch'];
|
$time_difference = $row['end_epoch'] - $row['start_epoch'];
|
||||||
$time_difference = gmdate("G:i:s", $time_difference);
|
$time_difference = gmdate("G:i:s", $time_difference);
|
||||||
}
|
}
|
||||||
$tr_link = (permission_exists('conference_session_details')) ? "href='/app/xml_cdr/xml_cdr_details.php?uuid=".$row['uuid']."'" : null;
|
$tr_link = (permission_exists('conference_session_details')) ? "href='/app/xml_cdr/xml_cdr_details.php?uuid=".escape($row['uuid'])."'" : null;
|
||||||
echo "<tr ".$tr_link.">\n";
|
echo "<tr ".$tr_link.">\n";
|
||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['meeting_uuid']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['meeting_uuid']." </td>\n";
|
||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_session_uuid']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_session_uuid']." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['caller_id_name']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['caller_id_name'])." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['caller_id_number']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['caller_id_number'])." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".ucwords($row['moderator'])." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".ucwords(escape($row['moderator']))." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['network_addr']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['network_addr'])." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$time_difference." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$time_difference." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$start_date." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$start_date." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$end_date." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$end_date." </td>\n";
|
||||||
if (permission_exists('conference_session_details')) {
|
if (permission_exists('conference_session_details')) {
|
||||||
echo " <td class='list_control_icon'>";
|
echo " <td class='list_control_icon'>";
|
||||||
echo " <a href='/app/xml_cdr/xml_cdr_details.php?uuid=".$row['uuid']."' alt='".$text['button-view']."'>$v_link_label_view</a>";
|
echo " <a href='/app/xml_cdr/xml_cdr_details.php?uuid=".escape($row['uuid'])."' alt='".$text['button-view']."'>$v_link_label_view</a>";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
}
|
}
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
@ -228,4 +232,5 @@ else {
|
||||||
|
|
||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
?>
|
|
||||||
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue