diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php
index 32006a830..24277c2ba 100644
--- a/html/includes/functions.inc.php
+++ b/html/includes/functions.inc.php
@@ -452,7 +452,7 @@ function generate_port_url($port, $vars=array())
return generate_url(array('page' => 'device', 'device' => $port['device_id'], 'tab' => 'port', 'port' => $port['port_id']), $vars);
}
-function generate_port_thumbnail($args)
+function print_port_thumbnail($args)
{
if (!$args['bg']) { $args['bg'] = "FFFFFF"; }
$args['content'] = "
";
diff --git a/html/pages/device/pseudowires.inc.php b/html/pages/device/pseudowires.inc.php
index c39f02454..a981e5cc4 100644
--- a/html/pages/device/pseudowires.inc.php
+++ b/html/pages/device/pseudowires.inc.php
@@ -65,7 +65,7 @@ foreach (dbFetchRows("SELECT * FROM pseudowires AS P, ports AS I WHERE P.port_id
foreach ($types as $graph_type)
{
$pw_a['graph_type'] = "port_".$graph_type;
- generate_port_thumbnail($pw_a);
+ print_port_thumbnail($pw_a);
}
}
echo("
| ");
@@ -81,7 +81,7 @@ foreach (dbFetchRows("SELECT * FROM pseudowires AS P, ports AS I WHERE P.port_id
foreach ($types as $graph_type)
{
$pw_b['graph_type'] = "port_".$graph_type;
- generate_port_thumbnail($pw_b);
+ print_port_thumbnail($pw_b);
}
}
diff --git a/html/pages/pseudowires.inc.php b/html/pages/pseudowires.inc.php
index b506e0efc..275d472d5 100644
--- a/html/pages/pseudowires.inc.php
+++ b/html/pages/pseudowires.inc.php
@@ -65,7 +65,7 @@ foreach (dbFetchRows("SELECT * FROM pseudowires AS P, ports AS I, devices AS D W
foreach ($types as $graph_type)
{
$pw_a['graph_type'] = "port_".$graph_type;
- generate_port_thumbnail($pw_a);
+ print_port_thumbnail($pw_a);
}
}
echo(" | | ");
@@ -81,7 +81,7 @@ foreach (dbFetchRows("SELECT * FROM pseudowires AS P, ports AS I, devices AS D W
foreach ($types as $graph_type)
{
$pw_b['graph_type'] = "port_".$graph_type;
- generate_port_thumbnail($pw_b);
+ print_port_thumbnail($pw_b);
}
}
diff --git a/html/pages/routing/vrf.inc.php b/html/pages/routing/vrf.inc.php
index 3c811c531..530c6b7f2 100644
--- a/html/pages/routing/vrf.inc.php
+++ b/html/pages/routing/vrf.inc.php
@@ -107,7 +107,7 @@ if($_GET['optb'] == "all" ) {
echo("
".makeshortif($port['ifDescr'])." ");
- generate_port_thumbnail($port);
+ print_port_thumbnail($port);
echo(" ".truncate(short_port_descr($port['ifAlias']), 22, '')."
");
break;
|