diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-23 10:16:33 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-23 10:16:33 +0000 |
commit | 4a2a33d4aef454cd9083ba0ef12b8de6e8e0f383 (patch) | |
tree | 8ed9fd0fea0bbbf3a74f59e75ccb58afc5125534 /mod/walledgarden/views/default/page_shells/walled_garden_index.php | |
parent | 63db1681c560d859e65647068722301ea3b98cc3 (diff) | |
download | elgg-4a2a33d4aef454cd9083ba0ef12b8de6e8e0f383.tar.gz elgg-4a2a33d4aef454cd9083ba0ef12b8de6e8e0f383.tar.bz2 |
The start of a new walled garden index page
git-svn-id: http://code.elgg.org/elgg/trunk@5856 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/walledgarden/views/default/page_shells/walled_garden_index.php')
-rw-r--r-- | mod/walledgarden/views/default/page_shells/walled_garden_index.php | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/mod/walledgarden/views/default/page_shells/walled_garden_index.php b/mod/walledgarden/views/default/page_shells/walled_garden_index.php new file mode 100644 index 000000000..33e3605a1 --- /dev/null +++ b/mod/walledgarden/views/default/page_shells/walled_garden_index.php @@ -0,0 +1,76 @@ +<?php
+/**
+ * Elgg pageshell
+ * The standard HTML page shell that everything else fits into
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @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()
+ */
+
+// Set the content type
+header("Content-type: text/html; charset=UTF-8");
+
+// Set title
+if (empty($vars['title'])) {
+ $title = $vars['config']->sitename;
+} else if (empty($vars['config']->sitename)) {
+ $title = $vars['title'];
+} else {
+ $title = $vars['config']->sitename . ": " . $vars['title'];
+}
+
+echo elgg_view('page_elements/html_begin', $vars);
+echo elgg_view('messages/list', array('object' => $vars['sysmessages']));
+?>
+ <style type="text/css">
+ /*
+body {background: white;}
+ #walledgardenlogin {
+ position:absolute;
+ bottom:0;
+ left:280px;
+ height:250px;
+ width:272px;
+ }
+ #walledgardenintro {
+ position: absolute;
+ bottom:15px;
+ left:25px;
+ height:215px;
+ width:232px;
+ padding:10px;
+ background-color: white;
+ -webkit-border-radius: 8px;
+ -moz-border-radius: 8px;
+ }
+ #walledgardenlogin #login-box {
+ background: none;
+ }
+ #walledgardenlogin #login-box h2 {
+ display:none;
+ }
+ #walledgardenlogin #login-box form {height:224px;padding:10px 10px 0;}
+
+ .messages, .messages_error {
+ position: relative;
+ margin: auto;
+ }
+*/
+
+ </style>
+<?php
+ echo "<div style='margin:20px auto;position:relative;padding:20px;width:523px;height:355px;background: url({$vars['url']}_graphics/login_back.gif) no-repeat top left;'>";
+ echo "<div id='walledgardenintro'><h1>Welcome to:<br />" . $title . "</h1></div>";
+ echo "<div id='walledgardenlogin' class='whereamIused'>";
+ echo $vars['body'];
+ echo "</div></div>";
+ echo elgg_view('page_elements/html_end', $vars);
+?>
+
|