| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php // no direct access 2 defined('_JEXEC') or die('Restricted access'); ?> 3 4 <?php if ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own')) : ?> 5 <div class="contentpaneopen_edit<?php echo $this->escape($this->item->params->get( 'pageclass_sfx' )); ?>" style="float: left;"> 6 <?php echo JHTML::_('icon.edit', $this->item, $this->item->params, $this->access); ?> 7 </div> 8 <?php endif; ?> 9 <div class="contentpaneopen<?php echo $this->escape($this->item->params->get( 'pageclass_sfx' )); ?>"> 10 11 <?php if ($this->item->params->get('show_title')) : ?> 12 <h2 class="contentheading<?php echo $this->escape($this->item->params->get( 'pageclass_sfx' )); ?>"> 13 <?php if ($this->item->params->get('link_titles') && $this->item->readmore_link != '') : ?> 14 <a href="<?php echo $this->item->readmore_link; ?>" class="contentpagetitle<?php echo $this->escape($this->item->params->get( 'pageclass_sfx' )); ?>"> 15 <?php echo $this->escape($this->item->title); ?> 16 </a> 17 <?php else : ?> 18 <?php echo $this->escape($this->item->title); ?> 19 <?php endif; ?> 20 </h2> 21 <?php endif; ?> 22 23 <?php if (!$this->item->params->get('show_intro')) : 24 echo $this->item->event->afterDisplayTitle; 25 endif; ?> 26 27 <?php 28 if ( 29 ($this->item->params->get('show_create_date')) 30 || (($this->item->params->get('show_author')) && ($this->item->author != "")) 31 || (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) 32 || ($this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon')) 33 || ($this->item->params->get('show_url') && $this->item->urls) 34 ) : 35 ?> 36 <div class="article-tools"> 37 <div class="article-meta"> 38 39 <?php if ($this->item->params->get('show_create_date')) : ?> 40 <span class="createdate"> 41 <?php echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2')); ?> 42 </span> 43 <?php endif; ?> 44 45 <?php if (($this->item->params->get('show_author')) && ($this->item->author != "")) : ?> 46 <span class="createby"> 47 <?php JText::printf(($this->item->created_by_alias ? $this->escape($this->item->created_by_alias) : $this->escape($this->item->author)) ); ?> 48 </span> 49 <?php endif; ?> 50 51 <?php if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?> 52 <?php if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) : ?> 53 <span class="article-section"> 54 <?php if ($this->item->params->get('link_section')) : ?> 55 <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">'; ?> 56 <?php endif; ?> 57 <?php echo $this->escape($this->item->section); ?> 58 <?php if ($this->item->params->get('link_section')) : ?> 59 <?php echo '</a>'; ?> 60 <?php endif; ?> 61 <?php if ($this->item->params->get('show_category')) : ?> 62 <?php echo ' - '; ?> 63 <?php endif; ?> 64 </span> 65 <?php endif; ?> 66 <?php if ($this->item->params->get('show_category') && $this->item->catid) : ?> 67 <span class="article-section"> 68 <?php if ($this->item->params->get('link_category')) : ?> 69 <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?> 70 <?php endif; ?> 71 <?php echo $this->escape($this->item->category); ?> 72 <?php if ($this->item->params->get('link_category')) : ?> 73 <?php echo '</a>'; ?> 74 <?php endif; ?> 75 </span> 76 <?php endif; ?> 77 <?php endif; ?> 78 </div> 79 80 <?php if ($this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon')) : ?> 81 <div class="buttonheading"> 82 <?php if ($this->item->params->get('show_email_icon')) : ?> 83 <span> 84 <?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?> 85 </span> 86 <?php endif; ?> 87 88 <?php if ( $this->item->params->get( 'show_print_icon' )) : ?> 89 <span> 90 <?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?> 91 </span> 92 <?php endif; ?> 93 94 <?php if ($this->item->params->get('show_pdf_icon')) : ?> 95 <span> 96 <?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?> 97 </span> 98 <?php endif; ?> 99 </div> 100 <?php endif; ?> 101 102 <?php if ($this->item->params->get('show_url') && $this->item->urls) : ?> 103 <span class="article-url"> 104 <a href="http://<?php echo $this->escape($this->item->urls) ; ?>" target="_blank"> 105 <?php echo $this->escape($this->item->urls); ?> 106 </a> 107 </span> 108 <?php endif; ?> 109 </div> 110 <?php endif; ?> 111 112 <?php echo $this->item->event->beforeDisplayContent; ?> 113 114 <div class="article-content"> 115 <?php if (isset ($this->item->toc)) : ?> 116 <?php echo $this->item->toc; ?> 117 <?php endif; ?> 118 <?php echo $this->item->text; ?> 119 </div> 120 121 <?php if ( intval($this->item->modified) != 0 && $this->item->params->get('show_modify_date')) : ?> 122 <span class="modifydate"> 123 <?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2'))); ?> 124 </span> 125 <?php endif; ?> 126 127 <?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?> 128 <a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>" class="readon<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>"> 129 <?php if ($this->item->readmore_register) : ?> 130 <?php echo JText::_('Register to read more...'); ?> 131 <?php else : ?> 132 <?php echo JText::_('Read more...'); ?> 133 <?php endif; ?> 134 </a> 135 <?php endif; ?> 136 137 </div> 138 139 <span class="article_separator"> </span> 140 <?php echo $this->item->event->afterDisplayContent; ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |