echo '</ul></div>' . "\n"; echo '</a></div>' . "\n"; } } } if ($cv->display_icon_detail == 1 || $cv->display_icon_download > 0 || $cv->display_icon_vm || $cv->start_cooliris == 1 || $cv->trash == 1 || $cv->publish_unpublish == 1 || $cv->display_icon_geo == 1 || $cv->display_icon_commentimg == 1 || $cv->camera_info == 1 || $cv->display_icon_extlink1 == 1 || $cv->display_icon_extlink2 == 1 || $cv->camera_info == 1) { echo '<div class="pg-icon-detail">'; if ($cv->start_cooliris == 1) { echo '<a href="javascript:PicLensLite.start({feedUrl:\'' . JURI::base(true) . '/images/phocagallery/' . $cv->catid . '.rss' . '\'});" title="Cooliris" >'; echo JHtml::_('image', $this->tmpl['icon_path'] . 'icon-cooliris.png', 'Cooliris'); echo '</a>'; } // ICON DETAIL if ($cv->display_icon_detail == 1) { echo ' <a class="' . $cv->button2->methodname . '" title="' . htmlentities($cv->oimgtitledetail, ENT_QUOTES, 'UTF-8') . '"' . ' href="' . $cv->link2 . '"'; echo PhocaGalleryRenderFront::renderAAttributeTitle($this->tmpl['detail_window'], $cv->button2->options, '', $this->tmpl['highslideonclick'], $this->tmpl['highslideonclick2'], $cv->linknr, $cv->catalias); echo ' >'; echo JHtml::_('image', $this->tmpl['icon_path'] . 'icon-view.png', $cv->oimgaltdetail); echo '</a>'; } // ICON DOWNLOAD if ($cv->display_icon_download > 0) { // Direct Download but not if there is a youtube if ($cv->display_icon_download == 2 && $cv->videocode == '') { echo ' <a title="' . JText::_('COM_PHOCAGALLERY_IMAGE_DOWNLOAD') . '"' . ' href="' . JRoute::_('index.php?option=com_phocagallery&view=detail&catid=' . $cv->catslug . '&id=' . $cv->slug . $this->tmpl['tmplcom'] . '&phocadownload=' . $cv->display_icon_download . '&Itemid=' . $this->itemId) . '"'; } else { echo ' <a class="' . $cv->buttonother->methodname . '" title="' . JText::_('COM_PHOCAGALLERY_IMAGE_DOWNLOAD') . '"' . ' href="' . JRoute::_('index.php?option=com_phocagallery&view=detail&catid=' . $cv->catslug . '&id=' . $cv->slug . $this->tmpl['tmplcom'] . '&phocadownload=' . (int) $cv->display_icon_download . '&Itemid=' . $this->itemId) . '"'; echo PhocaGalleryRenderFront::renderAAttributeOther($this->tmpl['detail_window'], $cv->buttonother->options, $this->tmpl['highslideonclick'], $this->tmpl['highslideonclick2']); } echo ' >'; echo JHtml::_('image', $this->tmpl['icon_path'] . 'icon-download.png', JText::_('COM_PHOCAGALLERY_IMAGE_DOWNLOAD'));