[*] MO : homeSlider - Added translations/changed size of URL and removed description from the required fields

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8279 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-08-31 10:02:44 +00:00
parent ef9bc292b8
commit 6c92e8ee82
2 changed files with 11 additions and 12 deletions
+2 -3
View File
@@ -44,7 +44,7 @@ class HomeSlide extends ObjectModel
'active',
'position'
);
protected $fieldsRequiredLang = array('title', 'description', 'url', 'legend');
protected $fieldsRequiredLang = array('title', 'url', 'legend');
protected $fieldsSizeLang = array(
'description' => 4000,
'title' => 255,
@@ -53,7 +53,7 @@ class HomeSlide extends ObjectModel
'image' => 255
);
protected $fieldsValidateLang = array(
'title' => 'isName',
'title' => 'isCleanHtml',
'description' => 'isCleanHtml',
'url' => 'isUrl',
'legend' => 'isCleanHtml',
@@ -100,7 +100,6 @@ class HomeSlide extends ObjectModel
INSERT INTO `'._DB_PREFIX_.'homeslider` (`id_shop`, `id_slide`)
VALUES('.(int)$id_shop.', '.(int)$this->id.')'
);
return $res;
}