| [ 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 48 ? $this->escape($this->item->created_by_alias) 49 : $this->escape($this->item->author)) ); ?> 50 </span> 51 <?php endif; ?> 52 53 <?php if (($this->item->params->get('show_section') && $this->item->sectionid) || ($this->item->params->get('show_category') && $this->item->catid)) : ?> 54 <?php if ($this->item->params->get('show_section') && $this->item->sectionid && isset($this->item->section)) : ?> 55 <span class="article-section"> 56 <?php if ($this->item->params->get('link_section')) : ?> 57 <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getSectionRoute($this->item->sectionid)).'">'; ?> 58 <?php endif; ?> 59 <?php echo $this->escape($this->item->section); ?> 60 <?php if ($this->item->params->get('link_section')) : ?> 61 <?php echo '</a>'; ?> 62 <?php endif; ?> 63 <?php if ($this->item->params->get('show_category')) : ?> 64 <?php echo ' - '; ?> 65 <?php endif; ?> 66 </span> 67 <?php endif; ?> 68 <?php if ($this->item->params->get('show_category') && $this->item->catid) : ?> 69 <span class="article-section"> 70 <?php if ($this->item->params->get('link_category')) : ?> 71 <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?> 72 <?php endif; ?> 73 <?php echo $this->escape($this->item->category); ?> 74 <?php if ($this->item->params->get('link_category')) : ?> 75 <?php echo '</a>'; ?> 76 <?php endif; ?> 77 </span> 78 <?php endif; ?> 79 <?php endif; ?> 80 </div> 81 82 <?php if ($this->item->params->get('show_pdf_icon') || $this->item->params->get('show_print_icon') || $this->item->params->get('show_email_icon')) : ?> 83 <div class="buttonheading"> 84 <?php if ($this->item->params->get('show_email_icon')) : ?> 85 <span> 86 <?php echo JHTML::_('icon.email', $this->item, $this->item->params, $this->access); ?> 87 </span> 88 <?php endif; ?> 89 90 <?php if ( $this->item->params->get( 'show_print_icon' )) : ?> 91 <span> 92 <?php echo JHTML::_('icon.print_popup', $this->item, $this->item->params, $this->access); ?> 93 </span> 94 <?php endif; ?> 95 96 <?php if ($this->item->params->get('show_pdf_icon')) : ?> 97 <span> 98 <?php echo JHTML::_('icon.pdf', $this->item, $this->item->params, $this->access); ?> 99 </span> 100 <?php endif; ?> 101 </div> 102 <?php endif; ?> 103 104 <?php if ($this->item->params->get('show_url') && $this->item->urls) : ?> 105 <span class="article-url"> 106 <a href="http://<?php echo $this->escape($this->item->urls) ; ?>" target="_blank"> 107 <?php echo $this->escape($this->item->urls); ?> 108 </a> 109 </span> 110 <?php endif; ?> 111 </div> 112 <?php endif; ?> 113 114 <?php echo $this->item->event->beforeDisplayContent; ?> 115 116 <div class="article-content"> 117 <?php if (isset ($this->item->toc)) : ?> 118 <?php echo $this->item->toc; ?> 119 <?php endif; ?> 120 <?php echo $this->item->text; ?> 121 </div> 122 123 <?php if ( intval($this->item->modified) != 0 && $this->item->params->get('show_modify_date')) : ?> 124 <span class="modifydate"> 125 <?php echo JText::sprintf('LAST_UPDATED2', JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2'))); ?> 126 </span> 127 <?php endif; ?> 128 129 <?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?> 130 <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')); ?>"> 131 <?php 132 if ($this->item->readmore_register) : 133 echo JText::_('Register to read more...'); 134 elseif ($readmore = $this->item->params->get('readmore')) : 135 echo $readmore ; 136 else : 137 echo JText::sprintf('Read more...'); 138 endif; 139 ?> 140 </a> 141 <?php endif; ?> 142 143 </div> 144 145 <span class="article_separator"> </span> 146 <?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 |