當前位置: 首頁>>代碼示例>>PHP>>正文


PHP flexicontent_html::mailbutton方法代碼示例

本文整理匯總了PHP中flexicontent_html::mailbutton方法的典型用法代碼示例。如果您正苦於以下問題:PHP flexicontent_html::mailbutton方法的具體用法?PHP flexicontent_html::mailbutton怎麽用?PHP flexicontent_html::mailbutton使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在flexicontent_html的用法示例。


在下文中一共展示了flexicontent_html::mailbutton方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: elseif

            echo JText::_('Print');
            ?>
' class='btn btn-info' onclick='this.style.display="none"; window.print(); return false;'>
	<?php 
        }
    } elseif ($this->params->get('show_print_icon') || $this->params->get('show_email_icon') || $this->params->get('show_feed_icon', 1) || $this->params->get('show_addbutton', 1)) {
        ?>
	<div class="buttons">
		<?php 
        echo flexicontent_html::addbutton($this->params, $this->category);
        ?>
		<?php 
        echo flexicontent_html::printbutton($this->print_link, $this->params);
        ?>
		<?php 
        echo flexicontent_html::mailbutton('category', $this->params, $this->category->slug);
        ?>
		<?php 
        echo flexicontent_html::feedbutton('category', $this->params, $this->category->slug);
        ?>
	</div>
<?php 
    }
    ?>
<!-- EOF buttons -->

<!-- BOF page title -->
<?php 
    if ($this->params->get('show_page_heading', 1)) {
        ?>
		<h1 class="componentheading">
開發者ID:noxidsoft,項目名稱:flexicontent-cck,代碼行數:31,代碼來源:category.php

示例2:

			<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;
            ?>
			<?php 
開發者ID:jakesyl,項目名稱:flexicontent,代碼行數:31,代碼來源:modular.php

示例3: elseif

if (JRequest::getCmd('print')) {
    if ($this->params->get('print_behaviour', 'auto') == 'auto') {
        ?>
		<script type="text/javascript">jQuery(document).ready(function(){ window.print(); });</script>
	<?php 
    } elseif ($this->params->get('print_behaviour') == 'button') {
        ?>
		<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 
    }
} else {
    $pdfbutton = '';
    $mailbutton = flexicontent_html::mailbutton('tags', $this->params, $this->tag->slug);
    $printbutton = flexicontent_html::printbutton($this->print_link, $this->params);
    if ($pdfbutton || $mailbutton || $printbutton) {
        ?>
	<div class="buttons">
		<?php 
        echo $pdfbutton;
        ?>
		<?php 
        echo $mailbutton;
        ?>
		<?php 
        echo $printbutton;
        ?>
	</div>
	<?php 
開發者ID:nettdotkomm,項目名稱:flexicontent-cck,代碼行數:31,代碼來源:default.php


注:本文中的flexicontent_html::mailbutton方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。