[+] Project : adding Features detachables in order to improve performance
// clean code
This commit is contained in:
@@ -281,7 +281,7 @@ class AdminCarts extends AdminTab
|
||||
<tr>
|
||||
<td colspan="2">';
|
||||
foreach ($customization['datas'] AS $type => $datas)
|
||||
if ($type == _CUSTOMIZE_FILE_)
|
||||
if ($type == Product::CUSTOMIZE_FILE)
|
||||
{
|
||||
$i = 0;
|
||||
echo '<ul style="margin: 4px 0px 4px 0px; padding: 0px; list-style-type: none;">';
|
||||
@@ -291,7 +291,7 @@ class AdminCarts extends AdminTab
|
||||
</li>';
|
||||
echo '</ul>';
|
||||
}
|
||||
elseif ($type == _CUSTOMIZE_TEXTFIELD_)
|
||||
elseif ($type == Product::CUSTOMIZE_TEXTFIELD)
|
||||
{
|
||||
$i = 0;
|
||||
echo '<ul style="margin: 0px 0px 4px 0px; padding: 0px 0px 0px 6px; list-style-type: none;">';
|
||||
|
||||
Reference in New Issue
Block a user