diff options
Diffstat (limited to 'views/default/account/forms')
| -rw-r--r-- | views/default/account/forms/forgotten_password.php | 19 | ||||
| -rw-r--r-- | views/default/account/forms/login.php | 30 | ||||
| -rw-r--r-- | views/default/account/forms/register.php | 38 | ||||
| -rw-r--r-- | views/default/account/forms/useradd.php | 41 |
4 files changed, 0 insertions, 128 deletions
diff --git a/views/default/account/forms/forgotten_password.php b/views/default/account/forms/forgotten_password.php deleted file mode 100644 index 24c2df2f0..000000000 --- a/views/default/account/forms/forgotten_password.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - /** - * Elgg forgotten password. - * - * @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/ - */ - - $form_body = "<p>" . elgg_echo('user:password:text') . "</p>"; - $form_body .= "<p><b>". elgg_echo('username') . "</b> " . elgg_view('input/text', array('internalname' => 'username')) . "</p>"; - $form_body .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "</p>"; -?> -<div id="forgotten_box"> - <?php echo elgg_view('input/form', array('action' => "{$vars['url']}actions/user/requestnewpassword", 'body' => $form_body)); ?> -</div>
\ No newline at end of file diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php deleted file mode 100644 index 7afef1404..000000000 --- a/views/default/account/forms/login.php +++ /dev/null @@ -1,30 +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/
- */
- - global $CONFIG; - - $form_body = "<p><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'general-textarea')) . "</label>"; - $form_body .= "<br />"; - $form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'general-textarea')) . "</label><br />"; - $form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "</p>"; - $form_body .= "<p>"; - $form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "<a href=\"{$vars['url']}account/register.php\">" . elgg_echo('register') . "</a> : " : ""; - $form_body .= "<a href=\"{$vars['url']}account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>"; - - //<input name=\"username\" type=\"text\" class="general-textarea" /></label>
-?>
-
- <div id="login-box">
<h2><?php echo elgg_echo('login'); ?></h2> - <?php echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/login")); ?> -
- </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 95249c784..000000000 --- a/views/default/account/forms/useradd.php +++ /dev/null @@ -1,41 +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'); ?>:
- <?php echo elgg_view('input/text', array('internalname' => 'name')); ?></label><br /> - <label><?php echo elgg_echo('email'); ?>:
- <?php echo elgg_view('input/email', array('internalname' => 'email')); ?></label><br /> - <label><?php echo elgg_echo('username'); ?>:
- <?php echo elgg_view('input/text', array('internalname' => 'username')); ?></label><br /> - <label><?php echo elgg_echo('password'); ?>:
- <?php echo elgg_view('input/password', array('internalname' => 'password')); ?></label><br /> - <label><?php echo elgg_echo('passwordagain'); ?>:
- <?php echo elgg_view('input/password', array('internalname' => 'password2')); ?></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 |
