1 <?php // no direct access
\r\r
2 defined('_JEXEC') or die('Restricted access');
\r\r
4 $canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
\r\r
6 <?php if ($this->params->get('show_page_title', 1) && $this->params->get('page_title') != $this->article->title) : ?>
\r\r
8 <div class="Post-tl"></div>
\r\r
9 <div class="Post-tr"><div></div></div>
\r\r
10 <div class="Post-bl"><div></div></div>
\r\r
11 <div class="Post-br"><div></div></div>
\r\r
12 <div class="Post-tc"><div></div></div>
\r\r
13 <div class="Post-bc"><div></div></div>
\r\r
14 <div class="Post-cl"><div></div></div>
\r\r
15 <div class="Post-cr"><div></div></div>
\r\r
16 <div class="Post-cc"></div>
\r\r
17 <div class="Post-body">
\r\r
18 <div class="Post-inner">
\r\r
20 <h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '29', 'height' => '29')); ?> <span class="PostHeader">
\r\r
21 <?php echo $this->escape($this->params->get('page_title')); ?>
\r\r
32 <?php $metadata = array(); ?>
\r\r
33 <div class="Post">
\r\r
34 <div class="Post-tl"></div>
\r\r
35 <div class="Post-tr"><div></div></div>
\r\r
36 <div class="Post-bl"><div></div></div>
\r\r
37 <div class="Post-br"><div></div></div>
\r\r
38 <div class="Post-tc"><div></div></div>
\r\r
39 <div class="Post-bc"><div></div></div>
\r\r
40 <div class="Post-cl"><div></div></div>
\r\r
41 <div class="Post-cr"><div></div></div>
\r\r
42 <div class="Post-cc"></div>
\r\r
43 <div class="Post-body">
\r\r
44 <div class="Post-inner">
\r\r
45 <?php if ($this->params->get('show_title')) : ?>
\r\r
46 <h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '29', 'height' => '29')); ?> <?php if ($this->params->get('show_title')) : ?>
\r\r
47 <?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
\r\r
48 <a href="<?php echo $this->article->readmore_link; ?>" class="PostHeader">
\r\r
49 <?php echo $this->escape($this->article->title); ?></a>
\r\r
51 <?php echo $this->escape($this->article->title); ?>
\r\r
56 <div class="PostHeaderIcons metadata-icons">
\r\r
57 <?php if ($this->params->get('show_create_date')) : ?>
\r\r
58 <?php ob_start(); ?><?php echo JHTML::_('image.site', 'PostDateIcon.png', null, null, null, JText::_("PostDateIcon"), array('width' => '17', 'height' => '18')); ?> <?php echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2')); ?>
\r\r
59 <?php $metadata[] = ob_get_clean(); ?>
\r\r
60 <?php endif; ?><?php if (($this->params->get('show_author')) && ($this->article->author != "")) : ?>
\r\r
61 <?php ob_start(); ?><?php echo JHTML::_('image.site', 'PostAuthorIcon.png', null, null, null, JText::_("PostAuthorIcon"), array('width' => '14', 'height' => '14')); ?> <?php JText::printf('Author: %s', ($this->article->created_by_alias ? $this->article->created_by_alias : $this->article->author) ); ?>
\r\r
62 <?php $metadata[] = ob_get_clean(); ?>
\r\r
63 <?php endif; ?><?php
\r\r
64 if ($this->params->get('show_url') && $this->article->urls)
\r\r
65 $metadata[] = '<a href="http://' . $this->item->urls . '" target="_blank">' . $this->item->urls . '</a>';
\r\r
66 if (!$this->print) {
\r\r
67 $joomlaIcons = array();
\r\r
68 if ($this->params->get('show_pdf_icon'))
\r\r
69 $joomlaIcons[] = JHTML::_('icon.pdf', $this->article, $this->params, $this->access);
\r\r
70 if ( $this->params->get( 'show_print_icon' ))
\r\r
71 $joomlaIcons[] = JHTML::_('icon.print_popup', $this->article, $this->params, $this->access);
\r\r
72 if ($this->params->get('show_email_icon'))
\r\r
73 $joomlaIcons[] = JHTML::_('icon.email', $this->article, $this->params, $this->access);
\r\r
74 if ($joomlaIcons != '')
\r\r
75 $metadata[] = '<span class="metadata-icons">' . implode(' ', $joomlaIcons) . '</span>';
\r\r
77 $metadata[] = JHTML::_('icon.edit', $this->article, $this->params, $this->access);
\r\r
79 $metadata[] = JHTML::_('icon.print_screen', $this->article, $this->params, $this->access, array('class' => 'metadata-icon'));
\r\r
81 echo implode(' | ', $metadata);
\r\r
85 <div class="PostContent">
\r\r
86 <?php if (!$this->params->get('show_intro')) :
\r\r
87 echo $this->article->event->afterDisplayTitle;
\r\r
89 <?php echo $this->article->event->beforeDisplayContent; ?>
\r\r
90 <?php if (($this->params->get('show_section') && $this->article->sectionid) || ($this->params->get('show_category') && $this->article->catid)) : ?>
\r\r
91 <table class="contentpaneopen<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
\r\r
94 <?php if ($this->params->get('show_section') && $this->article->sectionid && isset($this->article->section)) : ?>
\r\r
96 <?php if ($this->params->get('link_section')) : ?>
\r\r
97 <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->article->sectionid)).'">'; ?>
\r\r
99 <?php echo $this->article->section; ?>
\r\r
100 <?php if ($this->params->get('link_section')) : ?>
\r\r
101 <?php echo '</a>'; ?>
\r\r
103 <?php if ($this->params->get('show_category')) : ?>
\r\r
104 <?php echo ' - '; ?>
\r\r
108 <?php if ($this->params->get('show_category') && $this->article->catid) : ?>
\r\r
110 <?php if ($this->params->get('link_category')) : ?>
\r\r
111 <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->article->catslug, $this->article->sectionid)).'">'; ?>
\r\r
113 <?php echo $this->article->category; ?>
\r\r
114 <?php if ($this->params->get('link_category')) : ?>
\r\r
115 <?php echo '</a>'; ?>
\r\r
123 <?php if (isset ($this->article->toc)) : ?>
\r\r
124 <?php echo $this->article->toc; ?>
\r\r
126 <div class="article">
\r\r
127 <?php echo $this->article->text; ?>
\r\r
129 <?php if ( intval($this->article->modified) !=0 && $this->params->get('show_modify_date')) : ?>
\r\r
130 <p class="modifydate">
\r\r
131 <?php echo JText::_( 'Last Updated' ); ?> ( <?php echo JHTML::_('date', $this->article->modified, JText::_('DATE_FORMAT_LC2')); ?> )
\r\r
136 <div class="cleared"></div>
\r\r