equal
deleted
inserted
replaced
26 function dbError($msg) |
26 function dbError($msg) |
27 { |
27 { |
28 // General function for printing critical errors. |
28 // General function for printing critical errors. |
29 include_once("header.inc.php"); |
29 include_once("header.inc.php"); |
30 ?> |
30 ?> |
31 <P><TABLE CLASS="error"><TR><TD CLASS="error"><H2>Oops! An error occured!</H2> |
31 <P><TABLE CLASS="error"><TR><TD CLASS="error"><H2><? echo _('Oops! An error occured!'); ?></H2> |
32 <BR> |
32 <BR> |
33 <FONT STYLE="font-weight: Bold"><?= $msg->getDebugInfo(); ?><BR><BR><a href="javascript:history.go(-1)"><< back</a></FONT><BR></TD></TR></TABLE></P> |
33 <FONT STYLE="font-weight: Bold"><?= $msg->getDebugInfo(); ?><BR><BR><a href="javascript:history.go(-1)"><< <? echo _('back'); ?></a></FONT><BR></TD></TR></TABLE></P> |
34 <? |
34 <? |
35 die(); |
35 die(); |
36 } |
36 } |
37 |
37 |
38 // Setup error handling. |
38 // Setup error handling. |