Extensions: Added direct link to Calls page, requested in Issue 870.

This commit is contained in:
Nate Jones
2015-03-25 17:11:07 +00:00
parent b7b98cef79
commit 73d0629ba2
2 changed files with 10 additions and 2 deletions

View File

@@ -640,6 +640,11 @@ $text['button-add']['es-cl'] = "Agregar";
$text['button-add']['pt-pt'] = "Adicionar";
$text['button-add']['fr-fr'] = "Ajouter";
$text['button-calls']['en-us'] = "Call Control";
$text['button-calls']['es-cl'] = "Control de Llamada";
$text['button-calls']['pt-pt'] = "Controle de Chamadas";
$text['button-calls']['fr-fr'] = "Call Control";
$text['message-maximum_extensions']['en-us'] = "Maximum Extensions:";
$text['message-maximum_extensions']['es-cl'] = "Extensiones Máximo Permitido:";
$text['message-maximum_extensions']['pt-pt'] = "Extensões Máximo Permitido:";

View File

@@ -851,9 +851,12 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<td width='30%' nowrap='nowrap' align='left' valign='top'><b>".$text['header-extension-edit']."</b></td>\n";
}
echo "<td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='extensions.php'\" value='".$text['button-back']."'>\n";
echo " <input type='button' class='btn' alt='".$text['button-back']."' onclick=\"window.location='extensions.php'\" value='".$text['button-back']."'>\n";
if (permission_exists('follow_me') || permission_exists('call_forward') || permission_exists('do_not_disturb')) {
echo " <input type='button' class='btn' alt='".$text['button-calls']."' onclick=\"window.location='../calls/call_edit.php?id=".$extension_uuid."';\" value='".$text['button-calls']."'>\n";
}
if ($action != "add") {
echo " <input type='button' class='btn' name='' alt='".$text['button-copy']."' onclick=\"copy_extension();\" value='".$text['button-copy']."'>\n";
echo " <input type='button' class='btn' alt='".$text['button-copy']."' onclick=\"copy_extension();\" value='".$text['button-copy']."'>\n";
}
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
echo " <br /><br />\n";