I have a language file called theme.php and in this file there is the line
$LANG['sources_HAVE_AN_ACCOUNT'] = "Have an account?";
Now in the file called votes.php i am using the code:
if($r) //voting done
{
echo "". $LANG['sources_HAVE_AN_ACCOUNT']." <a href='../login' target='_blank' #0087F7; text-decoration: none; font-weight: bold;'>".$LANG['header_LOGIN_title']."</a>";
}
elseif(!$r) //voting failed
{
$effectiveVote = getEffectiveVotes($id);
echo $effectiveVote." ".$LANG['sources_POINTS_title'];
}
to allow users to perform a vote in a specific article.
The problem is that when you click on the vote button the text “Have an account?” doesn’t appears!!
Why is this happens? Where is the problem?