aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Controllers/RssController.php1
-rw-r--r--h-source/Application/Include/hardware.php1
-rw-r--r--h-source/Application/Views/Desktop/Notebooks/form.php2
-rw-r--r--h-source/Application/Views/Desktop/form.php2
4 files changed, 4 insertions, 2 deletions
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 @@
<div class="form_entry td_with_distribution_checkboxes">
<div class="entry_label"><?php echo gtext("GNU/Linux distribution used for the test");?>: <b>*</b></div>
- <?php include(ROOT . DS . APPLICATION_PATH . DS . 'Views' . DS . 'noscript_distributions.php');?>
+ <?php include(ROOT . DS . APPLICATION_PATH . DS . 'Views' . DS . Params::$viewSubfolder. DS . 'noscript_distributions.php');?>
<?php echo Html_Form::input('distribution',$values['distribution'],'input_entry input_distribution');?>
<?php echo Distributions::getFormHtml();?>
</div>
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 @@
<div class="form_entry td_with_distribution_checkboxes">
<div class="entry_label"><?php echo gtext("GNU/Linux distribution used for the test");?>: <b>*</b></div>
- <?php include(ROOT . DS . APPLICATION_PATH . DS . 'Views' . DS . 'noscript_distributions.php');?>
+ <?php include(ROOT . DS . APPLICATION_PATH . DS . 'Views' . DS . Params::$viewSubfolder. DS . 'noscript_distributions.php');?>
<?php echo Html_Form::input('distribution',$values['distribution'],'input_entry input_distribution');?>
<?php echo Distributions::getFormHtml();?>
</div>