diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-12-08 19:32:48 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-12-08 19:32:48 +0000 |
commit | 1e4bad327bab16b10c1fe344b9c1f8d7194f41ec (patch) | |
tree | 18088666be1a2cf6b74699764a0f5e9ec17e649f | |
parent | a1d2d486dc66ef10e8a26249e598eaf0670b2c9b (diff) |
change content-type of RSS
-rw-r--r-- | h-source/Application/Controllers/RssController.php | 1 | ||||
-rw-r--r-- | h-source/Application/Include/hardware.php | 1 | ||||
-rw-r--r-- | h-source/Application/Views/Desktop/Notebooks/form.php | 2 | ||||
-rw-r--r-- | h-source/Application/Views/Desktop/form.php | 2 |
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> |