Skip to content

Commit

Permalink
Correcting spelling and grammar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cigamit committed Jan 13, 2017
1 parent 942800a commit fbefd83
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions mikrotik.php
Expand Up @@ -252,7 +252,7 @@ function clearFilter() {
</script>
<?php

html_start_box(__('Interace Stats'), '100%', '', '3', 'center', '');
html_start_box(__('Interface Stats'), '100%', '', '3', 'center', '');

?>
<tr class='even noprint'>
Expand Down Expand Up @@ -1963,7 +1963,7 @@ function mikrotik_get_graph_template_url($graph_template, $host_id = 0, $title =
return "-";
}
}elseif ($image) {
return "<img src='$nograph' title='" . __('Please Select Data Query First from Console -> Settings -> Host Mib First') . "' align='absmiddle' border='0'>";
return "<img src='$nograph' title='" . __('Please Select Data Query First from Console -> Settings -> Host MIB First') . "' align='absmiddle' border='0'>";
}else{
return $title;
}
Expand Down Expand Up @@ -2006,7 +2006,7 @@ function mikrotik_get_graph_url($data_query, $host_id, $index, $title = '', $ima
return "<img src='$nograph' title='" . __('Graphs Skipped or Not Created Yet') . "' align='absmiddle' border='0'>";
}
}elseif ($image) {
return "<img src='$nograph' title='" . __('Please Select Data Query First from Console->Settings->Host Mib First') . "' align='absmiddle' border='0'>";
return "<img src='$nograph' title='" . __('Please Select Data Query First from Console->Settings->Host MIB First') . "' align='absmiddle' border='0'>";
}else{
return $title;
}
Expand Down
18 changes: 9 additions & 9 deletions setup.php
Expand Up @@ -147,7 +147,7 @@ function mikrotik_setup_table () {
`HlFanSpeed2` varchar(20) DEFAULT NULL,
PRIMARY KEY (`host_id`))
ENGINE=MyISAM
COMMENT='Stores Mikrotik Health Counters'");
COMMENT='Stores MikroTik Health Counters'");

db_execute("CREATE TABLE IF NOT EXISTS `plugin_mikrotik_wireless_registrations` (
`host_id` int(10) unsigned NOT NULL,
Expand Down Expand Up @@ -181,7 +181,7 @@ function mikrotik_setup_table () {
`present` tinyint(3) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`host_id`,`index`))
ENGINE=MyISAM
COMMENT='Table of Mikrotik Wireless Registrations'");
COMMENT='Table of MikroTik Wireless Registrations'");

db_execute("CREATE TABLE IF NOT EXISTS `plugin_mikrotik_wireless_aps` (
`host_id` int(10) unsigned NOT NULL,
Expand Down Expand Up @@ -230,7 +230,7 @@ function mikrotik_setup_table () {
PRIMARY KEY (`host_id`),
INDEX `host_status` (`host_status`))
ENGINE=MyISAM
COMMENT='Contains all Hosts that support MikroTik';");
COMMENT='Contains all Devices that support MikroTik';");

db_execute("CREATE TABLE IF NOT EXISTS `plugin_mikrotik_storage` (
`host_id` int(10) unsigned NOT NULL,
Expand Down Expand Up @@ -559,7 +559,7 @@ function mikrotik_setup_table () {
`password` varchar(40) DEFAULT '',
PRIMARY KEY (`host_id`))
ENGINE=MyISAM
COMMENT='Stores Mikrotik API Credentials'");
COMMENT='Stores MikroTik API Credentials'");
}

function mikrotik_poller_bottom() {
Expand Down Expand Up @@ -626,7 +626,7 @@ function mikrotik_config_settings () {
'array' => $mikrotik_frequencies
),
'mikrotik_automation_header' => array(
'friendly_name' => __('Host Graph Automation'),
'friendly_name' => __('Device Graph Automation'),
'method' => 'spacer',
),
'mikrotik_automation_frequency' => array(
Expand Down Expand Up @@ -655,7 +655,7 @@ function mikrotik_config_settings () {
),
'mikrotik_user_exclusion_ttl' => array(
'friendly_name' => __('Exclude Users Time to Live'),
'description' => __('How long should an excluded users data be preserved after they have disconnected.'),
'description' => __('How long should an excluded user\'s data be preserved after they have disconnected.'),
'method' => 'drop_array',
'default' => '3600',
'array' => array(
Expand Down Expand Up @@ -753,7 +753,7 @@ function mikrotik_config_arrays() {
global $wireless_station_hashes, $wirless_reg_hashes, $interface_hashes;
global $device_hashes, $device_health_hashes, $graph_template_hashes, $device_query_hashes;

$menu[__('Management')]['plugins/mikrotik/mikrotik_users.php'] = __('Mikrotik Users');
$menu[__('Management')]['plugins/mikrotik/mikrotik_users.php'] = __('MikroTik Users');

$queue_hashes = array(
'2873cd299a639cbdc19320c7c59b76e0',
Expand Down Expand Up @@ -1204,7 +1204,7 @@ function mikrotik_host_top() {
'mikrotik_result' => array(
'method' => 'other',
'friendly_name' => __('Connection Result'),
'description' => __('Ok if Cacti can connect to the Mikrotik over its API port.'),
'description' => __('Ok if Cacti can connect to the MikroTik over its API port.'),
'value' => 'Connected Successfully'
)
);
Expand All @@ -1213,7 +1213,7 @@ function mikrotik_host_top() {
'mikrotik_result' => array(
'method' => 'other',
'friendly_name' => __('Connection Result'),
'description' => __('Ok if Cacti can connect to the Mikrotik over its API port.'),
'description' => __('Ok if Cacti can connect to the MikroTik over its API port.'),
'value' => 'Connection Failed'
)
);
Expand Down

0 comments on commit fbefd83

Please sign in to comment.