public static function setPhotoBreadcrumb($photo) { if (@(!isset($photo->cat_link))) { return false; } if (@(!isset($photo->cat_title))) { return false; } if (@(!isset($photo->title))) { return false; } $version = TmplPhocagalleryHelper::getjVersion(); $app = JFactory::getApplication(); $pathway = $app->getPathway(); $pathway->addItem($photo->cat_title, $photo->cat_link); $pathway->addItem($photo->title); return true; }
<?php defined('_JEXEC') or die('Restricted access'); require JPATH_SITE . '/templates/padraogoverno01/html/com_phocagallery/_helper.php'; //removendo css padrao do componente: TmplPhocagalleryHelper::removeCss(array('phocagallery.css')); echo '<div id="phocagallery" class="pg-categories-view' . $this->params->get('pageclass_sfx') . '">'; if ($this->params->get('show_page_heading')) { echo '<h1 class="borderHeading">' . $this->escape($this->params->get('page_heading')) . '</h1>'; } if ($this->tmpl['categories_description'] != '') { echo '<div class="description" >'; echo JHTML::_('content.prepare', $this->tmpl['categories_description']) . '</div>'; } // echo $this->loadTemplate('categories'); // echo $this->loadTemplate('pagination'); echo '<form action="' . htmlspecialchars($this->tmpl['action']) . '" method="post" name="adminForm">'; echo $this->loadTemplate('categories'); if (count($this->categories)) { echo '<div class="pagination row-fluid">'; echo '<div class="text-center">'; echo $this->tmpl['pagination']->getPagesLinks(); echo '<p>'; if ($this->params->get('show_pagination_categories')) { echo $this->tmpl['pagination']->getPagesCounter(); } if ($this->params->get('show_pagination_categories') || $this->params->get('show_pagination_limit_categories')) { echo ' '; } if ($this->params->get('show_pagination_limit_categories')) { echo JText::_('JGLOBAL_DISPLAY_NUM') . ' ' . $this->tmpl['pagination']->getLimitBox();
</li> </ul> <div class="below-content"> <div class="line"> registrado em: <span><a href="<?php echo $this->item->cat_link; ?> " rel="tag" class="link-categoria"><?php echo $this->item->cat_title; ?> </a></span> </div> <?php if (!empty($this->item->metakey)) { ?> <div class="line"> Assunto(s): <?php TmplPhocagalleryHelper::displayMetakeyLinks($this->item->metakey); ?> </div> <?php } ?> </div> <?php } echo '</div>';
<?php defined('_JEXEC') or die('Restricted access'); require JPATH_SITE . '/templates/padraogoverno01/html/com_phocagallery/_helper.php'; //removendo css,js e custom html do componente: TmplPhocagalleryHelper::removeCss(array('phocagallery.css', 'modal.css')); TmplPhocagalleryHelper::removeJs(array('mootools-core-uncompressed.js', 'mootools-more.js', 'core-uncompressed.js', 'modal-uncompressed.js', 'modal.js', '$$(\'a.pg-modal-button\')')); TmplPhocagalleryHelper::removeCustom(array('#phocagallery', '#sbox-window', 'phocagalleryieall.css', '.phocagallery-box-file')); //incluindo campos que nao vem por padrao na consulta $this->category = TmplPhocagalleryHelper::getExtrafields($this->category, array('date')); ?> <div id="phocagallery" class="pg-category-view<?php echo $this->params->get('pageclass_sfx'); ?> "> <?php if ($this->params->get('page_heading') != '') { ?> <span class="documentCategory"><?php echo $this->params->get('page_heading'); ?> </span> <?php } ?> <h1 class="secondaryHeading"><?php echo $this->category->title; ?> </h1>
?> </a> </h2> <div class="description"> <?php echo TmplPhocagalleryHelper::getFormatedDescription($this->categories[$i]->description); ?> </div> <?php if (@(!empty($this->categories[$i]->metakey))) { ?> <div class="keywords"> Tags: <?php TmplPhocagalleryHelper::displayMetakeyLinks($this->categories[$i]->metakey); ?> </div> <?php } ?> </div> <div class="span2 tileInfo"> <ul> <li><i class="icon-fixed-width icon-calendar"></i> <?php echo JHtml::_('date', $this->categories[$i]->date, 'd/m/y'); ?> </li> <li><i class="icon-fixed-width icon-time"></i> <?php echo JHtml::_('date', $this->categories[$i]->date, 'H\\hi'); ?>