diff options
Diffstat (limited to 'views/default/account')
| -rw-r--r-- | views/default/account/forms/login.php | 24 | ||||
| -rw-r--r-- | views/default/account/forms/register.php | 38 | ||||
| -rw-r--r-- | views/default/account/forms/useradd.php | 36 |
3 files changed, 0 insertions, 98 deletions
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php deleted file mode 100644 index de8eb5ad9..000000000 --- a/views/default/account/forms/login.php +++ /dev/null @@ -1,24 +0,0 @@ -<?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">
<h2><?php echo elgg_echo('login'); ?></h2> - <form action="<?php echo $vars['url']; ?>action/login" method="POST">
- <p><label><?php echo elgg_echo('username'); ?><br /><input name="username" type="text" class="general-textarea" /></label>
- <br />
- <label><?php echo elgg_echo('password'); ?><br /><input name="password" type="password" class="general-textarea" /></label><br />
- <input type="submit" name="submit" class="submit_button" value="<?php echo elgg_echo('login'); ?>" /></p>
- <p><a href="<?php echo $vars['url']; ?>register.php"><?php echo elgg_echo('register'); ?></a></p>
- </form>
- </div>
\ No newline at end of file diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php deleted file mode 100644 index 931383aa4..000000000 --- a/views/default/account/forms/register.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php
-
- /**
- * Elgg register 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/
- */
-
- $admin_option = false;
- if (($_SESSION['user']->admin) && ($vars['show_admin']))
- $admin_option = true;
-?>
-
-
- <div id="register-box">
- <h2><?php echo elgg_echo('register'); ?></h2>
- <form action="<?php echo $vars['url']; ?>action/register" method="POST">
- <p><label><?php echo elgg_echo('name'); ?><br /><input name="name" type="text" class="general-textarea" /></label><br />
- <label><?php echo elgg_echo('email'); ?><br /><input name="email" type="text" class="general-textarea" /></label><br />
- <label><?php echo elgg_echo('username'); ?><br /><input name="username" type="text" class="general-textarea" /></label><br />
- <label><?php echo elgg_echo('password'); ?><br /><input name="password" type="password" class="general-textarea" /></label><br />
- <label><?php echo elgg_echo('passwordagain'); ?><br /><input name="password2" type="password" class="general-textarea" /></label><br />
- <?php
- if ($admin_option) {
-?>
- <label><?php echo elgg_echo('admin_option'); ?><br /><input type="checkbox" name="admin" /></label> <br />
-<?php
- }
- ?>
- <input type="submit" name="submit" class="submit_button" value="<?php echo elgg_echo('register'); ?>" /></p>
- <input type="hidden" name="action" value="register" />
- </form>
- </div>
\ No newline at end of file diff --git a/views/default/account/forms/useradd.php b/views/default/account/forms/useradd.php deleted file mode 100644 index f5957d6df..000000000 --- a/views/default/account/forms/useradd.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php - /** - * Elgg add user form. - * - * @package Elgg - * @subpackage Core - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Marcus Povey - * @copyright Curverider Ltd 2008 - * @link http://elgg.org/ - */ - - $admin_option = false; - if (($_SESSION['user']->admin) && ($vars['show_admin'])) - $admin_option = true; -?> - - - <div id="add-box"> - <h2><?php echo elgg_echo('adduser'); ?></h2> - <form action="<?php echo $vars['url']; ?>action/useradd" method="POST"> - <p><label><?php echo elgg_echo('name'); ?>: <input name="name" type="text" class="general-textarea" /></label><br /> - <label><?php echo elgg_echo('email'); ?>: <input name="email" type="text" class="general-textarea" /></label><br /> - <label><?php echo elgg_echo('username'); ?>: <input name="username" type="text" class="general-textarea" /></label><br /> - <label><?php echo elgg_echo('password'); ?>: <input name="password" type="password" class="general-textarea" /></label><br /> - <label><?php echo elgg_echo('passwordagain'); ?>: <input name="password2" type="password" class="general-textarea" /></label><br /> - <?php - if ($admin_option) { -?> - <label><?php echo elgg_echo('admin_option'); ?> <input type="checkbox" name="admin" /></label> <br /> -<?php - } - ?> - <input type="submit" name="submit" class="submit_button" value="<?php echo elgg_echo('adduser'); ?>" /></p> - </form> - </div>
\ No newline at end of file |
