コード例 #1
0
ファイル: blog_item.php プロジェクト: KIZI/sewebar-cms
    ?>
			<div class="rt-articleinfo">
				<?php 
    /** Begin Article Icons **/
    if ($this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon')) {
        ?>
				<div class="rt-article-icons">
					<?php 
        if ($this->item->params->get('show_pdf_icon')) {
            echo RokIcon::pdf($this->item, $this->item->params, $this->access);
        }
        if ($this->item->params->get('show_print_icon')) {
            echo RokIcon::print_popup($this->item, $this->item->params, $this->access);
        }
        if ($this->item->params->get('show_email_icon')) {
            echo RokIcon::email($this->item, $this->item->params, $this->access);
        }
        ?>
				</div>
				<?php 
        /** End Article Icons **/
    }
    ?>

				<?php 
    /** Begin Created Date **/
    if ($this->item->params->get('show_create_date')) {
        ?>
				<span class="rt-date-posted">
					<?php 
        echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2'));
コード例 #2
0
ファイル: default.php プロジェクト: rkern21/videoeditor
				</span>
				<?php /** End Url **/ endif; ?>
			</div>
			<?php /** Begin Article Icons **/ if ($canEdit || $this->params->get('show_pdf_icon') || $this->params->get('show_print_icon') || $this->params->get('show_email_icon')) : ?>
			<div class="rt-article-icons">
				<?php if ($this->print) :
					echo RokIcon::print_screen($this->article, $this->params, $this->access);
				elseif ($this->params->get('show_pdf_icon') || $this->params->get('show_print_icon') || $this->params->get('show_email_icon')) : ?>
				<?php if ($this->params->get('show_pdf_icon')) :
					echo RokIcon::pdf($this->article, $this->params, $this->access);
				endif;
				if ($this->params->get('show_print_icon')) :
					echo RokIcon::print_popup($this->article, $this->params, $this->access);
				endif;
				if ($this->params->get('show_email_icon')) :
					echo RokIcon::email($this->article, $this->params, $this->access);
				endif;
				endif; ?>
				<?php if (!$this->print) : ?>
					<?php if ($canEdit) : ?>
					<!--<span class="icon edit">
						< ?php echo JHTML::_('icon.edit', $this->article, $this->params, $this->access); ? >
					</span>
					-->
					<?php endif; ?>
				<?php else : ?>
					<span class="icon printscreen">
						<?php echo JHTML::_('icon.print_screen',  $this->article, $this->params, $this->access); ?>
					</span>
				<?php endif; ?>
			</div>