aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-05-25 22:05:21 +0200
committerSem <sembrestels@riseup.net>2012-05-25 22:05:21 +0200
commit8ca38a323ad022f06a91d14d8fdc183e50392414 (patch)
tree05d185050dc41f2241b6e1c4e28c7926b87c62c2 /views/default
parent08f0e922a806a27ef4e3ca96b59ef4bbfb08fde5 (diff)
parent60df8b304bd70b5ddc79927abec1b1dc2eb706ee (diff)
downloadelgg-8ca38a323ad022f06a91d14d8fdc183e50392414.tar.gz
elgg-8ca38a323ad022f06a91d14d8fdc183e50392414.tar.bz2
Forking Lorea/purity_theme
Conflicts: graphics/elgg_sprites.png manifest.xml start.php views/default/css/elements/buttons.php views/default/css/elements/forms.php views/default/css/elements/helpers.php views/default/css/elements/layout.php views/default/css/elements/typography.php
Diffstat (limited to 'views/default')
-rw-r--r--views/default/css/elements/buttons.php84
-rw-r--r--views/default/css/elements/forms.php112
-rw-r--r--views/default/css/elements/helpers.php18
-rw-r--r--views/default/css/elements/layout.php127
-rw-r--r--views/default/css/elements/typography.php34
-rw-r--r--views/default/custom_index/css.php17
-rw-r--r--views/default/page/default.php58
-rw-r--r--views/default/page/elements/footer.php12
-rw-r--r--views/default/page/elements/header.php22
-rw-r--r--views/default/page/elements/header_logo.php21
-rw-r--r--views/default/page/elements/messages.php27
-rw-r--r--views/default/page/elements/topbar.php25
-rw-r--r--views/default/page/layouts/custom_index.php48
-rw-r--r--views/default/plugins/purity_theme/settings.php24
-rw-r--r--views/default/purity_theme/css.php178
-rw-r--r--views/default/purity_theme/leftside.php5
-rw-r--r--views/default/purity_theme/rightside.php5
17 files changed, 597 insertions, 220 deletions
diff --git a/views/default/css/elements/buttons.php b/views/default/css/elements/buttons.php
index e9c99cf96..f584fa90f 100644
--- a/views/default/css/elements/buttons.php
+++ b/views/default/css/elements/buttons.php
@@ -14,38 +14,34 @@
.elgg-button {
font-size: 14px;
font-weight: bold;
-
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
-
width: auto;
- padding: 2px 4px;
+ padding: 1px 4px;
cursor: pointer;
outline: none;
+ background:#333333;
+ color:#ffffff;
- -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
- -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
- box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
}
a.elgg-button {
padding: 3px 6px;
}
+a.elgg-button:hover {
+color:#ffffff;
+}
/* Submit: This button should convey, "you're about to take some definitive action" */
.elgg-button-submit {
color: white;
- text-shadow: 1px 1px 0px black;
text-decoration: none;
- border: 1px solid #4690d6;
- background: #4690d6 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
+
+
}
.elgg-button-submit:hover {
- border-color: #0054a7;
+ border-color: #333333;
text-decoration: none;
color: white;
- background: #0054a7 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
+ background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
}
.elgg-button-submit.elgg-state-disabled {
@@ -69,31 +65,23 @@ a.elgg-button {
/* Action: This button should convey a normal, inconsequential action, such as clicking a link */
.elgg-button-action {
- background: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 0;
- border:1px solid #999;
- color: #333;
- padding: 2px 15px;
+ color: #fff;
text-align: center;
font-weight: bold;
text-decoration: none;
- text-shadow: 0 1px 0 white;
cursor: pointer;
-
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
-
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
+ height:27px;
+ line-height:27px;
+ border:3px solid #ffffff;
+ -moz-border-radius:10px;
+ -webkit-border-radius:10px;
+ border-radius:10px;
}
.elgg-button-action:hover,
.elgg-button-action:focus {
- background: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 -15px;
- color: #111;
text-decoration: none;
- border: 1px solid #999;
+ box-shadow:0px 0px 4px #333333;
}
/* Delete: This button should convey "be careful before you click me" */
@@ -102,7 +90,6 @@ a.elgg-button {
text-decoration: none;
border: 1px solid #333;
background: #555 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
- text-shadow: 1px 1px 0px black;
}
.elgg-button-delete:hover {
color: #999;
@@ -112,26 +99,21 @@ a.elgg-button {
}
.elgg-button-dropdown {
- padding:3px 6px;
text-decoration:none;
+ text-align:center;
display:block;
font-weight:bold;
position:relative;
- margin-left:0;
- color: white;
- border:1px solid #71B9F7;
-
- -webkit-border-radius:4px;
- -moz-border-radius:4px;
- border-radius:4px;
-
- -webkit-box-shadow: 0 0 0;
- -moz-box-shadow: 0 0 0;
- box-shadow: 0 0 0;
-
- /*background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png);
- background-position:-150px -51px;
- background-repeat:no-repeat;*/
+ right:30px;
+ top:30px;
+ color: #333333;
+ border:2px solid #dddddd;
+ width:70px;
+ height:30px;
+ line-height:30px;
+ -moz-border-radius:10px;
+ -webkit-border-radius:10px;
+ border-radius:10px;
}
.elgg-button-dropdown:after {
@@ -140,17 +122,11 @@ a.elgg-button {
}
.elgg-button-dropdown:hover {
- background-color:#71B9F7;
text-decoration:none;
+ box-shadow:0px 0px 4px #333333;
}
.elgg-button-dropdown.elgg-state-active {
- background: #ccc;
outline: none;
color: #333;
- border:1px solid #ccc;
-
- -webkit-border-radius:4px 4px 0 0;
- -moz-border-radius:4px 4px 0 0;
- border-radius:4px 4px 0 0;
}
diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php
index 81db81747..c6aa55841 100644
--- a/views/default/css/elements/forms.php
+++ b/views/default/css/elements/forms.php
@@ -33,16 +33,13 @@ input, textarea {
font: 120% Arial, Helvetica, sans-serif;
padding: 5px;
width: 100%;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
-input[type=text]:focus, textarea:focus {
- border: solid 1px #4690d6;
+input:focus, textarea:focus {
+
background: #e4ecf5;
color:#333;
}
@@ -72,13 +69,14 @@ input[type="radio"] {
width:auto;
}
.elgg-input-checkboxes.elgg-horizontal li,
-.elgg-input-radios.elgg-horizontal li {
+.elgg-input-radio.elgg-horizontal li {
display: inline;
padding-right: 10px;
}
-.elgg-form-login, .elgg-form-account {
- max-width: 450px;
+.elgg-form-account input[type="text"],
+.elgg-form-account input[type="password"] {
+ width: 300px;
}
/* ***************************************
@@ -114,18 +112,9 @@ input[type="radio"] {
width: 730px;
height: auto;
background-color: #dedede;
-
- -webkit-border-radius: 8px;
- -moz-border-radius: 8px;
- border-radius: 8px;
}
.friendspicker-savebuttons {
background: white;
-
- -webkit-border-radius: 8px;
- -moz-border-radius: 8px;
- border-radius: 8px;
-
margin:0 10px 10px;
}
.friends-picker .friends-picker-container { /* long container used to house end-to-end panels. Width is calculated in JS */
@@ -171,10 +160,6 @@ input[type="radio"] {
display: block;
padding: 0;
width:20px;
-
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
}
.tabHasContent {
background: white;
@@ -185,7 +170,6 @@ input[type="radio"] {
color:white !important;
}
.friends-picker-navigation li a.current {
- background: #4690D6;
color:white !important;
}
.friends-picker-navigation-l, .friends-picker-navigation-r {
@@ -224,92 +208,37 @@ input[type="radio"] {
}
.friendspicker-members-table {
background: #dedede;
-
- -webkit-border-radius: 8px;
- -moz-border-radius: 8px;
- border-radius: 8px;
-
margin:10px 0 0;
padding:10px 10px 0;
}
/* ***************************************
- AUTOCOMPLETE
-*************************************** */
-<?php //autocomplete will expand to fullscreen without max-width ?>
-.ui-autocomplete {
- position: absolute;
- cursor: default;
-}
-.elgg-autocomplete-item .elgg-body {
- max-width: 600px;
-}
-.ui-autocomplete {
- background-color: white;
- border: 1px solid #ccc;
- overflow: hidden;
-
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
-}
-.ui-autocomplete .ui-menu-item {
- padding: 0px 4px;
-
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
-}
-.ui-autocomplete .ui-menu-item:hover {
- background-color: #eee;
-}
-.ui-autocomplete a:hover {
- text-decoration: none;
- color: #4690D6;
-}
-
-/* ***************************************
USER PICKER
*************************************** */
-.elgg-user-picker-list li:first-child {
- border-top: 1px dotted #ccc;
- margin-top: 5px;
+
+.user-picker .user-picker-entry {
+ clear:both;
+ height:25px;
+ padding:5px;
+ margin-top:5px;
+ border-bottom:1px solid #cccccc;
}
-.elgg-user-picker-list > li {
- border-bottom: 1px dotted #ccc;
+.user-picker-entry .elgg-button-delete {
+ margin-right:10px;
}
-
/* ***************************************
DATE PICKER
**************************************** */
.ui-datepicker {
- display: none;
-
margin-top: 3px;
- width: 208px;
background-color: white;
- border: 1px solid #0054A7;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
+ border: 1px solid #333333;
overflow: hidden;
-
- -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
- -moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
- box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
-}
-.ui-datepicker-inline {
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
}
.ui-datepicker-header {
- position: relative;
- background: #4690D6;
color: white;
padding: 2px 0;
- border-bottom: 1px solid #0054A7;
}
.ui-datepicker-header a {
color: white;
@@ -335,7 +264,7 @@ input[type="radio"] {
margin: 4px;
}
.ui-datepicker th {
- color: #0054A7;
+ color: #333333;
border: none;
font-weight: bold;
padding: 5px 6px;
@@ -353,18 +282,17 @@ input[type="radio"] {
}
.ui-datepicker-calendar .ui-state-default {
border: 1px solid #ccc;
- color: #4690D6;;
background: #fafafa;
}
.ui-datepicker-calendar .ui-state-hover {
border: 1px solid #aaa;
- color: #0054A7;
+ color: #333333;
background: #eee;
}
.ui-datepicker-calendar .ui-state-active,
.ui-datepicker-calendar .ui-state-active.ui-state-hover {
font-weight: bold;
- border: 1px solid #0054A7;
- color: #0054A7;
+ border: 1px solid #333333;
+ color: #333333;
background: #E4ECF5;
}
diff --git a/views/default/css/elements/helpers.php b/views/default/css/elements/helpers.php
index e9a9e0a30..9d0cd7ba9 100644
--- a/views/default/css/elements/helpers.php
+++ b/views/default/css/elements/helpers.php
@@ -12,7 +12,6 @@
.clearfloat {
clear: both;
}
-
.hidden {
display: none;
}
@@ -33,10 +32,27 @@
float: right;
}
+.right {
+ float: right;
+}
+
+.left {
+ float: left;
+}
+
.link {
cursor: pointer;
}
+<?php @todo // do we need something like large and small? ?>
+.large {
+ font-size: 120%;
+}
+
+.small {
+ font-size: 80%;
+}
+
.elgg-discover .elgg-discoverable {
display: none;
}
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php
index 25a2bffb7..06c23f147 100644
--- a/views/default/css/elements/layout.php
+++ b/views/default/css/elements/layout.php
@@ -12,110 +12,131 @@
?>
/* ***************************************
- PAGE LAYOUT
+PAGE LAYOUT
*************************************** */
/***** DEFAULT LAYOUT ******/
<?php // the width is on the page rather than topbar to handle small viewports ?>
+body {
+text-shadow:1px 1px 0px #ffffff;
+}
.elgg-page-default {
- min-width: 998px;
+min-width: 998px;
}
.elgg-page-default .elgg-page-header > .elgg-inner {
- width: 990px;
- margin: 0 auto;
- height: 90px;
+width: 1016px;
+margin:20px auto 0px auto;
+background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/purity_01.png) top center no-repeat;
+}
+.elgg-page-default .elgg-page-header {
+
}
.elgg-page-default .elgg-page-body > .elgg-inner {
- width: 990px;
- margin: 0 auto;
+width: 990px;
+margin: 0px auto;
+background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/purity_02.png) top center repeat-y;
+padding:0px 13px;
+}
+.elgg-body {
+background:none;
}
.elgg-page-default .elgg-page-footer > .elgg-inner {
- width: 990px;
- margin: 0 auto;
- padding: 5px 0;
- border-top: 1px solid #DEDEDE;
+width: 970px;
+margin: 0 auto;
+padding: 5px 0;
+}
+.elgg-page-default .elgg-page-footer {
+background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/purity_03.png) bottom center no-repeat;
+width:1016px;
+padding:10px;
+margin:0px auto;
+height:50px;
}
/***** TOPBAR ******/
.elgg-page-topbar {
- background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/toptoolbar_background.gif) repeat-x top left;
- border-bottom: 1px solid #000000;
- position: relative;
- height: 24px;
- z-index: 9000;
+background: #2D2D2D ;
+position: relative;
+height: 24px;
+z-index: 9000;
+width:940px;
+margin-left:auto;
+margin-right:auto;
}
.elgg-page-topbar > .elgg-inner {
- padding: 0 10px;
+padding: 0 10px;
}
/***** PAGE MESSAGES ******/
.elgg-system-messages {
- position: fixed;
- top: 24px;
- right: 20px;
- max-width: 500px;
- z-index: 2000;
+position: absolute;
+top: 24px;
+right: 20px;
+max-width: 500px;
+z-index: 2000;
}
.elgg-system-messages li {
- margin-top: 10px;
+margin-top: 10px;
}
.elgg-system-messages li p {
- margin: 0;
+margin: 0;
}
/***** PAGE HEADER ******/
.elgg-page-header {
- position: relative;
- background: #4690D6 url(<?php echo elgg_get_site_url(); ?>_graphics/header_shadow.png) repeat-x bottom left;
+position: relative;
}
.elgg-page-header > .elgg-inner {
- position: relative;
+position: relative;
}
/***** PAGE BODY LAYOUT ******/
.elgg-layout {
- min-height: 360px;
+min-height: 360px;
}
.elgg-layout-one-sidebar {
- background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif) repeat-y right top;
+background: transparent url(<?php echo elgg_get_site_url(); ?>mod/purity_theme/graphics/sidebar_background.gif) repeat-y right top;
}
.elgg-layout-two-sidebar {
- background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif) repeat-y right top;
-}
-.elgg-layout-error {
- margin-top: 20px;
+background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif) repeat-y right top;
}
.elgg-sidebar {
- position: relative;
- padding: 20px 10px;
- float: right;
- width: 210px;
- margin: 0 0 0 10px;
-}
+position: relative;
+padding: 20px 10px;
+float: right;
+width: 210px;
+margin: 0 0 0 10px;
+-webkit-border-top-left-radius: 15px;
+-webkit-border-top-right-radius: 15px;
+-moz-border-radius-topleft: 15px;
+-moz-border-radius-topright: 15px;
+border-top-left-radius: 15px;
+border-top-right-radius: 15px;}
.elgg-sidebar-alt {
- position: relative;
- padding: 20px 10px;
- float: left;
- width: 160px;
- margin: 0 10px 0 0;
+position: relative;
+padding: 20px 10px;
+float: left;
+width: 160px;
+margin: 0 10px 0 0;
}
.elgg-main {
- position: relative;
- min-height: 360px;
- padding: 10px;
+position: relative;
+min-height: 360px;
+padding: 10px;
}
.elgg-main > .elgg-head {
- padding-bottom: 3px;
- border-bottom: 1px solid #CCCCCC;
- margin-bottom: 10px;
+padding-bottom: 3px;
+border-bottom: 1px solid #CCCCCC;
+margin-bottom: 10px;
}
/***** PAGE FOOTER ******/
.elgg-page-footer {
- position: relative;
+position: relative;
+padding-top:20px;
}
.elgg-page-footer {
- color: #999;
+color: #999;
}
.elgg-page-footer a:hover {
- color: #666;
+color: #666;
} \ No newline at end of file
diff --git a/views/default/css/elements/typography.php b/views/default/css/elements/typography.php
index d93b28d2c..5c59f1639 100644
--- a/views/default/css/elements/typography.php
+++ b/views/default/css/elements/typography.php
@@ -13,11 +13,11 @@
body {
font-size: 80%;
line-height: 1.4em;
- font-family: "Lucida Grande", Arial, Tahoma, Verdana, sans-serif;
-}
+font-family: "Lucida Grande", Arial, Tahoma, Verdana, sans-serif;
+ }
a {
- color: #4690D6;
+ color:#333333;
}
a:hover,
@@ -35,8 +35,7 @@ p:last-child {
}
pre, code {
- font-family: Monaco, "Courier New", Courier, monospace;
- font-size: 12px;
+ font-size: 11px;
background:#EBF5FF;
color:#000000;
@@ -56,11 +55,10 @@ pre {
}
code {
- padding:2px 3px;
+ padding:1px 3px;
}
.elgg-monospace {
- font-family: Monaco, "Courier New", Courier, monospace;
}
blockquote {
@@ -70,14 +68,11 @@ blockquote {
background:#EBF5FF;
border:none;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
- color: #0054A7;
+ color: #333333;
}
h1 { font-size: 1.8em; }
@@ -88,13 +83,12 @@ h5 { font-size: 0.9em; }
h6 { font-size: 0.8em; }
.elgg-heading-site, .elgg-heading-site:hover {
- font-size: 2em;
- line-height: 1.4em;
- color: white;
- font-style: italic;
- font-family: Georgia, times, serif;
- text-shadow: 1px 2px 4px #333333;
+ font-size: 2.2em;
+ line-height: 1.2em;
text-decoration: none;
+ margin-top:40px;
+ margin-left:40px;
+ float:left;
}
.elgg-heading-main {
@@ -103,7 +97,7 @@ h6 { font-size: 0.8em; }
margin-right: 10px;
}
.elgg-heading-basic {
- color: #0054A7;
+ color: #333333;
font-size: 1.2em;
font-weight: bold;
}
@@ -126,7 +120,7 @@ h6 { font-size: 0.8em; }
}
.elgg-loud {
- color: #0054A7;
+ color: #333333;
}
/* ***************************************
@@ -139,7 +133,7 @@ h6 { font-size: 0.8em; }
.elgg-output dt { font-weight: bold }
.elgg-output dd { margin: 0 0 1em 1em }
-.elgg-output ul, .elgg-output ol {
+.elgg-output ul, ol {
margin: 0 1.5em 1.5em 0;
padding-left: 1.5em;
}
diff --git a/views/default/custom_index/css.php b/views/default/custom_index/css.php
new file mode 100644
index 000000000..66cdf3e53
--- /dev/null
+++ b/views/default/custom_index/css.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Custom Index CSS
+ *
+ */
+?>
+
+/*******************************
+ Custom Index
+********************************/
+.custom-index {
+ padding: 10px 0;
+}
+.custom-index .elgg-module-featured {
+}
+.custom-index .elgg-module-featured:hover {
+}
diff --git a/views/default/page/default.php b/views/default/page/default.php
new file mode 100644
index 000000000..c6bb6f1b0
--- /dev/null
+++ b/views/default/page/default.php
@@ -0,0 +1,58 @@
+<?php
+/**
+ * Elgg pageshell
+ * The standard HTML page shell that everything else fits into
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses $vars['title'] The page title
+ * @uses $vars['body'] The main content of the page
+ * @uses $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()
+ */
+
+// backward compatability support for plugins that are not using the new approach
+// of routing through admin. See reportedcontent plugin for a simple example.
+if (elgg_get_context() == 'admin') {
+ elgg_deprecated_notice("admin plugins should route through 'admin'.", 1.8);
+ elgg_admin_add_plugin_settings_menu();
+ elgg_unregister_css('elgg');
+ echo elgg_view('page/admin', $vars);
+ return true;
+}
+
+// Set the content type
+header("Content-type: text/html; charset=UTF-8");
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<?php echo elgg_view('page/elements/head', $vars); ?>
+</head>
+<body>
+<div class="elgg-page elgg-page-default">
+ <div class="elgg-page-messages">
+ <?php echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); ?>
+ </div>
+
+
+ <div class="elgg-page-header">
+ <div class="elgg-inner">
+ <?php echo elgg_view('page/elements/header', $vars); ?>
+ </div>
+ </div>
+ <div class="elgg-page-body">
+ <div class="elgg-inner">
+ <?php echo elgg_view('page/elements/body', $vars); ?>
+ </div>
+ </div>
+ <div class="elgg-page-footer">
+ <div class="elgg-inner">
+ <?php echo elgg_view('page/elements/footer', $vars); ?>
+ </div>
+ </div>
+</div>
+<?php echo elgg_view('page/elements/foot'); ?>
+</body>
+</html> \ No newline at end of file
diff --git a/views/default/page/elements/footer.php b/views/default/page/elements/footer.php
new file mode 100644
index 000000000..2459545c0
--- /dev/null
+++ b/views/default/page/elements/footer.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Elgg footer
+ * The standard HTML footer that displays across the site
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ */
+
+echo elgg_view_menu('footer', array('sort_by' => 'priority', 'class' => 'elgg-menu-hz'));
+?> \ No newline at end of file
diff --git a/views/default/page/elements/header.php b/views/default/page/elements/header.php
new file mode 100644
index 000000000..ad3bfabce
--- /dev/null
+++ b/views/default/page/elements/header.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Elgg page header
+ * In the default theme, the header lives between the topbar and main content area.
+ */
+
+// link back to main site.
+echo elgg_view('page/elements/header_logo', $vars);
+
+// drop-down login
+echo elgg_view('core/account/login_dropdown');
+
+// insert site-wide navigation
+?>
+<div id="social_menu">
+<?php
+echo elgg_view_menu('site');
+?>
+<div style="clear:both;"></div>
+</div>
+<?php echo elgg_view('page/elements/topbar', $vars); ?>
+<div style="clear:both;"></div>
diff --git a/views/default/page/elements/header_logo.php b/views/default/page/elements/header_logo.php
new file mode 100644
index 000000000..373ce27f7
--- /dev/null
+++ b/views/default/page/elements/header_logo.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Elgg header logo
+ */
+
+$site = elgg_get_site_entity();
+$site_name = $site->name;
+$site_url = elgg_get_site_url();
+$site_description = $site->description;
+?>
+
+<h1 style="float:left;margin-top:10px;">
+ <a class="elgg-heading-site" href="<?php echo $site_url; ?>">
+ <?php echo $site_name; ?>
+ </a>
+</h1>
+
+
+<div style="clear:left;"></div>
+<p style="float:left;margin-left:20px;"><?php echo $site_description; ?></p>
+
diff --git a/views/default/page/elements/messages.php b/views/default/page/elements/messages.php
new file mode 100644
index 000000000..869ce2b5e
--- /dev/null
+++ b/views/default/page/elements/messages.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Elgg global system message list
+ * Lists all system messages
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses $vars['object'] The array of message registers
+ */
+echo '<div style="width:990px;margin:0px auto;position:relative;">';
+echo '<ul class="elgg-system-messages">';
+
+// hidden li so we validate
+echo '<li class="hidden"></li>';
+
+if (isset($vars['object']) && is_array($vars['object']) && sizeof($vars['object']) > 0) {
+ foreach ($vars['object'] as $type => $list ) {
+ foreach ($list as $message) {
+ echo "<li class=\"elgg-message elgg-state-$type\">";
+ echo autop($message);
+ echo '</li>';
+ }
+ }
+}
+
+echo '</ul></div>';
diff --git a/views/default/page/elements/topbar.php b/views/default/page/elements/topbar.php
new file mode 100644
index 000000000..ef70a83cc
--- /dev/null
+++ b/views/default/page/elements/topbar.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Elgg topbar
+ * The standard elgg top toolbar
+ */
+
+// Elgg logo
+?>
+<div id="social_topbar">
+ <div style="width:930px;margin:0px auto;">
+ <?php if (elgg_is_logged_in()):
+ echo elgg_view_menu('topbar', array('sort_by' => 'priority', array('elgg-menu-hz')));
+ endif ?>
+ </div>
+ <div style="clear:both;"></div>
+</div>
+<?php
+
+// elgg tools menu
+// need to echo this empty view for backward compatibility.
+$content = elgg_view("navigation/topbar_tools");
+if ($content) {
+ elgg_deprecated_notice('navigation/topbar_tools was deprecated. Extend the topbar menus or the page/elements/topbar view directly', 1.8);
+ echo $content;
+}
diff --git a/views/default/page/layouts/custom_index.php b/views/default/page/layouts/custom_index.php
new file mode 100644
index 000000000..5aa9f9abc
--- /dev/null
+++ b/views/default/page/layouts/custom_index.php
@@ -0,0 +1,48 @@
+<?php
+if (elgg_get_config('allow_registration') != false) {
+ $friend_guid = (int) get_input('friend_guid', 0);
+ $invitecode = get_input('invitecode');
+ $register_url = elgg_get_site_url() . 'action/register';
+ if (elgg_get_config('https_login')) {
+ $register_url = str_replace("http:", "https:", $register_url);
+ }
+ $form_params = array(
+ 'action' => $register_url,
+ 'class' => 'elgg-form-account float',
+ );
+ $body_params = array(
+ 'friend_guid' => $friend_guid,
+ 'invitecode' => $invitecode
+ );
+ $content = elgg_view_form('register', $form_params, $body_params);
+ $content .= elgg_view('help/register');
+} else {
+ $content = '';
+}
+$showpeople = elgg_get_plugin_setting('showpeople','purity_theme');
+if (!$showpeople) $showpeople = 'right';
+?>
+
+<div class="custom-index elgg-main elgg-grid clearfix">
+ <div class="elgg-col elgg-col-1of2">
+ <div class="elgg-inner pvm phm prl">
+ <div class="front_left">
+ <?php if ($showpeople == 'Left') { ?>
+ <img src="<?php echo $vars['url']; ?>mod/purity_theme/graphics/people.png">
+ <?php } ?>
+ <?php echo elgg_view('purity_theme/leftside'); ?>
+ <?php if (!elgg_is_logged_in()) echo $content;?>
+ </div>
+ </div>
+ </div>
+ <div class="elgg-col elgg-col-1of2">
+ <div class="elgg-inner pvm">
+ <div class="front_right">
+ <?php if ($showpeople == 'Right') { ?>
+ <img src="<?php echo $vars['url']; ?>mod/purity_theme/graphics/people.png">
+ <?php } ?>
+ <?php echo elgg_view('purity_theme/rightside'); ?>
+ </div>
+ </div>
+ </div>
+</div> \ No newline at end of file
diff --git a/views/default/plugins/purity_theme/settings.php b/views/default/plugins/purity_theme/settings.php
new file mode 100644
index 000000000..a16b29034
--- /dev/null
+++ b/views/default/plugins/purity_theme/settings.php
@@ -0,0 +1,24 @@
+<?php
+ $frontleft = $vars['entity']->frontleft;
+ if (!$frontleft) $frontleft='<h2>You can edit this information in the admin section of this theme.</h2>';
+ $frontright = $vars['entity']->frontright;
+ if (!$frontright) $frontright='<h2>You can edit this information in the admin section of this theme.</h2>';
+ $showpeople = $vars['entity']->showpeople;
+ if (!$showpeople) $showpeople = 'Right';
+?>
+<div id="purity_theme_admin">
+
+ <label>Show the default "people" image?</label><br/>
+ <?php echo elgg_view('input/dropdown',array('name'=>'params[showpeople]','value'=>$showpeople,'options'=>array('no','Left','Right'))); ?>
+ <p>&nbsp;</p>
+ <label>Front left text area:</label><br/>
+ <?php
+ echo elgg_view('input/longtext', array('name'=>'params[frontleft]','value'=>$frontleft));
+ ?>
+ <p>&nbsp;</p>
+ <label>Front right text area:</label><br/>
+ <?php
+ echo elgg_view('input/longtext', array('name'=>'params[frontright]','value'=>$frontright));
+ ?>
+
+</div> \ No newline at end of file
diff --git a/views/default/purity_theme/css.php b/views/default/purity_theme/css.php
new file mode 100644
index 000000000..11b5f0c57
--- /dev/null
+++ b/views/default/purity_theme/css.php
@@ -0,0 +1,178 @@
+<?php
+?>
+
+#social_menu {
+background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/menu.png) top center no-repeat;
+width:980px;
+height:54px;
+margin:20px auto 0px auto;
+position:relative;
+}
+#social_topbar {
+background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/menu.png) bottom center no-repeat;
+width:980px;
+height:41px;
+margin:0px auto;
+padding-top:3px;
+}
+#social_topbar a {
+color:#333333;
+}
+.elgg-menu-site > li > a {
+padding: 6px 6px 3px 6px;
+height: 20px;
+font-weight:bold;
+box-shadow:none;
+}
+
+.elgg-menu-site-default {
+position: absolute;
+bottom: 13px;
+left: 30px;
+height: 23px;
+}
+.elgg-menu-site-default > li {
+float: left;
+margin-right: 1px;
+}
+.elgg-menu-site-default li:last-child{
+background:none;
+}
+.elgg-menu-site-default > li > a {
+color: #333333;
+}
+.elgg-menu-site-default > .elgg-state-selected > a,
+.elgg-menu-site-default > li:hover > a {
+color: #fff;
+-moz-border-radius:8px;
+-webkit-border-radius:8px;
+border-radius:8px;
+-webkit-box-shadow: none;
+-moz-box-shadow: none;
+box-shadow: none;
+background:#A7A7A7;
+text-shadow:none;
+}
+.elgg-menu-site > li > a:hover {
+text-decoration: none;
+text-shadow:none;
+box-shadow:inset 0 0 1px #ffffff;
+}
+.elgg-menu-site-more {
+display: none;
+position: relative;
+left: -1px;
+width: 100%;
+z-index: 1;
+min-width: 150px;
+padding:0px;
+background:#ffffff;
+-webkit-border-radius: 10px;
+-moz-border-radius: 10px;
+border-radius: 10px;
+}
+
+li:hover > .elgg-menu-site-more {
+display: block;
+-webkit-box-shadow: none;
+-moz-box-shadow: none;
+box-shadow: none;
+border:none;
+background:#ffffff;
+box-shadow:0px 0px 4px #333333;
+text-shadow:none;
+}
+
+.elgg-menu-site-more > li > a {
+color: #333;
+background:#ffffff;
+padding:5px;
+}
+.elgg-menu-site-more > li > a:hover {
+background:#A7A7A7;
+color:#ffffff;
+text-shadow:none;
+}
+.elgg-menu-site-more >li:first-child> a,
+.elgg-menu-site-more > li:first-child >a:hover {
+-webkit-border-top-left-radius: 10px;
+-webkit-border-top-right-radius: 10px;
+-moz-border-radius-topleft: 10px;
+-moz-border-radius-topright: 10px;
+border-top-left-radius: 10px;
+border-top-right-radius: 10px;
+text-shadow:none;
+}
+.elgg-menu-site-more > li:last-child > a,
+.elgg-menu-site-more > li:last-child > a:hover {
+-webkit-border-bottom-right-radius: 10px;
+-webkit-border-bottom-left-radius: 10px;
+-moz-border-radius-bottomright: 10px;
+-moz-border-radius-bottomleft: 10px;
+border-bottom-right-radius: 10px;
+border-bottom-left-radius: 10px;
+text-shadow:none;
+}
+.elgg-more > a:before {
+content: "\25BC";
+font-size: smaller;
+margin-right: 4px;
+}
+.elgg-page-header .elgg-search {
+bottom: 49px;
+height: 31px;
+position: absolute;
+right: 10px;
+background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/search.png) no-repeat;
+padding-right:60px;
+width:216px;
+height:34px;
+}
+.front_left {
+width:420px;
+margin-left:50px;
+}
+.front_right {
+width:420px;
+margin-right:50px;
+}
+.search-input {
+border:none;
+}
+.elgg-page-header .elgg-search input[type=text] {
+width: 166px;
+}
+.elgg-page-header .elgg-search input[type=submit] {
+display: none;
+}
+.elgg-search input[type=text] {
+color: #333;
+font-size: 12px;
+font-weight: bold;
+padding: 2px 4px 2px 26px;
+margin-top:10px;
+margin-left:6px;
+border:none;
+}
+.elgg-search input[type=text]:focus, .elgg-search input[type=text]:active {
+
+color: #0054A7;
+border:none;
+}
+.search-list li {
+padding: 5px 0 0;
+}
+.search-heading-category {
+margin-top: 20px;
+color: #666666;
+}
+
+*:hover, .elgg-state-selected {
+text-shadow:none;
+}
+.elgg-menu-page a:hover, #profile-owner-block a:hover{
+background:#333333;
+}
+.elgg-menu-page li.elgg-state-selected > a {
+background:#000000;
+} \ No newline at end of file
diff --git a/views/default/purity_theme/leftside.php b/views/default/purity_theme/leftside.php
new file mode 100644
index 000000000..fddfe09b3
--- /dev/null
+++ b/views/default/purity_theme/leftside.php
@@ -0,0 +1,5 @@
+<?php
+$frontleft=elgg_get_plugin_setting('frontleft','purity_theme');
+if (!$frontleft) $frontleft = '<h2>You can edit this information in the admin section of this theme.</h2>';
+echo $frontleft;
+?> \ No newline at end of file
diff --git a/views/default/purity_theme/rightside.php b/views/default/purity_theme/rightside.php
new file mode 100644
index 000000000..34aeee0e3
--- /dev/null
+++ b/views/default/purity_theme/rightside.php
@@ -0,0 +1,5 @@
+<?php
+$frontright=elgg_get_plugin_setting('frontright','purity_theme');
+if (!$frontright) $frontright = '<h2>You can edit this information in the admin section of this theme.</h2>';
+echo $frontright;
+?> \ No newline at end of file