Time Conditions: Changed Advanced button (top) to Dialplan instead.

This commit is contained in:
Nate Jones
2015-03-22 00:25:55 +00:00
parent 4810a1f4e1
commit 2263b5c8c8
2 changed files with 6 additions and 1 deletions

View File

@@ -30,6 +30,11 @@
$text['button-advanced']['pt-pt'] = "Avancé";
$text['button-advanced']['fr-fr'] = "Avançado";
$text['button-dialplan']['en-us'] = "Dialplan";
$text['button-dialplan']['es-cl'] = "Agregar Plan de Marcado";
$text['button-dialplan']['pt-pt'] = "Dialplan";
$text['button-dialplan']['fr-fr'] = "Plan de num";
$text['button-search']['en-us'] = "Search";
$text['button-search']['es-cl'] = "Buscar";
$text['button-search']['pt-pt'] = "Pesquisar";

View File

@@ -777,7 +777,7 @@ echo " </td>\n";
echo " <td align='right' valign='top'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='".PROJECT_PATH."/app/time_conditions/time_conditions.php?app_uuid=4b821450-926b-175a-af93-a03c441818b1'\" value='".$text['button-back']."'>\n";
if (if_group("superadmin") && $action == 'update') {
echo " <input type='button' class='btn' name='' alt='".$text['button-advanced']."' onclick=\"document.location.href='".PROJECT_PATH."/app/dialplan/dialplan_edit.php?id=".$dialplan_uuid."&app_uuid=4b821450-926b-175a-af93-a03c441818b1'\" value='".$text['button-advanced']."'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-dialplan']."' onclick=\"document.location.href='".PROJECT_PATH."/app/dialplan/dialplan_edit.php?id=".$dialplan_uuid."&app_uuid=4b821450-926b-175a-af93-a03c441818b1'\" value='".$text['button-dialplan']."'>\n";
}
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";