/** * */ function display() { if (!$this->site_template) { return parent::display(); } return parent::display($this->site_template); }
function display() { if (!$this->print_preview) { return parent::display(); } $this->addStyleSheet('sheetgen/print.css'); return parent::display('sheet_template', SHEETGEN_TEMPLATES); }