load('com_finder', JPATH_SITE);
$suffix = $params->get('moduleclass_sfx');
$output = '';
$button = '';
$label = '';
if ($params->get('show_label', 1))
{
$label = '';
switch ($params->get('label_pos', 'left')):
case 'top' :
$label = $label . '
';
$output = $label . $output;
break;
case 'bottom' :
$label = '
' . $label;
$output = $output . $label;
break;
case 'right' :
$output = $output . $label;
break;
case 'left' :
default :
$output = $label . $output;
break;
endswitch;
}
if ($params->get('show_button', 1))
{
$button = '';
switch ($params->get('button_pos', 'right')):
case 'top' :
$button = $button . '
';
$output = $button . $output;
break;
case 'bottom' :
$button = '
' . $button;
$output = $output . $button;
break;
case 'right' :
$output = $output . $button;
break;
case 'left' :
default :
$output = $button . $output;
break;
endswitch;
}
JHtml::stylesheet('com_finder/finder.css', false, true, false);
?>