function getPhocaInfoCode($display_phoca_info)
{
$version = PhocaGalleryHelper::getPhocaVersion();
$output = '';
if ($display_phoca_info != 0) {
$output .= '';
}
if ($display_phoca_info == 1) {
$output .= '<a href="http://www.phoca.cz/" style="text-decoration:none" target="_blank" title="Phoca Gallery">'. JHTML::_('image', 'components/com_phocagallery/assets/images/icon-phoca-logo.png', 'Phoca Gallery'). '</a>';
$output .= ' <a href="http://www.phoca.cz/" style="text-decoration:none" target="_blank" title="Phoca Gallery">'. $version .'</a>';
}
if ($display_phoca_info == 2 || $display_phoca_info == 3) {
$output .= '<a href="http://www.phoca.cz/" style="text-decoration:none" target="_blank" title="Phoca Gallery">'. JHTML::_('image', 'components/com_phocagallery/assets/images/icon-phoca-logo.png', 'Phoca Gallery'). '</a>';
}
if ($display_phoca_info == 4) {
$output .= ' <a href="http://www.phoca.cz/" style="text-decoration:none" target="_blank" title="Phoca Gallery">Phoca Gallery</a>';
}
if ($display_phoca_info == 5) {
$output .= ' <a href="http://www.phoca.cz/" style="text-decoration:none" target="_blank" title="Phoca Gallery">Phoca Gallery '.$version.'</a>';
}
if ($display_phoca_info == 6) {
$output .= ' <a href="http://www.phoca.cz/" style="text-decoration:none" target="_blank" title="Phoca Gallery">'. JHTML::_('image', 'components/com_phocagallery/assets/images/icon-phoca-logo-seal.png', 'Phoca Gallery'). '</a>';
}
if ($display_phoca_info != 0) {
$output .= '</div>';
} else {
$output .= '<!-- <a href="http://www.phoca.cz/">site: www.phoca.cz | version: '.$version.'</a> -->';// info for developers, need not to ask for the Phoca Gallery version....
}
return $output;
}