mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Change the app_languages.php file to utf-8 format and adjust a few minor things in the code.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
$text['title-voicemail']['en-us'] = 'Voicemail';
|
||||
$text['description-voicemail']['en-us'] = 'Show details about the voicemail settings including the voicemail count, and voicemail to email address.';
|
||||
|
||||
|
||||
@@ -114,8 +114,7 @@ $order = $_GET["order"];
|
||||
list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
|
||||
$offset = $rows_per_page * $page;
|
||||
|
||||
$sql = "";
|
||||
$sql .= "select * from v_extensions ";
|
||||
$sql = "select * from v_extensions ";
|
||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
||||
if (!(if_group("admin") || if_group("superadmin"))) {
|
||||
if (count($_SESSION['user']['extension']) > 0) {
|
||||
@@ -151,11 +150,8 @@ $order = $_GET["order"];
|
||||
|
||||
if ($result_count > 0) {
|
||||
foreach($result as $row) {
|
||||
// echo "<pre>\n";
|
||||
// print_r($row);
|
||||
// echo "</pre>\n";
|
||||
$sql = "";
|
||||
$sql .= "select count(*) as count from voicemail_msgs ";
|
||||
|
||||
$sql = "select count(*) as count from voicemail_msgs ";
|
||||
$sql .= "where domain = '".$_SESSION['domains'][$domain_uuid]['domain_name']."' ";
|
||||
$sql .= "and username = '".$row['extension']."' ";
|
||||
// $prep_statement = $db->prepare(check_sql($sql));
|
||||
@@ -200,4 +196,4 @@ echo "<br><br>";
|
||||
//show the footer
|
||||
require "includes/require.php";
|
||||
require_once "includes/footer.php";
|
||||
?>
|
||||
?>
|
||||
@@ -43,8 +43,7 @@ if (count($_GET)>0) {
|
||||
|
||||
//delete the data
|
||||
if (strlen($id)>0) {
|
||||
$sql = "";
|
||||
$sql .= "delete from voicemail_prefs ";
|
||||
$sql = "delete from voicemail_prefs ";
|
||||
$sql .= "where domain = '".$_SESSION['domains'][$domain_uuid]['domain_name']."' ";
|
||||
$sql .= "and username = '$domain_uuid' ";
|
||||
$count = $db->exec(check_sql($sql));
|
||||
|
||||
Reference in New Issue
Block a user