From 1e4bad327bab16b10c1fe344b9c1f8d7194f41ec Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 8 Dec 2011 19:32:48 +0000 Subject: change content-type of RSS --- h-source/Application/Controllers/RssController.php | 1 + h-source/Application/Include/hardware.php | 1 + h-source/Application/Views/Desktop/Notebooks/form.php | 2 +- h-source/Application/Views/Desktop/form.php | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) (limited to 'h-source') diff --git a/h-source/Application/Controllers/RssController.php b/h-source/Application/Controllers/RssController.php index 2be8425..0d3325e 100644 --- a/h-source/Application/Controllers/RssController.php +++ b/h-source/Application/Controllers/RssController.php @@ -33,6 +33,7 @@ class RssController extends SpecialController public function modifications($lang = 'en') { + header ("Content-Type:application/rss+xml"); parent::modifications($lang); $this->clean(); $this->load('modifications'); diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 8c134c9..e0086ff 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -259,6 +259,7 @@ class Notebooks extends Hardware "Gateway" => "Gateway", "Hewlett Packard" => "Hewlett-Packard", "IBM" => "IBM", + "Lanix" => "Lanix", "Lemote" => "Lemote", "Lenovo" => "Lenovo", "LG" => "LG", diff --git a/h-source/Application/Views/Desktop/Notebooks/form.php b/h-source/Application/Views/Desktop/Notebooks/form.php index 4a661b1..5743281 100644 --- a/h-source/Application/Views/Desktop/Notebooks/form.php +++ b/h-source/Application/Views/Desktop/Notebooks/form.php @@ -77,7 +77,7 @@
- +
diff --git a/h-source/Application/Views/Desktop/form.php b/h-source/Application/Views/Desktop/form.php index 5d04566..c18c0f6 100644 --- a/h-source/Application/Views/Desktop/form.php +++ b/h-source/Application/Views/Desktop/form.php @@ -73,7 +73,7 @@
- +
-- cgit v1.2.3