forked from web-cyradm/web-cyradm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtimeout.php
66 lines (57 loc) · 1.66 KB
/
timeout.php
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
66
<?php
if (!defined('WC_BASE')) define('WC_BASE', dirname(__FILE__));
$ref=WC_BASE."/index.php";
if ($ref!=$_SERVER['SCRIPT_FILENAME']){
header("Location: index.php");
exit();
}
setlocale(LC_MESSAGES, $LANG);
setlocale(LC_ALL, $LANG);
putenv("LANG=" . $LANG);
putenv("LANGUAGE=" . $LANG);
// Specify location of translation tables
bindtextdomain("web-cyradm", "./locale");
// Choose domain
textdomain("web-cyradm");
?>
<table width="100%" border="0" style="height: 80%;">
<tr>
<td align="center" valign="middle">
<table width="450" border="0" cellpadding="1" cellspacing="1" style="height: 150px;">
<tr>
<td bgcolor="#000000">
<table border="0" bgcolor="#FFFFFF" cellpadding="0"
cellspacing="0" width="450"
style="height: 150px;">
<tr>
<td colspan="5" bgcolor="#000666"
style="font-family: Verdana, Arial, Helvetica, sans-serif; color: #fff; font-size: large; font-weight: bold;">
Web-cyradm
</td>
</tr>
<tr>
<td colspan="5"> </td>
</tr>
<tr>
<td> </td>
<td colspan="4"
style="font-family: Verdana, Arial, Helvetica, sans-serif; color: #000; font-size: large;">
<p align="center">
<?php print _("Your session timed out");?>
</p>
<p align="center">
<?php
print _("If you like to login click");?>
<a class="navi" href="index.php"
><?php print _("here");?></a>
</p>
<br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>