Added page with unique line numbers.

This commit is contained in:
George Kaklamanos 2016-02-18 08:56:43 +02:00
parent 3cda5b78c0
commit 3a6060f458
3 changed files with 60 additions and 0 deletions

View file

@ -95,4 +95,21 @@ function getLabelOfDir($dir){
}
}
function getLines(){
global $routes;
$lines = array();
foreach ($routes as $r){
$found = false;
foreach($lines as $l){
if($r["line"] == $l){
$found=true;
}
}
if(!$found){
array_push($lines, $r["id"]);
}
}
return $lines;
}
?>