// Commit new tabs in product edition

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11079 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-12-09 14:22:46 +00:00
parent 43ff904c57
commit 80ecb65475
9 changed files with 229 additions and 140 deletions
+5 -2
View File
@@ -129,8 +129,7 @@ class HelperCore
$context = Context::getContext();
$context->controller->addCSS(_PS_JS_DIR_.'jquery/plugins/treeview/jquery.treeview.css');
$context->controller->addJs(array(
_PS_JS_DIR_.'jquery/plugins/treeview/jquery.treeview.js',
_PS_JS_DIR_.'jquery/plugins/treeview/jquery.treeview.async.js',
@@ -158,6 +157,9 @@ class HelperCore
var selectedLabel = \''.$trads['selected'].'\';
var home = \''.$trads['Home'].'\';
var use_radio = '.(int)$use_radio.';
$(document).ready(function(){
buildTreeView();
});
</script>';
$html .= '
@@ -172,6 +174,7 @@ class HelperCore
';
$home_is_selected = false;
foreach($selected_cat AS $cat)
{
if (is_array($cat))