Elgg  Version 6.1
default.php
Go to the documentation of this file.
1 <?php
11 // we won't trust server configuration but specify utf-8
12 elgg_set_http_header('Content-type: text/html; charset=utf-8');
13 
14 ?>
15 <!DOCTYPE html>
16 <html>
17  <head>
18  <title><?php echo elgg_extract('title', $vars); ?></title>
19  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
20 
21  <style>
22  body {
23  text-align:left;
24  margin:0;
25  padding:0;
26  background: #4690d6;
27  font: 80%/1.5 "Lucida Grande", Verdana, sans-serif;
28  color: #333333;
29  }
30  p {
31  margin: 0 0 15px 0;
32  }
33  #elgg-wrapper {
34  background:white;
35  width:570px;
36  margin:auto;
37  padding:10px 40px;
38  margin-bottom:40px;
39  margin-top:20px;
40  border-right: 1px solid #666666;
41  border-bottom: 1px solid #666666;
42  }
43  .elgg-messages-exception {
44  background:#FDFFC3;
45  display:block;
46  padding:10px;
47  }
48  </style>
49 
50  </head>
51  <body>
52  <div id="elgg-wrapper">
53  <h1><?php echo elgg_extract('title', $vars); ?></h1>
54  <?php echo elgg_extract('body', $vars); ?>
55  </div>
56  </body>
57 </html>
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:256
elgg_set_http_header(string $header, bool $replace=true)
Set a response HTTP header.
Definition: elgglib.php:26
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition: default.php:25
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