function notification() { $Itemid = $GLOBALS[ACA . 'itemidAca']; $item = !empty($Itemid) ? '&Itemid=' . $Itemid : ''; if (isset($this->catId) and isset($this->notifType)) { if (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 : ' . acajoom::version() . ' -->' . "\n\r"; $this->_html .= $this->create(); $this->_html .= '<!-- End Module : ' . acajoom::version() . ' -->' . "\n\r"; } } return $this->_html; }