mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Translation to portuguese from Portugal (pt-pt) in apps conferences and calls
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
$content_calls['lable-ring5']['pt-pt'] = '5º Numero a Tocar';
|
||||
|
||||
$content_calls['lable-ringorder']['en-us'] = 'Ring Order';
|
||||
$content_calls['lable-ringorder']['pt-pt'] = 'Ordem de chamada';
|
||||
$content_calls['lable-ringorder']['pt-pt'] = 'Pedido de chamada';
|
||||
|
||||
$content_calls['check-sequence']['en-us'] = 'sequence';
|
||||
$content_calls['ckeck-sequence']['pt-pt'] = 'sequêncial';
|
||||
|
||||
123
app/conferences/app_languages.php
Normal file
123
app/conferences/app_languages.php
Normal file
@@ -0,0 +1,123 @@
|
||||
<?php
|
||||
|
||||
//conferences
|
||||
$content_conferences['title']['en-us'] = 'Conferences';
|
||||
$content_conferences['title']['pt-pt'] = 'Conferencias';
|
||||
|
||||
$content_conferences['description']['en-us'] = 'Conferences is used to setup conference rooms with a name, description, and optional pin number.';
|
||||
$content_conferences['description']['pt-pt'] = 'As conferências são utilizadas para configurar salas de conferências com um nome, descrição e número pin opcional.';
|
||||
|
||||
$content_conferences['title2']['en-us'] = 'Active Conferences';
|
||||
$content_conferences['title2']['pt-pt'] = 'Conferencias Activas';
|
||||
|
||||
$content_conferences['title3']['en-us'] = 'Active Conference';
|
||||
$content_conferences['title3']['pt-pt'] = 'Conferencia Activa';
|
||||
|
||||
$content_conferences['description2']['en-us'] = 'and then select a conference to monitor and interact with it.';
|
||||
$content_conferences['description2']['pt-pt'] = 'e selecione uma conferência para monitorizar e interagir com ele.';
|
||||
|
||||
$content_conferences['tabel-name']['en-us'] = 'Name';
|
||||
$content_conferences['tabel-name']['pt-pt'] = 'Nome';
|
||||
|
||||
$content_conferences['tabel-extension']['en-us'] = 'Extension';
|
||||
$content_conferences['tabel-extension']['pt-pt'] = 'Extensão';
|
||||
|
||||
$content_conferences['tabel-profile']['en-us'] = 'Profile';
|
||||
$content_conferences['tabel-profile']['pt-pt'] = 'Perfil';
|
||||
|
||||
$content_conferences['tabel-order']['en-us'] = 'Order';
|
||||
$content_conferences['tabel-order']['pt-pt'] = 'Ordem';
|
||||
|
||||
$content_conferences['tabel-enabled']['en-us'] = 'Enabled';
|
||||
$content_conferences['tabel-enabled']['pt-pt'] = 'Activo';
|
||||
|
||||
$content_conferences['tabel-description']['en-us'] = 'Description';
|
||||
$content_conferences['tabel-description']['pt-pt'] = 'Descrição';
|
||||
|
||||
//conferences_delete
|
||||
$content_conferences['confirm-delete']['en-us'] = 'Delete Complete';
|
||||
$content_conferences['confirm-delete']['pt-pt'] = 'Eliminação Completa';
|
||||
|
||||
//conferences_add
|
||||
$content_conferences['confirm-add']['en-us'] = 'Add Complete';
|
||||
$content_conferences['confirm-add']['pt-pt'] = 'Adição Completa';
|
||||
|
||||
$content_conferences['confirm-update']['en-us'] = 'Update Complete';
|
||||
$content_conferences['confirm-update']['pt-pt'] = 'Actualização Completa';
|
||||
|
||||
$content_conferences['confirm-name']['en-us'] = 'Please provide: Name';
|
||||
$content_conferences['confirm-name']['pt-pt'] = 'Por favor, forneça: Nome';
|
||||
|
||||
$content_conferences['confirm-extension']['en-us'] = 'Please provide: Extension';
|
||||
$content_conferences['confirm-extension']['pt-pt'] = 'Por favor, forneça: Extensão';
|
||||
|
||||
$content_conferences['confirm-profile']['en-us'] = 'Please provide: Profile';
|
||||
$content_conferences['confirm-profile']['pt-pt'] = 'Por favor, forneça: Perfil';
|
||||
|
||||
$content_conferences['confirm-enabled']['en-us'] = 'Please provide: Enabled';
|
||||
$content_conferences['confirm-enabled']['pt-pt'] = 'Por favor, forneça: Ativado';
|
||||
|
||||
$content_conferences['label-confadd']['en-us'] = 'Conferences Add';
|
||||
$content_conferences['label-confadd']['pt-pt'] = 'Adição de Conferencias';
|
||||
|
||||
$content_conferences['label-confedit']['en-us'] = 'Conferences Edit';
|
||||
$content_conferences['label-confedit']['pt-pt'] = 'Edição de Conferencias';
|
||||
|
||||
$content_conferences['button-back']['en-us'] = 'Back';
|
||||
$content_conferences['button-back']['pt-pt'] = 'Voltar';
|
||||
|
||||
$content_conferences['label-extension']['en-us'] = 'Extension';
|
||||
$content_conferences['label-extension']['pt-pt'] = 'Extensão';
|
||||
|
||||
$content_conferences['label-name']['en-us'] = 'Name';
|
||||
$content_conferences['label-name']['pt-pt'] = 'Nome';
|
||||
|
||||
$content_conferences['label-nameinfo']['en-us'] = 'Enter the conference name.';
|
||||
$content_conferences['label-nameinfo']['pt-pt'] = 'Insira o nome da conferencia.';
|
||||
|
||||
$content_conferences['label-extensioninfo']['en-us'] = 'Enter the conference extension number.';
|
||||
$content_conferences['label-extensioninfo']['pt-pt'] = 'Insira a extensão da conferencia';
|
||||
|
||||
$content_conferences['description3']['en-us'] = 'to monitor and interact with the conference room.';
|
||||
$content_conferences['description3']['pt-pt'] = 'para monitorizar e interagir com a sala de conferências.';
|
||||
|
||||
$content_conferences['label-pin']['en-us'] = 'Pin Number';
|
||||
$content_conferences['label-pin']['pt-pt'] = 'Numero Pin';
|
||||
|
||||
$content_conferences['label-pininfo']['en-us'] = 'Optional pin number to secure access to the conference.';
|
||||
$content_conferences['label-pininfo']['pt-pt'] = 'Número de pin opcional para garantir o acesso à conferência.';
|
||||
|
||||
$content_conferences['confirm-delete2']['en-us'] = 'Do you really want to delete this?';
|
||||
$content_conferences['confirm-delete2']['pt-pt'] = 'Deseja realmente apagar isto?';
|
||||
|
||||
$content_conferences['button-add']['en-us'] = 'Add';
|
||||
$content_conferences['button-add']['pt-pt'] = 'Adicionar';
|
||||
|
||||
$content_conferences['button-save']['en-us'] = 'Save';
|
||||
$content_conferences['button-save']['pt-pt'] = 'Gravar';
|
||||
|
||||
$content_conferences['label-description']['en-us'] = 'Description';
|
||||
$content_conferences['label-description']['pt-pt'] = 'Descrição';
|
||||
|
||||
$content_conferences['label-descriptioninfo']['en-us'] = 'Enter the description.';
|
||||
$content_conferences['label-descriptioninfo']['pt-pt'] = 'Insira a descrição.';
|
||||
|
||||
$content_conferences['label-enabledinfo']['en-us'] = 'Select whether to enable or disable the conference.';
|
||||
$content_conferences['label-enabledinfo']['pt-pt'] = 'Selecione se deseja ativar ou desativar a conferência.';
|
||||
|
||||
$content_conferences['label-orderinfo']['en-us'] = 'Enter the order number.';
|
||||
$content_conferences['label-orderinfo']['pt-pt'] = 'Digite o número do pedido.';
|
||||
|
||||
$content_conferences['label-order']['en-us'] = 'Order';
|
||||
$content_conferences['label-order']['pt-pt'] = 'Pedido';
|
||||
|
||||
$content_conferences['label-addinfo']['en-us'] = 'Assign the users that are can manage this conference extension.';
|
||||
$content_conferences['label-addinfo']['pt-pt'] = 'Atribuir os utilizadores que podem gerir esta extensão de conferência.';
|
||||
|
||||
$content_conferences['label-profileinfo']['en-us'] = 'Conference Profile is a collection of settings for the conference.';
|
||||
$content_conferences['label-profileinfo']['pt-pt'] = 'Perfil de conferência é um conjunto de definições para a conferência.';
|
||||
|
||||
$content_conferences['label-flagsinfo']['en-us'] = 'Optional conference flags. examples: mute|deaf|waste|moderator';
|
||||
$content_conferences['label-flagsinfo']['pt-pt'] = 'Flags opcionais de conferências. exemplos: mute|deaf|waste|moderator';
|
||||
|
||||
?>
|
||||
@@ -26,6 +26,7 @@
|
||||
require_once "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
include "app_languages.php";
|
||||
if (permission_exists('conference_delete')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -34,6 +35,10 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
foreach($content_conferences as $key => $value) {
|
||||
$content_conferences[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
if (count($_GET)>0) {
|
||||
$id = check_str($_GET["id"]);
|
||||
}
|
||||
@@ -83,7 +88,7 @@ if (strlen($id)>0) {
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=conferences.php\">\n";
|
||||
echo "<div align='center'>\n";
|
||||
echo "Delete Complete\n";
|
||||
echo "".$content_conferences['confirm-delete']."\n";
|
||||
echo "</div>\n";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
require_once "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
include "app_languages.php";
|
||||
if (permission_exists('conference_add') || permission_exists('conference_edit')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -34,6 +35,10 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
foreach($content_conferences as $key => $value) {
|
||||
$content_conferences[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//action add or update
|
||||
if (isset($_REQUEST["id"])) {
|
||||
$action = "update";
|
||||
@@ -74,7 +79,7 @@ else {
|
||||
//redirect the browser
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=conferences_edit.php?id=$conference_uuid\">\n";
|
||||
echo "<div align='center'>Delete Complete</div>";
|
||||
echo "<div align='center'>".$content_conferences['confirm-delete']."</div>";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
}
|
||||
@@ -103,7 +108,7 @@ else {
|
||||
//redirect the browser
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=conferences_edit.php?id=$conference_uuid\">\n";
|
||||
echo "<div align='center'>Add Complete</div>";
|
||||
echo "<div align='center'>".$content_conferences['confirm-add']."</div>";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
}
|
||||
@@ -117,14 +122,14 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
|
||||
//check for all required data
|
||||
//if (strlen($dialplan_uuid) == 0) { $msg .= "Please provide: Dialplan UUID<br>\n"; }
|
||||
if (strlen($conference_name) == 0) { $msg .= "Please provide: Name<br>\n"; }
|
||||
if (strlen($conference_extension) == 0) { $msg .= "Please provide: Extension<br>\n"; }
|
||||
if (strlen($conference_name) == 0) { $msg .= "".$content_conferences['confirm-name']."<br>\n"; }
|
||||
if (strlen($conference_extension) == 0) { $msg .= "".$content_conferences['confirm-extension']."<br>\n"; }
|
||||
//if (strlen($conference_pin_number) == 0) { $msg .= "Please provide: Pin Number<br>\n"; }
|
||||
if (strlen($conference_profile) == 0) { $msg .= "Please provide: Profile<br>\n"; }
|
||||
if (strlen($conference_profile) == 0) { $msg .= "".$content_conferences['confirm-profile']."<br>\n"; }
|
||||
//if (strlen($conference_flags) == 0) { $msg .= "Please provide: Flags<br>\n"; }
|
||||
//if (strlen($conference_order) == 0) { $msg .= "Please provide: Order<br>\n"; }
|
||||
//if (strlen($conference_description) == 0) { $msg .= "Please provide: Description<br>\n"; }
|
||||
if (strlen($conference_enabled) == 0) { $msg .= "Please provide: Enabled<br>\n"; }
|
||||
if (strlen($conference_enabled) == 0) { $msg .= "".$content_conferences['confirm-enabled']."<br>\n"; }
|
||||
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
require_once "includes/header.php";
|
||||
require_once "includes/persistformvar.php";
|
||||
@@ -221,7 +226,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=conferences.php\">\n";
|
||||
echo "<div align='center'>\n";
|
||||
echo "Add Complete\n";
|
||||
echo "".$content_conferences['confirm-add']."\n";
|
||||
echo "</div>\n";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
@@ -289,7 +294,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=conferences.php\">\n";
|
||||
echo "<div align='center'>\n";
|
||||
echo "Update Complete\n";
|
||||
echo "".$content_conferences['confirm-update']."\n";
|
||||
echo "</div>\n";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
@@ -338,47 +343,52 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' width='30%' nowrap='nowrap'><b>Conference</b></td>\n";
|
||||
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='conferences.php'\" value='Back'></td>\n";
|
||||
if ($action == "add") {
|
||||
echo "<td align='left' width='30%' nowrap='nowrap'><b>".$content_conferences['label-confadd']."</b></td>\n";
|
||||
}
|
||||
if ($action == "update") {
|
||||
echo "<td align='left' width='30%' nowrap='nowrap'><b>".$content_conferences['label-confedit']."</b></td>\n";
|
||||
}
|
||||
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='conferences.php'\" value='".$content_conferences['button-back']."'></td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' colspan='2'>\n";
|
||||
echo "Conferences is used to setup conference rooms with a name, description, and optional pin number. \n";
|
||||
echo "Click on <a href='".PROJECT_PATH."/app/conferences_active/conference_interactive.php?c=".str_replace(" ", "-", $conference_name)."'>Active Conference</a> \n";
|
||||
echo "to monitor and interact with the conference room.<br /><br />\n";
|
||||
echo "".$content_conferences['description']." \n";
|
||||
echo "Click on <a href='".PROJECT_PATH."/app/conferences_active/v_conference_interactive.php?c=".str_replace(" ", "-", $conference_name)."'>".$content_conferences['title3']."</a> \n";
|
||||
echo "".$content_conferences['description3']."<br /><br />\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " Name:\n";
|
||||
echo " ".$content_conferences['label-name'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='conference_name' maxlength='255' value=\"$conference_name\">\n";
|
||||
echo "<br />\n";
|
||||
echo "Enter the conference name.\n";
|
||||
echo "".$content_conferences['label-nameinfo']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " Extension:\n";
|
||||
echo " ".$content_conferences['label-extension'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='conference_extension' maxlength='255' value=\"$conference_extension\">\n";
|
||||
echo "<br />\n";
|
||||
echo "Enter the conference extension number.\n";
|
||||
echo "".$content_conferences['label-extensioninfo']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " Pin Number:\n";
|
||||
echo " ".$content_conferences['label-pin'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='conference_pin_number' maxlength='255' value=\"$conference_pin_number\">\n";
|
||||
echo "<br />\n";
|
||||
echo "Optional pin number to secure access to the conference.\n";
|
||||
echo "".$content_conferences['label-pininfo']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -402,7 +412,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " <tr>\n";
|
||||
echo " <td class='vtable'>".$field['username']."</td>\n";
|
||||
echo " <td>\n";
|
||||
echo " <a href='conferences_edit.php?id=".$conference_uuid."&domain_uuid=".$_SESSION['domain_uuid']."&user_uuid=".$field['user_uuid']."&a=delete' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
|
||||
echo " <a href='conferences_edit.php?id=".$conference_uuid."&domain_uuid=".$_SESSION['domain_uuid']."&user_uuid=".$field['user_uuid']."&a=delete' alt='delete' onclick=\"return confirm('".$content_conferences['confirm-delete2']."')\">$v_link_label_delete</a>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
@@ -421,10 +431,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " <option value='".$field['user_uuid']."'>".$field['username']."</option>\n";
|
||||
}
|
||||
echo " </select>";
|
||||
echo " <input type=\"submit\" class='btn' value=\"Add\">\n";
|
||||
echo " <input type=\"submit\" class='btn' value=\"".$content_conferences['button-add']."\">\n";
|
||||
unset($sql, $result);
|
||||
echo " <br>\n";
|
||||
echo " Assign the users that are can manage this conference extension.\n";
|
||||
echo " ".$content_conferences['label-addinfo']."\n";
|
||||
echo " <br />\n";
|
||||
echo " </td>";
|
||||
echo " </tr>";
|
||||
@@ -433,7 +443,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " Profile:\n";
|
||||
echo " ".$content_conferences['tabel-profile'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select class='formfld' name='conference_profile'>\n";
|
||||
@@ -445,7 +455,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
if ($conference_profile == "cdquality") { echo "<option value='cdquality' selected='selected'>cdquality</option>\n"; } else { echo "<option value='cdquality'>cdquality</option>\n"; }
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo "Conference Profile is a collection of settings for the conference.\n";
|
||||
echo "".$content_conferences['label-profileinfo']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -456,13 +466,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='conference_flags' maxlength='255' value=\"$conference_flags\">\n";
|
||||
echo "<br />\n";
|
||||
echo "Optional conference flags. examples: mute|deaf|waste|moderator\n";
|
||||
echo "".$content_conferences['label-flagsinfo']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " Order:\n";
|
||||
echo " ".$content_conferences['label-order'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select name='conference_order' class='formfld'>\n";
|
||||
@@ -478,13 +488,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo "Enter the order number.\n";
|
||||
echo "".$content_conferences['label-orderinfo']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " Enabled:\n";
|
||||
echo " ".$content_conferences['tabel-enabled'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select class='formfld' name='conference_enabled'>\n";
|
||||
@@ -503,18 +513,18 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo "Select whether to enable or disable the conference.\n";
|
||||
echo "".$content_conferences['label-enabledinfo']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " Description:\n";
|
||||
echo " ".$content_conferences['label-description'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='conference_description' maxlength='255' value=\"$conference_description\">\n";
|
||||
echo "<br />\n";
|
||||
echo "Enter the description.\n";
|
||||
echo "".$content_conferences['label-descriptioninfo']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -524,7 +534,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " <input type='hidden' name='dialplan_uuid' value=\"$dialplan_uuid\">\n";
|
||||
echo " <input type='hidden' name='conference_uuid' value='$conference_uuid'>\n";
|
||||
}
|
||||
echo " <input type='submit' name='submit' class='btn' value='Save'>\n";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$content_conferences['button-save']."'>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>";
|
||||
echo "</table>";
|
||||
@@ -537,4 +547,4 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
|
||||
//include the footer
|
||||
require_once "includes/footer.php";
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
require_once "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
include "app_languages.php";
|
||||
if (permission_exists('conference_view')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -33,6 +34,11 @@ else {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
foreach($content_conferences as $key => $value) {
|
||||
$content_conferences[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
require_once "includes/header.php";
|
||||
require_once "includes/paging.php";
|
||||
|
||||
@@ -49,14 +55,14 @@ require_once "includes/paging.php";
|
||||
|
||||
echo "<table width='100%' border='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width='50%' align='left' nowrap='nowrap'><b>Conferences</b></td>\n";
|
||||
echo " <td align='left' width='50%' nowrap><b>".$content_conferences['title']."</b></td>\n";
|
||||
echo " <td width='50%' align='right'> </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td align='left' colspan='2'>\n";
|
||||
echo " Conferences is used to setup conference rooms with a name, description, and optional pin number. \n";
|
||||
echo " ".$content_conferences['description']." \n";
|
||||
if (permission_exists('conferences_active_advanced_view')) {
|
||||
echo " Show <a href='".PROJECT_PATH."/app/conferences_active/conferences_active.php'>Active Conferences</a> and then select a conference to monitor and interact with it.<br /><br />\n";
|
||||
echo " Show <a href='".PROJECT_PATH."/app/conferences_active/v_conferences_active.php'>".$content_conferences['title2']."</a> ".$content_conferences['description2']."<br /><br />\n";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
@@ -124,13 +130,13 @@ require_once "includes/paging.php";
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo th_order_by('conference_name', 'Name', $order_by, $order);
|
||||
echo th_order_by('conference_extension', 'Extension', $order_by, $order);
|
||||
echo th_order_by('conference_profile', 'Profile', $order_by, $order);
|
||||
echo th_order_by('conference_name', $content_conferences['tabel-name'], $order_by, $order);
|
||||
echo th_order_by('conference_extension', $content_conferences['tabel-extension'], $order_by, $order);
|
||||
echo th_order_by('conference_profile', $content_conferences['tabel-profile'], $order_by, $order);
|
||||
//echo th_order_by('conference_flags', 'Flags', $order_by, $order);
|
||||
echo th_order_by('conference_order', 'Order', $order_by, $order);
|
||||
echo th_order_by('conference_enabled', 'Enabled', $order_by, $order);
|
||||
echo th_order_by('conference_description', 'Description', $order_by, $order);
|
||||
echo th_order_by('conference_order', $content_conferences['tabel-order'], $order_by, $order);
|
||||
echo th_order_by('conference_enabled', $content_conferences['tabel-enabled'], $order_by, $order);
|
||||
echo th_order_by('conference_description', $content_conferences['tabel-description'], $order_by, $order);
|
||||
echo "<td align='right' width='42'>\n";
|
||||
if (permission_exists('conference_add')) {
|
||||
echo " <a href='conference_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
@@ -199,4 +205,4 @@ require_once "includes/paging.php";
|
||||
|
||||
//include the footer
|
||||
require_once "includes/footer.php";
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user