Elgg  Version 3.0
default.php
Go to the documentation of this file.
1 <?php
14 // we won't trust server configuration but specify utf-8
15 elgg_set_http_header('Content-type: text/html; charset=utf-8');
16 
17 ?>
18 <!DOCTYPE html>
19 <html>
20  <head>
21  <title><?php echo elgg_extract('title', $vars); ?></title>
22  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
23 
24  <style type="text/css">
25 
26  body {
27  text-align:left;
28  margin:0;
29  padding:0;
30  background: #4690d6;
31  font: 80%/1.5 "Lucida Grande", Verdana, sans-serif;
32  color: #333333;
33  }
34  p {
35  margin: 0px 0px 15px 0;
36  }
37  #elgg-wrapper {
38  background:white;
39  width:570px;
40  margin:auto;
41  padding:10px 40px;
42  margin-bottom:40px;
43  margin-top:20px;
44  border-right: 1px solid #666666;
45  border-bottom: 1px solid #666666;
46  }
47  .elgg-messages-exception {
48  background:#FDFFC3;
49  display:block;
50  padding:10px;
51  }
52  </style>
53 
54  </head>
55  <body>
56  <div id="elgg-wrapper">
57  <h1><?php echo elgg_extract('title', $vars); ?></h1>
58  <?php echo elgg_extract('body', $vars); ?>
59  </div>
60  </body>
61 </html>
elgg_set_http_header($header, $replace=true)
Set a response HTTP header.
Definition: elgglib.php:57
elgg echo
Translates a string.
Definition: languages.js:43
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition: default.php:27
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1131
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special exception
Definition: LICENSE.txt:210