summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-06 14:17:39 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-06 14:17:39 +0000
commitee4590eedb2dc03a5fa70975ea893f42172944b3 (patch)
tree17314eca1219b64e97060241996b0202cb76a39d /frontends/php/include
parentb732e186700a82ef7355ddebeb9e59bfdeb79fdc (diff)
downloadzabbix-ee4590eedb2dc03a5fa70975ea893f42172944b3.tar.gz
zabbix-ee4590eedb2dc03a5fa70975ea893f42172944b3.tar.xz
zabbix-ee4590eedb2dc03a5fa70975ea893f42172944b3.zip
renamed 'uncnown' to 'unknown'
git-svn-id: svn://svn.zabbix.com/trunk@3873 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/actions.inc.php4
-rw-r--r--frontends/php/include/classes/ctriggerinfo.mod.php2
-rw-r--r--frontends/php/include/classes/graph.inc.php2
-rw-r--r--frontends/php/include/config.inc.php8
-rw-r--r--frontends/php/include/db.inc.php2
-rw-r--r--frontends/php/include/defines.inc.php2
-rw-r--r--frontends/php/include/httptest.inc.php2
-rw-r--r--frontends/php/include/items.inc.php2
-rw-r--r--frontends/php/include/page_header.php2
-rw-r--r--frontends/php/include/perm.inc.php6
-rw-r--r--frontends/php/include/users.inc.php2
11 files changed, 17 insertions, 17 deletions
diff --git a/frontends/php/include/actions.inc.php b/frontends/php/include/actions.inc.php
index 41d80ce2..7e5b70f4 100644
--- a/frontends/php/include/actions.inc.php
+++ b/frontends/php/include/actions.inc.php
@@ -264,7 +264,7 @@
{ // group
if(!DBfetch(DBselect("select groupid from groups where name=".zbx_dbstr($cmd_items[1]))))
{
- error("Uncnown group name: '".$cmd_items[1]."' in command ".$cmd."'");
+ error("Unknown group name: '".$cmd_items[1]."' in command ".$cmd."'");
return FALSE;
}
}
@@ -272,7 +272,7 @@
{ // host
if(!DBfetch(DBselect("select hostid from hosts where host=".zbx_dbstr($cmd_items[1]))))
{
- error("Uncnown host name '".$cmd_items[1]."' in command '".$cmd."'");
+ error("Unknown host name '".$cmd_items[1]."' in command '".$cmd."'");
return FALSE;
}
}
diff --git a/frontends/php/include/classes/ctriggerinfo.mod.php b/frontends/php/include/classes/ctriggerinfo.mod.php
index 6616b728..89481990 100644
--- a/frontends/php/include/classes/ctriggerinfo.mod.php
+++ b/frontends/php/include/classes/ctriggerinfo.mod.php
@@ -103,7 +103,7 @@
}
$trok = new CCol($ok.SPACE.S_OK, "normal");
- $uncn = new CCol($uncn.SPACE.S_NOT_CLASSIFIED,"uncnown");
+ $uncn = new CCol($uncn.SPACE.S_NOT_CLASSIFIED,"unknown");
$info = new CCol($info.SPACE.S_INFORMATION, "information");
$warn = new CCol($warn.SPACE.S_WARNING, "warning");
$avg = new CCol($avg.SPACE.S_AVERAGE, "average");
diff --git a/frontends/php/include/classes/graph.inc.php b/frontends/php/include/classes/graph.inc.php
index 88a54a7f..845be289 100644
--- a/frontends/php/include/classes/graph.inc.php
+++ b/frontends/php/include/classes/graph.inc.php
@@ -211,7 +211,7 @@
"Priority" => array(100,100,100),
"Not Work Period" => array(230,230,230),
- "UncnownData" => array(130,130,130, 50)
+ "UnknownData" => array(130,130,130, 50)
);
// I should rename No Alpha to Alpha at some point to get rid of some confusion
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index bfa13fc4..b8c2b0ac 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -1329,7 +1329,7 @@ $result =
}
- function get_profile($idx,$default_value=null,$type=PROFILE_TYPE_UNCNOWN)
+ function get_profile($idx,$default_value=null,$type=PROFILE_TYPE_UNKNOWN)
{
global $USER_DETAILS;
@@ -1341,7 +1341,7 @@ $result =
if($profile)
{
- if($type==PROFILE_TYPE_UNCNOWN)
+ if($type==PROFILE_TYPE_UNKNOWN)
$type = $profile["valuetype"];
$result = $profile["value"];
@@ -1362,7 +1362,7 @@ $result =
return $result;
}
- function update_profile($idx,$value,$type=PROFILE_TYPE_UNCNOWN)
+ function update_profile($idx,$value,$type=PROFILE_TYPE_UNKNOWN)
{
// SDI("Save profile:".$idx." = ".$value);
@@ -1373,7 +1373,7 @@ $result =
return;
}
- if($type==PROFILE_TYPE_UNCNOWN && is_array($value)) $type = PROFILE_TYPE_ARRAY;
+ if($type==PROFILE_TYPE_UNKNOWN && is_array($value)) $type = PROFILE_TYPE_ARRAY;
if($type==PROFILE_TYPE_ARRAY && !is_array($value)) $value = array($value);
switch($type)
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index db627bec..9f3619f7 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -31,7 +31,7 @@
if(!isset($DB_TYPE))
{
- $error = "Uncnown database type.";
+ $error = "Unknown database type.";
$result = false;
}
else
diff --git a/frontends/php/include/defines.inc.php b/frontends/php/include/defines.inc.php
index b5fb274d..f576a745 100644
--- a/frontends/php/include/defines.inc.php
+++ b/frontends/php/include/defines.inc.php
@@ -254,7 +254,7 @@
define("MARK_COLOR_GREEN", 2);
define("MARK_COLOR_BLUE", 3);
- define("PROFILE_TYPE_UNCNOWN", 0);
+ define("PROFILE_TYPE_UNKNOWN", 0);
define("PROFILE_TYPE_ARRAY", 1);
define("PROFILE_TYPE_INT", 2);
define("PROFILE_TYPE_STR", 3);
diff --git a/frontends/php/include/httptest.inc.php b/frontends/php/include/httptest.inc.php
index 8e773a31..1a394336 100644
--- a/frontends/php/include/httptest.inc.php
+++ b/frontends/php/include/httptest.inc.php
@@ -40,7 +40,7 @@
case HTTPTEST_STATUS_ACTIVE: $status = 'off'; break;
case HTTPTEST_STATUS_DISABLED: $status = 'on'; break;
default:
- $status = 'uncnown'; break;
+ $status = 'unknown'; break;
}
return $status;
}
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php
index a225a860..f975439c 100644
--- a/frontends/php/include/items.inc.php
+++ b/frontends/php/include/items.inc.php
@@ -73,7 +73,7 @@
case ITEM_STATUS_DISABLED: $status = 'on'; break;
case ITEM_STATUS_NOTSUPPORTED:
default:
- $status = 'uncnown'; break;
+ $status = 'unknown'; break;
}
return $status;
}
diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php
index cb8dad53..2704f8a0 100644
--- a/frontends/php/include/page_header.php
+++ b/frontends/php/include/page_header.php
@@ -51,7 +51,7 @@ COpt::profiling_start("page");
"lang" =>"en_gb",
"type" =>"0",
"node" =>array(
- "name" =>'- uncnown -',
+ "name" =>'- unknown -',
"nodeid"=>0));
}
diff --git a/frontends/php/include/perm.inc.php b/frontends/php/include/perm.inc.php
index 653b121f..cad56fc7 100644
--- a/frontends/php/include/perm.inc.php
+++ b/frontends/php/include/perm.inc.php
@@ -30,7 +30,7 @@
if(isset($str_perm[$group_permission]))
return $str_perm[$group_permission];
- return S_UNCNOWN;
+ return S_UNKNOWN;
}
/*****************************************
@@ -83,7 +83,7 @@
$USER_DETAILS['node'] = DBfetch(DBselect('select * from nodes where nodeid='.id2nodeid($USER_DETAILS['userid'])));
if(empty($USER_DETAILS['node']))
{
- $USER_DETAILS['node']['name'] = '- uncnown -';
+ $USER_DETAILS['node']['name'] = '- unknown -';
$USER_DETAILS['node']['nodeid'] = $ZBX_LOCALNODEID;
}
}
@@ -95,7 +95,7 @@
"lang" =>"en_gb",
"type" =>"0",
"node" =>array(
- "name" =>'- uncnown -',
+ "name" =>'- unknown -',
"nodeid"=>0));
}
diff --git a/frontends/php/include/users.inc.php b/frontends/php/include/users.inc.php
index 9a66245c..6407ca58 100644
--- a/frontends/php/include/users.inc.php
+++ b/frontends/php/include/users.inc.php
@@ -28,7 +28,7 @@
if(isset($str_user_type[$user_type_int]))
return $str_user_type[$user_type_int];
- return S_UNCNOWN;
+ return S_UNKNOWN;
}
# Add User definition