Beispiel #1
0
            ?>
			<input type='button' id='printBtn' name='printBtn' value='<?php 
            echo JText::_('Print');
            ?>
' class='btn btn-info' onclick='this.style.display="none"; window.print(); return false;'>
		<?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;
            ?>