:+1:

On Thursday, February 27, 2014, Roberto Segura <notifications@github.com>
wrote:

> In layouts/joomla/plugins/content/vote.php:
>
> > +
> > +// Look for images in template if available
> > +$starImageOn = JHtml::_('image', 'system/rating_star.png', JText::_('PLG_VOTE_STAR_ACTIVE'), null, true);
> > +$starImageOff = JHtml::_('image', 'system/rating_star_blank.png', JText::_('PLG_VOTE_STAR_INACTIVE'), null, true);
> > +
> > +for ($i = 0; $i < $rating; $i++)
> > +{
> > +	$img .= $starImageOn;
> > +}
> > +
> > +for ($i = $rating; $i < 5; $i++)
> > +{
> > +	$img .= $starImageOff;
> > +}
> > +
> > +if ($view == 'article' && $row->state == 1)
>
> Yes. I think I'll add a showVoteForm option
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/joomla/joomla-cms/pull/3201/files#r10145876>
> .
>