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

This commit is contained in:
lLefevre
2011-11-22 16:36:10 +00:00
parent 73b53c029a
commit dacb4f7eb4
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,