diff --git a/app/conference_centers/app_languages.php b/app/conference_centers/app_languages.php index c125969093..a42ffb26cd 100644 --- a/app/conference_centers/app_languages.php +++ b/app/conference_centers/app_languages.php @@ -150,4 +150,77 @@ $text['button-save']['en-us'] = 'Save'; $text['button-save']['pt-pt'] = 'Guardar'; + //Conference Sessions + $text['title-conference-sessions']['en-us'] = 'Conference Sessions'; + $text['title-conference-sessions']['pt-pt'] = ''; + + $text['description-conference-sessions']['en-us'] = 'Conference Sessions are log details about the conferences.'; + $text['description-conference-sessions']['pt-pt'] = ''; + + $text['label-time']['en-us'] = 'Time'; + $text['label-time']['pt-pt'] = ''; + + $text['label-start']['en-us'] = 'Start'; + $text['label-start']['pt-pt'] = ''; + + $text['label-end']['en-us'] = 'End'; + $text['label-end']['pt-pt'] = ''; + + $text['label-profile']['en-us'] = 'Profile'; + $text['label-profile']['pt-pt'] = ''; + + $text['label-recording']['en-us'] = 'Recording'; + $text['label-recording']['pt-pt'] = ''; + + $text['label-tools']['en-us'] = 'Tools'; + $text['label-tools']['pt-pt'] = ''; + + $text['label-details']['en-us'] = 'Details'; + $text['label-details']['pt-pt'] = ''; + + $text['label-play']['en-us'] = 'Play'; + $text['label-play']['pt-pt'] = ''; + + $text['label-download']['en-us'] = 'Download'; + $text['label-download']['pt-pt'] = ''; + + //Conference Sessions Details + $text['title-conference-session-details']['en-us'] = 'Conference Session Details'; + $text['title-conference-session-details']['pt-pt'] = ''; + + $text['description-conference-session-details']['en-us'] = 'Conference Sessions are log details of the conferences calls.'; + $text['description-conference-session-details']['pt-pt'] = ''; + + $text['label-username']['en-us'] = 'Username'; + $text['label-username']['pt-pt'] = ''; + + $text['label-uuid']['en-us'] = 'UUID'; + $text['label-uuid']['pt-pt'] = ''; + + $text['label-caller-id-name']['en-us'] = 'Caller ID Name'; + $text['label-caller-id-name']['pt-pt'] = ''; + + $text['label-caller-id-number']['en-us'] = 'Caller ID Number'; + $text['label-caller-id-number']['pt-pt'] = ''; + + $text['label-moderator']['en-us'] = 'Moderator'; + $text['label-moderator']['pt-pt'] = ''; + + $text['label-network-address']['en-us'] = 'Network Address'; + $text['label-network-address']['pt-pt'] = ''; + + $text['label-time']['en-us'] = 'Time'; + $text['label-time']['pt-pt'] = ''; + + $text['label-start']['en-us'] = 'Start'; + $text['label-start']['pt-pt'] = ''; + + $text['label-end']['en-us'] = 'End'; + $text['label-end']['pt-pt'] = ''; + + $text['label-details']['en-us'] = 'Details'; + $text['label-details']['pt-pt'] = ''; + + $text['label-cdr']['en-us'] = 'CDR'; + $text['label-cdr']['pt-pt'] = ''; ?> \ No newline at end of file diff --git a/app/conference_centers/conference_session_details.php b/app/conference_centers/conference_session_details.php index 3c46c69f8d..65e52dc87a 100644 --- a/app/conference_centers/conference_session_details.php +++ b/app/conference_centers/conference_session_details.php @@ -32,8 +32,16 @@ else { echo "access denied"; exit; } -require_once "includes/header.php"; -require_once "includes/paging.php"; + +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + +//additional includes + require_once "includes/header.php"; + require_once "includes/paging.php"; //set variables from the http values $order_by = check_str($_GET["order_by"]); @@ -49,12 +57,12 @@ require_once "includes/paging.php"; echo "
| Conference Session Details | \n"; - echo "\n"; + echo " | ".$text['title-conference-session-details']." | \n"; + echo "\n"; echo " |
| \n";
- echo " Conference Sessions are log details about the conferences. \n"; + echo " ".$text['description-conference-session-details']." \n"; echo " | \n";
echo " |||
| Conference Sessions | \n"; - echo "\n"; + echo " | ".$text['title-conference-sessions']." | \n"; + echo "\n"; echo " |
| \n";
- echo " Conference Sessions are log details about the conferences. \n"; + echo " ".$text['description-conference-sessions']." \n"; echo " | \n";
echo " |||
| Time | \n"; - echo th_order_by('start_epoch', 'Start', $order_by, $order); - echo th_order_by('end_epoch', 'End', $order_by, $order); - echo th_order_by('profile', 'Profile', $order_by, $order); - //echo th_order_by('recording', 'Recording', $order_by, $order); - echo "Tools | \n"; + echo "".$text['label-time']." | \n"; + echo th_order_by('start_epoch', $text['label-start'], $order_by, $order); + echo th_order_by('end_epoch', $text['label-end'], $order_by, $order); + echo th_order_by('profile', $text['label-profile'], $order_by, $order); + //echo th_order_by('recording', $text['label-recording'], $order_by, $order); + echo "".$text['label-tools']." | \n"; echo "|
|---|---|---|---|---|
| ".$row['meeting_uuid']." | \n"; echo "".$time_difference." | \n"; echo "".$start_date." | \n"; echo "".$end_date." | \n"; @@ -150,14 +156,14 @@ require_once "includes/paging.php"; $tmp_name = $row['conference_session_uuid'].".mp3"; } echo "\n"; - echo " Details \n"; + echo " ".$text['label-details']." \n"; if (strlen($tmp_name) > 0 && file_exists($tmp_dir.'/'.$tmp_name)) { echo " \n"; - echo " Play\n"; + echo " ".$text['label-play']."\n"; echo " \n"; echo " \n"; echo " \n"; - echo " Download\n"; + echo " ".$text['label-download']."\n"; echo " \n"; echo " \n"; } |