// Merge -> revision 8800
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8808 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -75,12 +75,12 @@ class HomeFeatured extends Module
|
||||
public function displayForm()
|
||||
{
|
||||
$output = '
|
||||
<form action="'.$_SERVER['REQUEST_URI'].'" method="post">
|
||||
<form action="'.Tools::safeOutput($_SERVER['REQUEST_URI']).'" method="post">
|
||||
<fieldset><legend><img src="'.$this->_path.'logo.gif" alt="" title="" />'.$this->l('Settings').'</legend>
|
||||
<p>'.$this->l('In order to add products to your homepage, just add them to the "home" category.').'</p><br />
|
||||
<label>'.$this->l('Number of products displayed').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" size="5" name="nbr" value="'.Tools::getValue('nbr', (int)(Configuration::get('HOME_FEATURED_NBR'))).'" />
|
||||
<input type="text" size="5" name="nbr" value="'.Tools::safeOutput(Tools::getValue('nbr', (int)(Configuration::get('HOME_FEATURED_NBR')))).'" />
|
||||
<p class="clear">'.$this->l('The number of products displayed on homepage (default: 10).').'</p>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user