public function getButton() { if ($this->getOption('position') || $this->getOption('top')) { return '<a href="#" class="wf-action ' . $this->getOption('button_class') . '" data-action-id="' . $this->getId() . '"><i class="icon16 ' . $this->getOption('icon') . '"></i><b><i>' . $this->getName() . '</i></b></a>'; } else { return parent::getButton(); } }
public function getButton() { return parent::getButton('data-confirm="' . _w('This order will be cancelled. Are you sure?') . '"'); }