Skip to content

Commit

Permalink
Failed message for no tokens imported
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2553 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
David Olivier committed Mar 11, 2007
1 parent 629f95e commit f6ba393
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion admin/tokens.php
Expand Up @@ -1370,7 +1370,12 @@
$xx++;
}
$xx = $xx-1;
$tokenoutput .= "<font color='green'>".$clang->gT("Success")."</font><br /><br />\n";
if ($xz != 0)
{
$tokenoutput .= "<font color='green'>".$clang->gT("Success")."</font><br /><br />\n";
} else {
$tokenoutput .= "<font color='red'>".$clang->gT("Failed")."</font><br /><br />\n";
}
$message = "$xx ".$clang->gT("Records in CSV").".<br />\n";
$message .= "$xv ".$clang->gT("Records met minumum requirements").".<br />\n";
$message .= "$xz ".$clang->gT("Records created").".<br />\n";
Expand Down

0 comments on commit f6ba393

Please sign in to comment.