aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/pageshells
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 21:05:54 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 21:05:54 +0000
commitd46162271a5ca3c3af690173d0abfcd1ab9f69a1 (patch)
treef291a6780b492e77e4b54c759bb7995bef1cef39 /views/failsafe/pageshells
parenta1abec1d617c9330d9c06bda2f462d213f013f53 (diff)
downloadelgg-d46162271a5ca3c3af690173d0abfcd1ab9f69a1.tar.gz
elgg-d46162271a5ca3c3af690173d0abfcd1ab9f69a1.tar.bz2
Standardized views/failsafe/*
git-svn-id: http://code.elgg.org/elgg/trunk@3558 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/failsafe/pageshells')
-rw-r--r--views/failsafe/pageshells/pageshell.php74
1 files changed, 36 insertions, 38 deletions
diff --git a/views/failsafe/pageshells/pageshell.php b/views/failsafe/pageshells/pageshell.php
index d5ae145b4..468e00ef1 100644
--- a/views/failsafe/pageshells/pageshell.php
+++ b/views/failsafe/pageshells/pageshell.php
@@ -1,28 +1,26 @@
<?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
- * @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()
- */
-
-
+/**
+ * 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
+ * @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()
+ */
?>
<html>
<head>
<title><?php echo $vars['title']; ?></title>
-
+
<style type="text/css">
-
+
body {
text-align:left;
margin:0;
@@ -60,7 +58,7 @@
border-right: 1px solid #666666;
border-bottom: 1px solid #666666;
}
-
+
label {
font-weight: bold;
color:#333333;
@@ -89,19 +87,19 @@
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;
+ -webkit-border-radius: 4px;
-moz-border-radius: 4px;
width: auto;
height: 35px;
@@ -117,32 +115,32 @@
text-align: left;
vertical-align: middle;
}
-
+
.messages {
- border:1px solid #00cc00;
- background:#ccffcc;
- color:#000000;
- padding:3px 10px 3px 10px;
+ border:1px solid #00cc00;
+ background:#ccffcc;
+ color:#000000;
+ padding:3px 10px 3px 10px;
}
.messages_error {
- border:1px solid #D3322A;
- background:#F7DAD8;
- color:#000000;
- padding:3px 10px 3px 10px;
-
+ border:1px solid #D3322A;
+ background:#F7DAD8;
+ color:#000000;
+ padding:3px 10px 3px 10px;
+
}
</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>