1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<?php /** * error.php * * Displays an error message * * @package TeamCalPro * @version 3.3.001 * @author George Lewe * @copyright Copyright (c) 2004-2010 by George Lewe * @link http://www.lewe.com * @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License */
/** * Set parent flag to control access to child scripts */ define( '_VALID_TCPRO', 1 );
/** * Includes */ require ("config.tcpro.php"); require_once ("includes/functions.tcpro.php"); getOptions(); if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php"); else require ("includes/lang/english.tcpro.php");
if ($err_html_header) { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Lewe TeamCal Pro</title> <meta http-equiv="Content-type" content="text/html;charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <link type="text/css" rel="stylesheet" href="themes/tcpro/css/default.css"> </head> <?php } ?> <body> <table class="dlg"> <tr> <td class="err-header"><?=$LANG['err_title']?></td> </tr> <tr> <td class="dlg-body"> <p class="erraction"><?=$err_short?></p> <p><?=$err_long?></p> <br> <hr size="1"> <p><span class="module">Module: <?=$err_module?></span></p> </td> </tr> <tr> <td class="dlg-menu"> <input name="btn_close" type="button" class="button" onclick="javascript:window.close();" value="<?=$LANG['btn_close']?>" onmouseover="this.className='button-over';" onmouseout="this.className='button';"> </td> </tr> </table>
<?php if ($err_html_header) { ?>
</body> </html> <?php } ?>
|