'com_phocagallery')); $layoutC = new FileLayout('comments', null, array('component' => 'com_phocagallery')); // SVG Definitions $d = array(); echo $layoutSVG->render($d); if ($this->t['ytb_display'] == 1) { /*$document = Factory::getDocument(); /$document->addCustomTag( " \n");*/ echo '
| '
	.' '
	.$closeImage;
*/
//echo '';
}
/*echo ' '.$closeImage.'';
echo ' '.$this->item->videocode.'';
$titleDesc = '';
if ($this->t['display_title_description'] == 1) {
	$titleDesc .= $this->item->title;
	if ($this->item->description != '' && $titleDesc != '') {
		$titleDesc .= ' - ';
	}
}
// Lightbox Description
if ($this->t['displaydescriptiondetail'] == 2 && (!empty($this->item->description) || !empty($titleDesc))){
	echo ' ' .(HTMLHelper::_('content.prepare', $titleDesc . $this->item->description, 'com_phocagallery.item')).'';
}
/*
if ($this->t['detailbuttons'] == 1){
	echo '';
}
*/
if ((isset($this->itemnext[0]) && $this->itemnext[0])  || (isset($this->itemprev[0]) && $this->itemprev[0])) {
	$suffix = '';
	if ($this->t['tmpl'] == 'component') {
		$suffix = 'tmpl=component';
	}
	echo ' ';
	if(isset($this->itemprev[0]) && $this->itemprev[0]) {
		$p = $this->itemprev[0];
		$linkPrev = Route::_(PhocaGalleryRoute::getImageRoute($p->id, $p->catid, $p->alias, $p->categoryalias, 'detail', $suffix));
		echo '';
	}
	if(isset($this->itemnext[0]) && $this->itemnext[0]) {
		$n = $this->itemnext[0];
		$linkNext = Route::_(PhocaGalleryRoute::getImageRoute($n->id, $n->catid, $n->alias, $n->categoryalias, 'detail', $suffix));
		echo '';
	}
	echo '';
	echo '';
}
echo $this->loadTemplate('rating');
// Tags
if ($this->t['displaying_tags_output'] != '') {
	echo ' '.$this->t['displaying_tags_output'].'';
}
if ($this->t['display_comment_img'] == 1 || $this->t['display_comment_img'] == 3 || ($this->t['display_comment_img'] == 2 && $this->t['tmpl'] == 'component')) {
	$d          = array();
	$d['t']     = $this->t;
	$d['form']['task']          = 'comment';
	$d['form']['view']          = 'detail';
	$d['form']['controller']    = 'detail';
	$d['form']['tab']           = '';
	$d['form']['id']            = $this->item->id;
	$d['form']['catid']         = $this->item->catid;
	$d['form']['itemid']        = $this->itemId;
	echo $layoutC->render($d);
	/*if ($this->t['externalcommentsystem'] == 1) {
		if (ComponentHelper::isEnabled('com_jcomments', true)) {
			include_once(JPATH_BASE.'/components/com_jcomments/jcomments.php');
			echo JComments::showComments($this->item->id, 'com_phocagallery_images', Text::_('COM_PHOCAGALLERY_IMAGE') .' '. $this->item->title);
		}
	} else if ($this->t['externalcommentsystem'] == 2) {
		echo $this->loadTemplate('comments-fb');
	}*/
    echo PhocaGalleryUtils::getExtInfo();
}
echo ' ';
	if ($this->t['backbutton'] != '') {
		echo $this->t['backbutton'];
	}
	echo '';
}
*/
?> 
 | |||||||||||||||||||||