diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-10 15:13:39 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-10 15:13:39 +0000 |
commit | bbbbad20de5f318a099fb82ae56071073b0596a6 (patch) | |
tree | 8e2f564b78d646652ce8874f092e88b403edaa40 /views/default/basic_elements | |
parent | 6d69cb048b372e6e79b79ca2fe927b7c3e3efad2 (diff) | |
download | elgg-bbbbad20de5f318a099fb82ae56071073b0596a6.tar.gz elgg-bbbbad20de5f318a099fb82ae56071073b0596a6.tar.bz2 |
some new views
git-svn-id: https://code.elgg.org/elgg/trunk@137 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/basic_elements')
-rw-r--r-- | views/default/basic_elements/login.php | 23 | ||||
-rw-r--r-- | views/default/basic_elements/welcome.php | 19 |
2 files changed, 42 insertions, 0 deletions
diff --git a/views/default/basic_elements/login.php b/views/default/basic_elements/login.php new file mode 100644 index 000000000..b6967ea1b --- /dev/null +++ b/views/default/basic_elements/login.php @@ -0,0 +1,23 @@ +<?php
+
+ /**
+ * Elgg login form
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+?>
+
+ <div id="login-box">
+ <form action="<?php echo $vars['url']; ?>action/login" method="POST">
+ <label>Username<br /><input name="username" type="text" class="general-textarea" /></label>
+ <br />
+ <label>Password<br /><input name="password" type="password" class="general-textarea" /></label><br />
+ <input type="submit" name="submit" value="login" />
+ </form>
+ </div>
\ No newline at end of file diff --git a/views/default/basic_elements/welcome.php b/views/default/basic_elements/welcome.php new file mode 100644 index 000000000..a9e08148c --- /dev/null +++ b/views/default/basic_elements/welcome.php @@ -0,0 +1,19 @@ +<?php
+
+ /**
+ * Elgg sample welcome page
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $user = $vars['name'];
+
+?>
+
+<p>Welcome <?php echo $user; ?></p>
+<p><a href="<?php echo $vars['url']; ?>action/logout">[logout]</a></p>
\ No newline at end of file |