Added page with unique line numbers.
This commit is contained in:
parent
3cda5b78c0
commit
3a6060f458
3 changed files with 60 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Reference in a new issue