diff --git a/app/traffic_graph/app_languages.php b/app/traffic_graph/app_languages.php new file mode 100644 index 0000000000..e5678728b7 --- /dev/null +++ b/app/traffic_graph/app_languages.php @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/app/traffic_graph/status_graph.php b/app/traffic_graph/status_graph.php index bb4b496416..c1b880acd8 100644 --- a/app/traffic_graph/status_graph.php +++ b/app/traffic_graph/status_graph.php @@ -43,6 +43,12 @@ else { exit; } +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + if ($_REQUEST['interface']) { $interface = $_REQUEST['interface']; } @@ -63,18 +69,17 @@ else { $height = "330"; //275 //330 //396 } -$pg_title = "Traffic Graph\n"; - require_once "includes/header.php"; +$page["title"] = $text['title-traffic_graph']; ?>
|
-
+ =$text['header-traffic_graph']?> |