Example #1
0
 function artxFragment($head = '', $content = '', $tail = '', $separator = '')
 {
     global $artxFragments;
     if ($head != '' && $content == '' && $tail == '' && $separator == '') {
         $content = $head;
         $head = '';
     } elseif ($head != '' && $content != '' && $tail == '' && $separator == '') {
         $separator = $content;
         $content = $head;
         $head = '';
     }
     artxFragmentBegin($head);
     artxFragmentContent($content);
     artxFragmentEnd($tail, $separator);
 }
Example #2
0
        artxFragment('', JHTML::_('icon.pdf', $this->article, $this->params, $this->access), '', ' ');
    }
    if ($this->params->get('show_print_icon')) {
        artxFragment('', JHTML::_('icon.print_popup', $this->article, $this->params, $this->access), '', ' ');
    }
    if ($this->params->get('show_email_icon')) {
        artxFragment('', JHTML::_('icon.email', $this->article, $this->params, $this->access), '', ' ');
    }
    artxFragmentEnd('</span>', ' | ');
    if ($canEdit) {
        artxFragment('', JHTML::_('icon.edit', $this->article, $this->params, $this->access), '', ' | ');
    }
} else {
    artxFragment('', JHTML::_('icon.print_screen', $this->article, $this->params, $this->access, array('class' => 'art-metadata-icon')), '', ' | ');
}
artxFragmentEnd("\r\n</div>\r\n");
echo "<div class=\"art-PostContent\">\r\n";
if (!$this->params->get('show_intro')) {
    echo $this->article->event->afterDisplayTitle;
}
echo $this->article->event->beforeDisplayContent;
if ($this->params->get('show_section') && $this->article->sectionid || $this->params->get('show_category') && $this->article->catid) {
    ?>
<table class="contentpaneopen<?php 
    echo $this->params->get('pageclass_sfx');
    ?>
">
<tr>
	<td>
<?php 
    if ($this->params->get('show_section') && $this->article->sectionid && isset($this->article->section)) {