// Norm & fixed typo

This commit is contained in:
bMancone
2012-02-27 09:35:02 +00:00
parent c5e7c339eb
commit 3fc9f8f29e
2 changed files with 7 additions and 5 deletions
+2
View File
@@ -125,6 +125,8 @@ class HomeSlide extends ObjectModel
$current_slide->update();
unset($current_slide);
}
return true;
}
}
+5 -5
View File
@@ -517,7 +517,7 @@ class HomeSlider extends Module
else
$slide->active = 0;
$res = $slide->update();
$this->_html .= ($res ? $this->displayConfirmation($this->l('Configuration updated')) : $this->displayErro($this->l('Configuration could not be updated')));
$this->_html .= ($res ? $this->displayConfirmation($this->l('Configuration updated')) : $this->displayError($this->l('Configuration could not be updated')));
}
/* Processes Slide */
else if (Tools::isSubmit('submitSlide'))
@@ -613,10 +613,10 @@ class HomeSlider extends Module
public function hookHome()
{
$slider = array(
'width' => Configuration::get('HOMESLIDER_WIDTH'),
'height' => Configuration::get('HOMESLIDER_HEIGHT'),
'speed' => Configuration::get('HOMESLIDER_SPEED'),
'pause' => Configuration::get('HOMESLIDER_PAUSE')
'width' => Configuration::get('HOMESLIDER_WIDTH'),
'height' => Configuration::get('HOMESLIDER_HEIGHT'),
'speed' => Configuration::get('HOMESLIDER_SPEED'),
'pause' => Configuration::get('HOMESLIDER_PAUSE')
);
$slides = $this->getSlides(true);