From 2c3856df1196c92db2cf7e76f8d523f9bdd44177 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Wed, 20 Oct 2010 20:37:50 +0000 Subject: added noscript alert and some other minor issues --- h-source/Application/Include/distributions.php | 5 ++++ h-source/Application/Include/hardware.php | 1 + h-source/Application/Views/Notebooks/form.php | 11 +++++--- h-source/Application/Views/Printers/form.php | 1 + h-source/Application/Views/Scanners/form.php | 1 + h-source/Application/Views/Users/add.php | 4 +-- h-source/Application/Views/Videocards/form.php | 1 + h-source/Application/Views/Wifi/form.php | 1 + .../Application/Views/noscript_distributions.php | 33 ++++++++++++++++++++++ h-source/Public/Css/website.css | 9 ++++++ h-source/README.txt | 2 +- 11 files changed, 62 insertions(+), 7 deletions(-) create mode 100644 h-source/Application/Views/noscript_distributions.php (limited to 'h-source') diff --git a/h-source/Application/Include/distributions.php b/h-source/Application/Include/distributions.php index 6f5e1ae..6ccff64 100644 --- a/h-source/Application/Include/distributions.php +++ b/h-source/Application/Include/distributions.php @@ -36,6 +36,11 @@ class Distributions 'venenux_0_8' => 'VENENUX 0.8', ); + public static function getList() + { + return implode(' , ',array_keys(self::$allowed)); + } + public static function getName($distList = '') { $returnString = null; diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 9340ef8..67df1f6 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -146,6 +146,7 @@ class Notebooks extends Hardware "IBM" => "IBM", "Lenovo" => "Lenovo", "LG" => "LG", + "msi" => "msi", "Philco" => "Philco", "Philips" => "Philips", "Panasonic" => "Panasonic", diff --git a/h-source/Application/Views/Notebooks/form.php b/h-source/Application/Views/Notebooks/form.php index 0ef7d1b..f93eda3 100644 --- a/h-source/Application/Views/Notebooks/form.php +++ b/h-source/Application/Views/Notebooks/form.php @@ -3,19 +3,21 @@ . +// along with h-source. If not, see . ?>