function notification() { $Itemid = $GLOBALS[JNEWS . 'itemidAca']; $item = !empty($Itemid) ? '&Itemid=' . $Itemid : ''; if (isset($this->catId) and isset($this->notifType)) { if (jNews_Lists::getNotifLists($this->lists, $this->notifType, $this->catId)) { $this->linear = 1; $this->introtext = 'Notify me of new product'; $this->redirectURL = 'index.php?option=com_virtuemart&page=shop.browse&category_id=' . $this->catId . $item; $this->buttonRegistered = _CMN_YES; $this->buttonUnregistered = _CMN_NO; // $this->_html = '<!-- Beginning Module : '.jnews::version().' -->'."\n\r"; if ($this->use_new) { $html = $this->create(); } else { $html = $this->createOld(); } // $this->_html .= '<!-- End Module : '.jnews::version().' -->'."\n\r"; } } return $html; }