// Code review : normalise and todo

This commit is contained in:
rMalie
2012-01-20 15:19:27 +00:00
parent 1172172cdb
commit a406caa4ee
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)
{