From 5f551b2d89b02cd159bf35723695ab2343a87248 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 21 Jul 2011 09:53:44 +0000 Subject: added Trisquel 5.0 to the list of the allowed distros --- h-source/Application/Controllers/BaseController.php | 2 +- h-source/Application/Include/distributions.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'h-source/Application') diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php index c636f8d..eb8042d 100644 --- a/h-source/Application/Controllers/BaseController.php +++ b/h-source/Application/Controllers/BaseController.php @@ -110,7 +110,7 @@ class BaseController extends Controller { $hard = new HardwareModel(); - $data['stat'] = $hard->clear()->select('type,count(*) AS numb')->where(array('-deleted'=>'no'))->groupBy('type')->toList('type','aggregate.numb')->send(); + $data['stat'] = $hard->clear()->select('type,count(*) AS numb')->where(array('-deleted'=>'no','cleared'=>'no'))->groupBy('type')->toList('type','aggregate.numb')->send(); $logged = $this->s['registered']->getUsersLogged(); diff --git a/h-source/Application/Include/distributions.php b/h-source/Application/Include/distributions.php index ca8dd0a..191c1ae 100644 --- a/h-source/Application/Include/distributions.php +++ b/h-source/Application/Include/distributions.php @@ -37,6 +37,7 @@ class Distributions 'trisquel_3_5' => 'Trisquel 3.5 Awen', 'trisquel_4_0' => 'Trisquel 4.0 Taranis', 'trisquel_4_5' => 'Trisquel 4.5 Slaine', + 'trisquel_5_0' => 'Trisquel 5.0 Dagda', 'ututo_xs_2009' => 'UTUTO XS 2009', 'ututo_xs_2010' => 'UTUTO XS 2010', 'venenux_0_8' => 'VENENUX 0.8', -- cgit v1.2.3