Beispiel #1
0
?>
			<?php 
if (intval($this->item->modified) != 0 && $this->item->params->get('show_modify_date') || $this->item->params->get('show_author') && $this->item->author != "" || $this->item->params->get('show_create_date') || ($this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon'))) {
    ?>
			<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')) {
        ?>
Beispiel #2
0
				<?php /** Begin Url **/ if ($this->params->get('show_url') && $this->article->urls) : ?>
				<span class="rt-url">
					<a href="http://<?php echo $this->article->urls ; ?>" target="_blank"><?php echo $this->escape($this->article->urls); ?></a>
				</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); ?>