Fixed Warnings (#6768)

* Update device_edit.php

* Update dialplan_edit.php

* Update app_languages.php
This commit is contained in:
Anthony 2023-07-06 14:51:02 -06:00 committed by GitHub
parent ddcd2c6d5a
commit 8c8ef2c309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 2 deletions

View File

@ -718,6 +718,30 @@ $text['label-hold']['zh-cn'] = "抓住";
$text['label-hold']['ja-jp'] = "所有"; $text['label-hold']['ja-jp'] = "所有";
$text['label-hold']['ko-kr'] = "잡고 있다"; $text['label-hold']['ko-kr'] = "잡고 있다";
$text['label-missed']['en-us'] = "Missed";
$text['label-missed']['en-gb'] = "Missed";
$text['label-missed']['ar-eg'] = "مٌفتَقد";
$text['label-missed']['de-at'] = "Verpasst";
$text['label-missed']['de-ch'] = "Verpasst";
$text['label-missed']['de-de'] = "Verpasst";
$text['label-missed']['es-cl'] = "Perdidas";
$text['label-missed']['es-mx'] = "Perdidas";
$text['label-missed']['fr-ca'] = "Perdus";
$text['label-missed']['fr-fr'] = "Perdus";
$text['label-missed']['he-il'] = "החמצה";
$text['label-missed']['it-it'] = "Perse";
$text['label-missed']['nl-nl'] = "gemist";
$text['label-missed']['pl-pl'] = "Nie odebrany";
$text['label-missed']['pt-br'] = "Perdidas";
$text['label-missed']['pt-pt'] = "Perdidas";
$text['label-missed']['ro-ro'] = "ratat";
$text['label-missed']['ru-ru'] = "Пропущено";
$text['label-missed']['sv-se'] = "Missade";
$text['label-missed']['uk-ua'] = "Пропущений";
$text['label-missed']['zh-cn'] = "逃した";
$text['label-missed']['ja-jp'] = "逃した";
$text['label-missed']['ko-kr'] = "놓친";
$text['label-voicemail']['en-us'] = "Voicemail"; $text['label-voicemail']['en-us'] = "Voicemail";
$text['label-voicemail']['en-gb'] = "Voicemail"; $text['label-voicemail']['en-gb'] = "Voicemail";
$text['label-voicemail']['ar-eg'] = "البريد الصوتي"; $text['label-voicemail']['ar-eg'] = "البريد الصوتي";

View File

@ -42,6 +42,7 @@
//set the defaults //set the defaults
$device_model = ''; $device_model = '';
$device_firmware_version = ''; $device_firmware_version = '';
$device_template ='';
//include the device class //include the device class
require_once "app/devices/resources/classes/device.php"; require_once "app/devices/resources/classes/device.php";

View File

@ -2,7 +2,7 @@
/* /*
FusionPBX FusionPBX
Version: MPL 1.1 Version: MPL 1.1
javascript:void(0);
The contents of this file are subject to the Mozilla Public License Version The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with 1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at the License. You may obtain a copy of the License at
@ -52,8 +52,15 @@
$language = new text; $language = new text;
$text = $language->get(); $text = $language->get();
//set the defaults
$dialplan_uuid = '';
$dialplan_name = '';
$dialplan_number = '';
$hostname = '';
$dialplan_description = '';
//set the action as an add or an update //set the action as an add or an update
if (is_uuid($_GET["id"])) { if (!empty($_GET["id"]) && (is_uuid($_GET["id"]))) {
$action = "update"; $action = "update";
$dialplan_uuid = $_GET["id"]; $dialplan_uuid = $_GET["id"];
} }