} else { $picCorW = $this->tmpl['picasa_correct_width_s']; $picCorH = $this->tmpl['picasa_correct_height_s']; } $imageThumbnail = PhocaGalleryImageFront::displayCategoriesCVExtImgOrFolder($this->itemscv[$i]->extm, $this->itemscv[$i]->exts, $this->itemscv[$i]->linkthumbnailpath, (int) $this->tmpl['imagetypecv']); } else { $imageThumbnail = PhocaGalleryImageFront::displayCategoriesCVImageOrFolder($this->itemscv[$i]->linkthumbnailpath, (int) $this->tmpl['imagetypecv']); } // - - - - - - - - - - - - - - - echo '<div class="pg-cats-box-float">' . "\n"; echo '<div class="pg-cats-box">' . "\n" . '<div class="pg-cats-box-img"><a href="' . $this->itemscv[$i]->link . '">'; if (isset($this->itemscv[$i]->extpic) && $this->itemscv[$i]->extpic) { $correctImageRes = PhocaGalleryPicasa::correctSizeWithRate($this->itemscv[$i]->extw, $this->itemscv[$i]->exth, $picCorW, $picCorH); echo JHtml::_('image', $imageThumbnail, str_replace('»', '-', $this->itemscv[$i]->title), array('width' => $correctImageRes['width'], 'height' => $correctImageRes['height'], 'class' => PhocaGalleryRenderFront::renderImageClass($imageThumbnail))); } else { echo JHtml::_('image', $imageThumbnail, str_replace('»', '-', $this->itemscv[$i]->title), array('class' => PhocaGalleryRenderFront::renderImageClass($imageThumbnail))); } echo '</a>' . '</div>' . "\n" . '<div class="pg-cats-name ' . $this->tmpl['class_suffix'] . '"><a href="' . $this->itemscv[$i]->link . '">' . $this->itemscv[$i]->title . '</a> '; if ($this->itemscv[$i]->numlinks > 0) { echo '<span class="small">(' . $this->itemscv[$i]->numlinks . ')</span>'; } echo '</div><div style="clear:both"></div>' . "\n" . '</div></div>' . "\n"; } echo '<div style="clear:both"></div>' . "\n"; echo '</div>' . "\n"; echo "\n"; } else { echo "\n\n"; echo '<div id="phocagallery-categories-detail" class="pg-cats-cv">' . "\n"; for ($i = 0; $i < $countCategories; $i++) { if ($columns == 1) {
echo '<span class="mbf-item">#phocagallerypiclens ' . $cv->catid . '-phocagallerypiclenscode-' . $cv->extid . '</span>'; } else { echo '<span class="mbf-item">#phocagallerypiclens ' . $cv->catid . '-phocagallerypiclenscode-' . $cv->filename . '</span>'; } } // IMG End } else { if ($cv->type == 1) { // Other than image // A End echo ' >'; // IMG Start if ($extImage && isset($cv->extm) && isset($correctImageRes['width']) && isset($correctImageRes['width'])) { echo JHtml::_('image', $cv->extm, '', array('width' => $correctImageRes['width'], 'height' => $correctImageRes['height'], 'class' => PhocaGalleryRenderFront::renderImageClass($cv->extm))); } else { echo JHtml::_('image', $cv->linkthumbnailpath, '', array('class' => PhocaGalleryRenderFront::renderImageClass($cv->linkthumbnailpath))); } // IMG END } else { // Other than image // A End echo ' >'; // IMG Start if ($extImage && isset($cv->extm) && isset($correctImageRes['width']) && isset($correctImageRes['width'])) { echo JHtml::_('image', $cv->extm, '', array('width' => $correctImageRes['width'], 'height' => $correctImageRes['height'])); } else { echo JHtml::_('image', $cv->linkthumbnailpath, ''); } // IMG END } }