// delete multiple button save in AdminStatsTabController and added juery ui datepicker

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10450 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-11-22 16:36:10 +00:00
parent f00820e090
commit 3ceff1df09
3 changed files with 16 additions and 37 deletions
+2 -10
View File
@@ -38,16 +38,6 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor
{
$this->toolbar_title = $this->l('Stats');
$this->toolbar_btn['save-calendar'] = array(
'href' => '#',
'desc' => $this->l('Save Calendar')
);
$this->toolbar_btn['save-settings'] = array(
'href' => '#',
'desc' => $this->l('Save Settings')
);
if ($this->display == 'view')
{
// Some controllers use the view action without an object
@@ -86,6 +76,8 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor
$context = Context::getContext();
$tpl = $context->smarty->createTemplate('stats/calendar.tpl');
$context->controller->addJqueryUI('ui.datepicker');
$tpl->assign(array(
'current' => self::$currentIndex,
'token' => $token,