Welcome Guest, Not a member yet? Register   Sign In
Language problems
#1

[eluser]margsot[/eluser]
Hi i have a file called theme.php and in this file i have this line

Code:
$LANG['sources_HAVE_AN_ACCOUNT'] = "Have an account?";


Now in file called votes.php uses the code

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 perform a vote function for 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?


Messages In This Thread
Language problems - by El Forum - 07-16-2014, 04:41 AM
Language problems - by El Forum - 07-16-2014, 07:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB