2 defined('_JEXEC') or die('Restricted access'); // no direct access
3 $canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
5 <?php if ($this->item->state == 0) : ?>
6 <div class="system-unpublished">
9 <?php $metadata = array(); ?>
11 <div class="Post-tl"></div>
12 <div class="Post-tr"></div>
13 <div class="Post-bl"></div>
14 <div class="Post-br"></div>
15 <div class="Post-tc"></div>
16 <div class="Post-bc"></div>
17 <div class="Post-cl"></div>
18 <div class="Post-cr"></div>
19 <div class="Post-cc"></div>
20 <div class="Post-body">
21 <div class="Post-inner">
22 <?php if ($this->item->params->get('show_title')) : ?>
23 <h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '26', 'height' => '31')); ?> <span class="PostHeader"><?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?>
24 <a href="<?php echo $this->item->readmore_link; ?>" class="PostHeader">
25 <?php echo $this->escape($this->item->title); ?></a>
27 <?php echo $this->escape($this->item->title); ?>
32 <div class="PostMetadataHeader">
33 <div class="PostHeaderIcons metadata-icons">
34 <?php if ($this->item->params->get('show_create_date')) : ?>
35 <?php ob_start(); ?> <?php echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2')); ?>
36 <?php $metadata[] = ob_get_clean(); ?>
38 <?php if (($this->item->params->get('show_author')) && ($this->item->author != "")) : ?>
39 <?php ob_start(); ?> <?php JText::printf('Author: %s', ($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author) ); ?>
40 <?php $metadata[] = ob_get_clean(); ?>
44 if ($this->item->params->get('show_url') && $this->item->urls)
45 $metadata[] = '<a href="http://' . $this->item->urls . '" target="_blank">' . $this->item->urls . '</a>';
46 $joomlaIcons = array();
47 if ($this->item->params->get('show_pdf_icon'))
48 $joomlaIcons[] = JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access);
49 if ($this->item->params->get('show_print_icon' ))
50 $joomlaIcons[] = JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access);
51 if ($this->item->params->get('show_email_icon'))
52 $joomlaIcons[] = JHTML::_('icon.email', $this->item, $this->item->params, $this->access);
53 if (0 != count($joomlaIcons))
54 $metadata[] = '<span class="metadata-icons">' . implode(' ', $joomlaIcons) . '</span>';
56 $metadata[] = JHTML::_('icon.edit', $this->item, $this->item->params, $this->access);
57 echo implode(' | ', $metadata);
63 <div class="PostContent">
64 <?php if (!$this->item->params->get('show_intro')) :
65 echo $this->item->event->afterDisplayTitle;
67 <?php echo $this->item->event->beforeDisplayContent; ?>
68 <?php if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?>
69 <table class="contentpaneopen<?php echo $this->item->params->get('pageclass_sfx' ); ?>">
72 <?php if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) : ?>
74 <?php if ($this->item->params->get('link_section')) : ?>
75 <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">'; ?>
77 <?php echo $this->item->section; ?>
78 <?php if ($this->item->params->get('link_section')) : ?>
81 <?php if ($this->item->params->get('show_category')) : ?>
86 <?php if ($this->item->params->get('show_category') && $this->item->catid) : ?>
88 <?php if ($this->item->params->get('link_category')) : ?>
89 <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?>
91 <?php echo $this->item->category; ?>
92 <?php if ($this->item->params->get('link_category')) : ?>
101 <?php if (isset ($this->item->toc)) : ?>
102 <?php echo $this->item->toc; ?>
104 <div class="article">
105 <?php echo $this->item->text; ?>
107 <?php if (intval($this->item->modified) != 0 && $this->item->params->get('show_modify_date')) : ?>
108 <p class="modifydate">
109 <?php echo JText::_('Last Updated'); ?> (<?php echo JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2')); ?>)
112 <?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
114 <a class="Button" href="<?php echo $this->item->readmore_link; ?>">
116 <span class="l"></span>
117 <span class="r"></span>
118 <span class="t"><?php if ($this->item->readmore_register) :
119 echo str_replace(' ', ' ', JText::_('Register to read more...'));
120 elseif ($readmore = $this->item->params->get('readmore')) :
121 echo str_replace(' ', ' ', $readmore);
123 echo str_replace(' ', ' ', JText::sprintf('Read more...'));
129 <span class="article_separator"> </span>
130 <?php echo $this->item->event->afterDisplayContent; ?>
133 <div class="cleared"></div>
141 <?php if ($this->item->state == 0) : ?>