aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/pageshells/pageshell.php
blob: 1562173e1e940ff8ddba46ac08fe9fc490e083ef (plain)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?php
	/**
	 * Elgg fallback pageshell
	 * Render a few things (like the installation process) in a fallback mode, text only with minimal use
	 * of functions.
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Marcus Povey
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.org/
	 * 
	 * @uses $vars['config'] The site configuration settings, imported
	 * @uses $vars['title'] The page title
	 * @uses $vars['body'] The main content of the page
	 * @uses $vars['messages'] A 2d array of various message registers, passed from system_messages()
	 */

	
?>
<html>
	<head>
		<title><?php echo $vars['title']; ?></title>
		
		<style type="text/css">
		
		body {
			text-align:left;
			margin:0;
			padding:0;
			background: #4690d6;
			font: 80%/1.5  "Lucida Grande", Verdana, sans-serif;
			color: #333333;
		}
		a {
			color: #4690d6;
			text-decoration: none;
			-moz-outline-style: none;
			outline: none;
		}
		a:visited {
			color: #0054a7;
		}
		a:hover {
			color: #0054a7;
			text-decoration: underline;
		}
		p {
			margin: 0px 0px 15px 0;
		}
		img {
			border: none;
		}
		#startpage_wrapper {
			background:white;
			width:570px;
			margin:auto;
			padding:10px 40px;
			margin-bottom:40px;
			margin-top:20px;
			border-right: 1px solid #666666;
			border-bottom: 1px solid #666666;
		}
		
		label {
			font-weight: bold;
			color:#333333;
			font-size: 140%;
		}
		input {
			font: 120% Arial, Helvetica, sans-serif;
			padding: 5px;
			border: 1px solid #cccccc;
			color:#666666;
		}
		textarea {
			font: 120% Arial, Helvetica, sans-serif;
			border: solid 1px #cccccc;
			padding: 5px;
			color:#666666;
		}
		textarea:focus, input[type="password"]:focus, input[type="text"]:focus {
			border: solid 1px #4690d6;
			background: #e4ecf5;
			color:#333333;
		}
		
		input[type="submit"]:hover {
			background: #0054a7;
			border: 4px solid #0054a7;
		}
		
		input[type="submit"] {
			font: 16px/100% Arial, Helvetica, sans-serif;
			font-weight: bold;
			color: #ffffff;
			background:#4690d6;
			border: 4px solid #4690d6;
			-webkit-border-radius: 4px; 
			-moz-border-radius: 4px;
			width: auto;
			height: 35px;
			padding: 2px 6px 2px 6px;
			margin:10px 0 10px 0;
			cursor: pointer;
		}
		#startpage_wrapper hr {
			border:0;
			border-bottom:1px solid #333333;
		}
		#startpage_wrapper td {
			text-align: left;
			vertical-align: middle;
		}
		</style>
		
		
		
	</head>
	<body>
	<div id="startpage_wrapper">
		<h1><?php echo $vars['title']; ?></h1>
		
		<!-- display any system messages -->
		<?php echo elgg_view('messages/list', array('object' => $vars['sysmessages'])); ?>
		
		<p>
			<?php echo $vars['body']; ?>
		</p>
	</div>
	</body>
</html>