1
<?php // @version $Id: default.php 11386 2009-01-04 02:34:35Z ian $
2
defined('_JEXEC') or die('Restricted access');
7
<?php if (($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own')) && !($this->print)) : ?>
8
<div class="contentpaneopen_edit<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
9
<?php echo JHTML::_('icon.edit', $this->article, $this->params, $this->access); ?>
13
<?php if ($this->params->get('show_page_title',1) && $this->params->get('page_title') != $this->article->title) : ?>
14
<h1 class="componentheading<?php echo $this->params->get('pageclass_sfx'); ?>">
15
<?php echo $this->escape($this->params->get('page_title')); ?>
19
<?php if ($this->params->get('show_title')) : ?>
20
<h2 class="contentheading<?php echo $this->params->get('pageclass_sfx'); ?>">
21
<?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
22
<a href="<?php echo $this->article->readmore_link; ?>" class="contentpagetitle<?php echo $this->params->get('pageclass_sfx'); ?>">
23
<?php echo $this->article->title; ?></a>
25
echo $this->escape($this->article->title);
30
<?php if ((intval($this->article->modified) !=0 && $this->params->get('show_modify_date')) || ($this->params->get('show_author') && ($this->article->author != "")) || ($this->params->get('show_create_date'))) : ?>
31
<p class="articleinfo">
32
<?php if (intval($this->article->modified) !=0 && $this->params->get('show_modify_date')) : ?>
33
<span class="modifydate">
34
<?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->article->modified, JText::_('DATE_FORMAT_LC2'))); ?>
38
<?php if (($this->params->get('show_author')) && ($this->article->author != "")) : ?>
39
<span class="createdby">
40
<?php JText::printf('Written by', ($this->article->created_by_alias ? $this->article->created_by_alias : $this->article->author)); ?>
44
<?php if ($this->params->get('show_create_date')) : ?>
45
<span class="createdate">
46
<?php echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2')); ?>
52
<?php if (!$this->params->get('show_intro')) :
53
echo $this->article->event->afterDisplayTitle;
56
<p class="buttonheading">
57
<?php if ($this->print) :
58
echo JHTML::_('icon.print_screen', $this->article, $this->params, $this->access);
59
elseif ($this->params->get('show_pdf_icon') || $this->params->get('show_print_icon') || $this->params->get('show_email_icon')) : ?>
60
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/trans.gif" alt="<?php echo JText::_('attention open in a new window'); ?>" />
61
<?php if ($this->params->get('show_pdf_icon')) :
62
echo JHTML::_('icon.pdf', $this->article, $this->params, $this->access);
64
if ($this->params->get('show_print_icon')) :
65
echo JHTML::_('icon.print_popup', $this->article, $this->params, $this->access);
67
if ($this->params->get('show_email_icon')) :
68
echo JHTML::_('icon.email', $this->article, $this->params, $this->access);
73
<?php if (($this->params->get('show_section') && $this->article->sectionid) || ($this->params->get('show_category') && $this->article->catid)) : ?>
75
<?php if ($this->params->get('show_section') && $this->article->sectionid) : ?>
77
<?php if ($this->params->get('link_section')) : ?>
78
<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->article->sectionid)).'">'; ?>
80
<?php echo $this->article->section; ?>
81
<?php if ($this->params->get('link_section')) : ?>
84
<?php if ($this->params->get('show_category')) : ?>
89
<?php if ($this->params->get('show_category') && $this->article->catid) : ?>
91
<?php if ($this->params->get('link_category')) : ?>
92
<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->article->catslug, $this->article->sectionid)).'">'; ?>
94
<?php echo $this->article->category; ?>
95
<?php if ($this->params->get('link_category')) : ?>
103
<?php echo $this->article->event->beforeDisplayContent; ?>
105
<?php if ($this->params->get('show_url') && $this->article->urls) : ?>
107
<a href="<?php echo $this->article->urls; ?>" target="_blank">
108
<?php echo $this->article->urls; ?></a>
112
<?php if (isset ($this->article->toc)) :
113
echo $this->article->toc;
116
<?php echo JFilterOutput::ampReplace($this->article->text); ?>
118
<?php echo $this->article->event->afterDisplayContent; ?>