test_setup.php
changeset 2 9a485c41cfcf
parent 1 58094faf794d
child 3 64525a2eb098
equal deleted inserted replaced
1:58094faf794d 2:9a485c41cfcf
    53 
    53 
    54 echo "<P>";
    54 echo "<P>";
    55 
    55 
    56 if($bad)
    56 if($bad)
    57 {
    57 {
    58 	?><TABLE CLASS="error"><TR><TD CLASS="error"><H2>Not all tables are ok!</H2><?
    58 	?><TABLE CLASS="error"><TR><TD CLASS="error"><H2><? echo _('Not all tables are ok!'); ?></H2><?
    59 }
    59 }
    60 else
    60 else
    61 {
    61 {
    62 	?><TABLE CLASS="messagetable"><TR><TD CLASS="message"><H2>Successful!</H2><?
    62 	?><TABLE CLASS="messagetable"><TR><TD CLASS="message"><H2><? echo _('Successful!'); ?></H2><?
    63 }
    63 }
    64 ?>
    64 ?>
    65 <BR>
    65 <BR>
    66 <FONT STYLE="font-weight: Bold">
    66 <FONT STYLE="font-weight: Bold">
    67 <?
    67 <?
    68 if($bad)
    68 if($bad)
    69 {
    69 {
    70 	?>Sorry, but there are error(s) found in the following table(s):<?
    70 	echo _('Sorry, but there are error(s) found in the following table(s):'); 
    71 	foreach($bad_array as $table)
    71 	foreach($bad_array as $table)
    72 	{
    72 	{
    73 		echo " '$table'";
    73 		echo " '$table'";
    74 		}
    74 		}
    75 		?>.</P><P>Please fix these errors and run the script again.</P><?
    75 		?>.</P><P><? echo _('Please fix these errors and run the script again.'); ?></P><?
    76 	}
    76 	}
    77 	else
    77 	else
    78 	{
    78 	{
    79 		echo "Successful! Everything is set up ok, you can rumble!";
    79 		echo _('Successful! Everything is set up ok, you can rumble!"');
    80 	}
    80 	}
    81 ?>
    81 ?>
    82 <BR></TD></TR></TABLE></P>
    82 <BR></TD></TR></TABLE></P>
    83 <?
    83 <?
    84 	include_once("inc/footer.inc.php");
    84 	include_once("inc/footer.inc.php");