1 |
<?php |
---|
2 |
define("LOAD_MAPSESSION", 0); |
---|
3 |
|
---|
4 |
$szLanguageResource = str_replace("\\","/",dirname(__FILE__))."/ErrorReportPopup.dbf"; |
---|
5 |
|
---|
6 |
|
---|
7 |
include("../session.inc.php"); |
---|
8 |
include_once("../CWC2ButtonCache.php"); |
---|
9 |
?> |
---|
10 |
<html> |
---|
11 |
<head> |
---|
12 |
<title><?php echo trim($oMLT->get("0", "Error Report")); ?></title> |
---|
13 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
14 |
<link href="<?php echo $szCSSFile; ?>" rel="stylesheet" type="text/css"> |
---|
15 |
</head> |
---|
16 |
<script language="JavaScript" src="<?php echo $_SESSION['gszCoreWebPath']; ?>/widgets/js/cwc_dhtml.js" type="text/javascript"></script> |
---|
17 |
<script language="JavaScript" src="<?php echo $_SESSION['gszCoreWebPath']; ?>/widgets/js/cwc_button.js" type="text/javascript"></script> |
---|
18 |
<script language="JavaScript" type="text/javascript"> |
---|
19 |
|
---|
20 |
function CloseWindow() |
---|
21 |
{ |
---|
22 |
window.close(); |
---|
23 |
} |
---|
24 |
|
---|
25 |
<?php |
---|
26 |
if ($_SESSION['gErrorManager']->nErrorCount == 0) |
---|
27 |
if (!isset($http_form_vars['bOpenedManualy']) || $http_form_vars['bOpenedManualy'] == 0) |
---|
28 |
echo "CloseWindow();\n"; |
---|
29 |
?> |
---|
30 |
</script> |
---|
31 |
<body class="page" onLoad="focus()"> |
---|
32 |
<form name="main"> |
---|
33 |
|
---|
34 |
<table border="0" cellpadding="1" cellspacing="10"> |
---|
35 |
<tr> |
---|
36 |
<td class="layoutTable"> |
---|
37 |
<table class="titleArea" width="100%" border="0" cellpadding="4" cellspacing="0"> |
---|
38 |
<tr> |
---|
39 |
<td><img src="title_error.gif" width="22" height="22" align="texttop"> <span class="title"><?php echo trim($oMLT->get("1", "Warning(s)")); ?></b></span></td> |
---|
40 |
</tr> |
---|
41 |
</table> |
---|
42 |
<table class="contentArea" border="0" cellspacing="0" cellpadding="4" width="100%"> |
---|
43 |
<tr> |
---|
44 |
<td> |
---|
45 |
<table class="subLayoutTable" border="0" cellspacing="1" cellpadding="4" width="100%"> |
---|
46 |
<tr> |
---|
47 |
<td class="subContentArea1"> |
---|
48 |
<ul class="list"> |
---|
49 |
<?php |
---|
50 |
$j = $_SESSION['gErrorManager']->nErrorCount; |
---|
51 |
|
---|
52 |
if ($j == 0) |
---|
53 |
echo "<li class='listItem'>".trim($oMLT->get("2", "No error(s)"))."</li>\n"; |
---|
54 |
|
---|
55 |
for ($i=0; $i<$j; $i++) |
---|
56 |
{ |
---|
57 |
$oError = $_SESSION['gErrorManager']->popLastError(); |
---|
58 |
echo "<li class='listItem'>".$oError->szMessage."</li>\n"; |
---|
59 |
} |
---|
60 |
?> |
---|
61 |
</ul> |
---|
62 |
</td> |
---|
63 |
</tr> |
---|
64 |
</table> |
---|
65 |
</td> |
---|
66 |
</tr> |
---|
67 |
</table> |
---|
68 |
</td> |
---|
69 |
</tr> |
---|
70 |
<tr> |
---|
71 |
<td align="right"><?php echo makeButton( 'CloseWindow', '', 'ErrorReport', "images/icon_close.png", trim($oCommonMLT->get("Close", "Close")), trim($oCommonMLT->get("CloseTip", "Close Dialog")) , array( 'width' => 75 ) ); ?></td> |
---|
72 |
</tr> |
---|
73 |
</table> |
---|
74 |
|
---|
75 |
</form> |
---|
76 |
</body> |
---|
77 |
</html> |
---|