Dialplan Inbound - Multi lang rev.02 - Missed "access denied"

This commit is contained in:
Rinor Hoxha
2012-11-24 23:14:28 +00:00
parent 698afef05d
commit 712433818f
2 changed files with 6 additions and 3 deletions

View File

@@ -2,9 +2,10 @@
$text['title-dialplan-inbound-add']['en-us'] = 'Inbound Call Routing';
$text['description-dialplan-inbound-add']['en-us'] = 'The public dialplan is used to route incoming calls to destinations based on one or more conditions and context. It can send incoming calls to an auto attendant, huntgroup, extension, external number, or a script.';
$text['label-access-denied']['en-us'] = 'access denied';
$text['button-back']['en-us'] = 'Back';
$text['button-advanced']['en-us'] = 'Advanced';
//begin: Basic
$text['button-basic']['en-us'] = 'Basic';
@@ -30,6 +31,8 @@
//end: Basic
//begin: Advanced
$text['button-advanced']['en-us'] = 'Advanced';
$text['label-condition_1']['en-us'] = 'Condition 1';
$text['label-condition_2']['en-us'] = 'Condition 2';

View File

@@ -30,7 +30,7 @@ if (permission_exists('inbound_route_add')) {
//access granted
}
else {
echo "access denied";
echo $text['label-access-denied'];
exit;
}
require_once "includes/header.php";