aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-07-21 09:53:44 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-07-21 09:53:44 +0000
commit5f551b2d89b02cd159bf35723695ab2343a87248 (patch)
treedebdcb7076f0a0e16918b876b5abfded2250b805 /h-source/Application
parent2327c4be91adc7cccba98072062ee42bef3e7973 (diff)
added Trisquel 5.0 to the list of the allowed distros
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Controllers/BaseController.php2
-rw-r--r--h-source/Application/Include/distributions.php1
2 files changed, 2 insertions, 1 deletions
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',