public function toHtml($_version = 'dashboard', $options = '') { if ($this->getType() == 'info') { return parent::toHtml($_version, $options); } $replace = array('#id#' => $this->getId(), '#name#' => $this->getName()); $html = template_replace($replace, getTemplate('core', $_version, 'cmd', 'pincode')); return $html; }