// Toolbar
jimport('joomla.html.toolbar');
$bar = & JToolBar::getInstance('toolbar');
if ($access->get('core.edit') || ($isNew && $access->get('core.create') || $access->get('core.edit.own')))
$bar->appendButton( 'Standard', "save", "CLIMATPRATIC_JTOOLBAR_SAVE", "save", false);
if ($access->get('core.edit') || $access->get('core.edit.own'))
$bar->appendButton( 'Standard', "apply", "CLIMATPRATIC_JTOOLBAR_APPLY", "apply", false);
$bar->appendButton( 'Standard', "cancel", "CLIMATPRATIC_JTOOLBAR_CANCEL", "cancel", false, false );
$lists = $bar;
$config = JComponentHelper::getParams( 'com_climatpratic' );
$this->assignRef('user', JFactory::getUser());
$this->assignRef('access', $access);
$this->assignRef('lists', $lists);
$this->assignRef('climatpraticitem', $climatpraticitem);
$this->assignRef('config', $config);
$this->assignRef('isNew', $isNew);
parent::display($tpl);