if ($this->params->get('global_list_meta_thumbnail') != 'hide') {
        ?>
          <div class="media-item-format-<?php 
        echo $this->elementType;
        ?>
">
             <img src="<?php 
        echo JHtml::_('hwdicon.overlay', $this->elementType, $item);
        ?>
" alt="<?php 
        echo $this->elementName;
        ?>
" />
          </div>
          <a href="<?php 
        echo JRoute::_(hwdMediaShareHelperRoute::getUserRoute($item->slug));
        ?>
">
             <img src="<?php 
        echo JRoute::_(hwdMediaShareDownloads::thumbnail($item, $this->elementType));
        ?>
" border="0" alt="<?php 
        echo $this->escape($item->title);
        ?>
" style="max-width:100%;" />
          </a>
          <?php 
    }
    ?>
        </div>
        <!-- Clears Item and Information -->
예제 #2
0
 public function getLink()
 {
     return JRoute::_(hwdMediaShareHelperRoute::getUserRoute($this->profile->id));
 }
예제 #3
0
				</div>
				<div class="span3">
					<ul class="unstyled">
						<li class="article-info-term"><?php 
echo JText::_('COM_HWDMS_DETAILS');
?>
 </li>
						<li class="media-info-count"> <?php 
echo JText::_('COM_HWDMS_MEDIA');
?>
 (<?php 
echo (int) $this->album->nummedia;
?>
)</li>
						<li class="media-info-createdby"> <?php 
echo JText::sprintf('COM_HWDMS_CREATED_BY', '<a href="' . JRoute::_(hwdMediaShareHelperRoute::getUserRoute($this->album->created_user_id)) . '">' . htmlspecialchars($this->album->author, ENT_COMPAT, 'UTF-8') . '</a>');
?>
</li>
						<li class="media-info-created"> <?php 
echo JText::sprintf('COM_HWDMS_CREATED_ON', JHtml::_('date', $this->album->created, $this->params->get('global_list_date_format')));
?>
</li>
						<li class="media-info-hits"> <?php 
echo JText::_('COM_HWDMS_VIEWS');
?>
 (<?php 
echo (int) $this->album->hits;
?>
)</li>
						<li class="media-info-like"> <a href="<?php 
echo JRoute::_('index.php?option=com_hwdmediashare&task=album.like&id=' . $this->album->id . '&return=' . $this->return . '&tmpl=component');
예제 #4
0
    ?>
        <?php 
    if ($this->params->get('global_list_meta_created') != 'hide') {
        ?>
          <td class="list-date"><?php 
        echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC2'));
        ?>
</td>
        <?php 
    }
    ?>
        <?php 
    if ($this->params->get('global_list_meta_author') != 'hide') {
        ?>
          <td class="list-author"><a href="<?php 
        echo JRoute::_(hwdMediaShareHelperRoute::getUserRoute($item->created_user_id));
        ?>
"><?php 
        echo $this->escape($item->author);
        ?>
</a></td>
        <?php 
    }
    ?>
        <?php 
    if ($this->params->get('global_list_meta_hits') != 'hide') {
        ?>
          <td class="list-hits"><?php 
        echo (int) $item->hits;
        ?>
</td>