<?php } ?> <!-- EOF Print handling --> <?php } else { ?> <?php $pdfbutton = flexicontent_html::pdfbutton($item, $this->params); $mailbutton = flexicontent_html::mailbutton(FLEXI_ITEMVIEW, $this->params, $item->categoryslug, $item->slug, 0, $item); $printbutton = flexicontent_html::printbutton($this->print_link, $this->params); $editbutton = flexicontent_html::editbutton($item, $this->params); $statebutton = flexicontent_html::statebutton($item, $this->params); $approvalbutton = flexicontent_html::approvalbutton($item, $this->params); ?> <?php if ($pdfbutton || $mailbutton || $printbutton || $editbutton || $statebutton || $approvalbutton) { ?> <!-- BOF buttons --> <div class="buttons"> <?php echo $pdfbutton; ?> <?php echo $mailbutton; ?> <?php echo $printbutton;