Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor updates to views

  • Loading branch information...
commit e79d54377308d352c9c0f1cf0da1bb36b3ab7689 1 parent 2fcea29
@pointlessjon authored
View
20 views/users/register.html.php
@@ -1,12 +1,20 @@
-<h1><?php echo $this->title('Register')?></h1>
+<?php
+/**
+ * Lithium Sphere: communized sphere of influence
+ *
+ * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
+ * @license http://www.opensource.org/licenses/MIT The MIT License
+ */
+?>
+
+<h1><?php echo $this->title('register')?></h1>
<?php if ($errors) {
- echo "<h2>There were errors tring to create your account.</h2>";
- echo "<ul>";
+ echo "<h2>there were errors tring to create your account.</h2>";
+ echo "<ul class=\"errors\">";
foreach ($errors as $field => $_errors) {
- foreach ($_errors as $error) {
- echo "<li>{$error}</li>";
- }
+ $error = current($_errors);
+ echo "<li>{$error}</li>";
}
echo "</ul>";
} ?>
View
14 views/users/view.html.php
@@ -1,2 +1,14 @@
+<?php
+/**
+ * Lithium Sphere: communized sphere of influence
+ *
+ * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
+ * @license http://www.opensource.org/licenses/MIT The MIT License
+ */
+?>
+
<h1><?php echo $user->_id;?></h1>
-<?php echo $user->email;?>
+ <li><strong>email:</strong> <?php echo $user->email;?></li>
+ <li><strong>user since: </strong> <?php echo date('l jS \of F, Y', $user->created->sec); ?></li>
+</ul>
View
8 webroot/css/sphere.css
@@ -1,3 +1,11 @@
+/**
+ * Lithium Sphere: communized sphere of influence
+ *
+ * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
+ * @license http://www.opensource.org/licenses/MIT The MIT License
+ */
+
+
html {
overflow: scroll;
}
View
8 webroot/js/sphere.js
@@ -1,7 +1,11 @@
/**
- * This is the master object for the Sphere application
+ * Lithium Sphere: communized sphere of influence
*
- * This application requires jQuery 1.4.1
+ * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
+ * @license http://www.opensource.org/licenses/MIT The MIT License
+ */
+/**
+ * This is the master object for the Sphere application
*/
var li3Sphere = {
/**
Please sign in to comment.
Something went wrong with that request. Please try again.