// Code review : normalise and todo

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12583 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-01-20 15:19:27 +00:00
parent 820f8a5d94
commit 5dad8f329d
7 changed files with 60 additions and 69 deletions
+5 -5
View File
@@ -53,7 +53,7 @@ class HelperOptionsCore extends Helper
foreach ($option_list as $category => $category_data)
{
if(!is_array($category_data))
if (!is_array($category_data))
continue;
if (!isset($category_data['image']))
@@ -92,7 +92,6 @@ class HelperOptionsCore extends Helper
// Fill values for all languages for all lang fields
if (substr($field['type'], -4) == 'Lang')
{
foreach ($languages as $language)
{
if ($field['type'] == 'textLang')
@@ -107,6 +106,7 @@ class HelperOptionsCore extends Helper
}
// pre-assign vars to the tpl
// @todo move this
if ($field['type'] == 'maintenance_ip')
{
$field['script_ip'] = '
@@ -159,7 +159,7 @@ class HelperOptionsCore extends Helper
/**
* Type = image
* @ TODO
* @TODO
*/
public function displayOptionTypeImage($key, $field, $value)
{
@@ -187,7 +187,7 @@ class HelperOptionsCore extends Helper
/**
* Type = price
* @ TODO
* @TODO
*/
public function displayOptionTypePrice($key, $field, $value)
{
@@ -199,7 +199,7 @@ class HelperOptionsCore extends Helper
/**
* Type = disabled
*
* @ TODO
* @TODO
*/
public function displayOptionTypeDisabled($key, $field, $value)
{