diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-29 15:16:07 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-29 15:16:07 +0000 |
commit | 3221448c7cacf882649f8f991d539c8783f34286 (patch) | |
tree | a142b09fec3d94476352700edfbb20249da988e7 /views/default/account/forms | |
parent | 24eb2b495fe85b17c9e04af3965fb42f70f1f9b5 (diff) | |
download | elgg-3221448c7cacf882649f8f991d539c8783f34286.tar.gz elgg-3221448c7cacf882649f8f991d539c8783f34286.tar.bz2 |
Registration disabled option (no admin screen yet), closes #184
git-svn-id: https://code.elgg.org/elgg/trunk@1572 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/account/forms')
-rw-r--r-- | views/default/account/forms/login.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php index de8eb5ad9..105c4499d 100644 --- a/views/default/account/forms/login.php +++ b/views/default/account/forms/login.php @@ -10,7 +10,8 @@ * @copyright Curverider Ltd 2008
* @link http://elgg.org/
*/
-
+ + global $CONFIG;
?>
<div id="login-box">
<h2><?php echo elgg_echo('login'); ?></h2> @@ -19,6 +20,6 @@ <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>
+ <?php if (!$CONFIG->disable_registration) { ?><p><a href="<?php echo $vars['url']; ?>register.php"><?php echo elgg_echo('register'); ?></a></p><?php } ?>
</form>
</div>
\ No newline at end of file |