forked from szerko/Respond2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathundefined.php
53 lines (36 loc) · 1.53 KB
/
undefined.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
<?php
include 'app.php';
// set language to preferred language (HTTP_ACCEPT_LANGUAGE)
$supported = Utilities::GetSupportedLanguages('');
$language = Utilities::GetPreferredLanguage($supported);
Utilities::SetLanguage($language);
?>
<!DOCTYPE html>
<html lang="<?php print str_replace('_', '-', $language) ?>">
<head>
<title><?php print _("Login"); ?>—<?php print BRAND; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- include styles -->
<?php include 'modules/css.php'; ?>
<link type="text/css" href="css/login.css?v=<?php print VERSION; ?>" rel="stylesheet">
</head>
<body>
<!-- messages -->
<input id="msg-progress" value="<?php print _("Login..."); ?>" type="hidden">
<input id="msg-error" value="<?php print _("Access Denied"); ?>" type="hidden">
<!-- begin content -->
<div class="content">
<h1><span class="brand"><?php print BRAND; ?></span></h1>
<p>
<?php print _("You have reached this page because of an error in your configuration. Please review your configuration. To review installation instructions, visit:"); ?>
<a href="http://respondcms.com/documentation/installation">http://respondcms.com/documentation/installation</a>
</p>
<small><?php print COPY; ?></small>
</div>
<!-- /.content -->
</body>
<!-- include js -->
<?php include 'modules/js.php'; ?>
<script type="text/javascript" src="js/viewModels/indexModel.js?v=<?php print VERSION; ?>"></script>
</html>