public function changelogAction()
 {
     $this->tplVars['page_js'][] = 'changelog.js';
     $pId = $this->_getParam('id');
     $products = new AdminProducts();
     if ($this->_hasParam('lang')) {
         $lang = $this->_getParam('lang');
     } else {
         $lang = 1;
     }
     $prChangelog = $products->getChangelogById($pId, $lang);
     $productInfo = $products->getProductById($pId);
     $this->tplVars['prodinfo'] = $productInfo;
     $this->tplVars['chlogdata'] = $prChangelog;
     $this->tplVars['lvals']['lang'] = $lang;
     $this->tplVars['header']['actions']['names'][] = array('name' => 'changelog', 'menu_name' => 'Product change log', 'params' => array('id' => $this->_getParam('id')));
     $this->tplVars['header']['actions']['names'][] = array('name' => 'edit', 'menu_name' => 'Edit product', 'params' => array('id' => $pId));
     array_push($this->viewIncludes, 'products/changelogList.tpl');
 }