diff --git a/module.xml b/module.xml index d822d3a..81ac2e4 100644 --- a/module.xml +++ b/module.xml @@ -64,7 +64,6 @@ - diff --git a/uninstall.php b/uninstall.php index b107481..e3b2651 100644 --- a/uninstall.php +++ b/uninstall.php @@ -34,11 +34,11 @@ if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); } - global $db; - $version = FreePBX::Config()->get('ASTVERSION'); +global $db; +$version = FreePBX::Config()->get('ASTVERSION'); - out('Removing all Sccp_manager tables'); - $tables = array('sccpdevmodel', 'sccpsettings'); +out('Removing all Sccp_manager tables'); +$tables = array('sccpdevmodel', 'sccpsettings'); foreach ($tables as $table) { $sql = "DROP TABLE IF EXISTS {$table}"; $result = $db->query($sql); @@ -77,5 +77,5 @@ if (!empty($version)) { * */ } - echo "done
\n"; +?> diff --git a/views/advserver.model.php b/views/advserver.model.php index 367e01c..2b13cf7 100644 --- a/views/advserver.model.php +++ b/views/advserver.model.php @@ -263,13 +263,13 @@ function SetColColorFirm(value, row, index) { if (row['validate'].split(';')[0] === 'no') { - return 'No found '+ value; + return 'Not found '+ value; } return value; } function SetColColorTempl(value, row, index) { if (row['validate'].split(';')[1] === 'no') { - return 'No found ' + value ; + return 'Not found ' + value ; } return value;