[+] BO : #PSFV-94 AdminGenerator is now a controller

// + now form in options.tpl is inside a block
// newly made controller are now controllerCore
// Configuration die2Exception
// added license text in newly made admin templates

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10070 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-11-13 18:51:01 +00:00
parent 35429b0699
commit 8b46abe6de
10 changed files with 131 additions and 63 deletions
+3
View File
@@ -63,6 +63,9 @@ class HelperOptionsCore extends Helper
foreach ($option_list as $category => $category_data)
{
if(!is_array($category_data))
continue;
if (!isset($category_data['image']))
$category_data['image'] = (!empty($tab['module']) && file_exists($_SERVER['DOCUMENT_ROOT']._MODULE_DIR_.$tab['module'].'/'.$tab['class_name'].'.gif') ? _MODULE_DIR_.$tab['module'].'/' : '../img/t/').$tab['class_name'].'.gif';