From 3d1e543a6771b8c532ae90d06f5094790d7f39f1 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 28 Jan 2020 18:22:58 +0000 Subject: [PATCH] Put full vehicle number and link to the map in vehicles.html tpl --- lib/TramTypes.php | 14 ++++---------- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/lib/TramTypes.php b/lib/TramTypes.php index 46fe8f2..a1cdedb 100644 --- a/lib/TramTypes.php +++ b/lib/TramTypes.php @@ -24,10 +24,10 @@ 201 245 RZ 105N 0 246 299 HZ 105N 0 301 310 RF GT8S 0 -311 311 RF GT8N 1 -312 312 RF GT8S 0 +311 312 RF GT8N 1 313 313 RF GT8C 1 -314 316 RF GT8S 0 +314 315 RF GT8N 1 +316 316 RF GT8S 0 317 329 RF GT8N 1 401 440 HL EU8N 1 451 456 HK N8C-NF 1 @@ -37,18 +37,12 @@ 615 626 RP NGT6 (2) 2 627 650 RP NGT6 (3) 2 801 824 RY NGT8 2 +825 859 RY Stadler Tango 2 899 899 RY 126N 2 901 914 RG 2014N 2 915 936 HG 2014N 2 999 999 HG 405N 1 END; parent::__construct($data); - } - - public function getByNumber($id) { - if((int)$id == 250) { - $id = 410; - } - return parent::getByNumber($id); } } -- Gitblit v1.9.1