diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-24 20:42:55 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-24 20:42:55 +0000 |
commit | 3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173 (patch) | |
tree | 155abe19a61dd758cfcfe971146eb01876903a7e /templates/show_login_form.inc | |
parent | ab076e07058f75de17cfdbe311d35753f9da7b43 (diff) | |
download | ampache-3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173.tar.gz ampache-3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173.tar.bz2 ampache-3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173.zip |
fixed user registration and missing motd and fudged up the access lists for the time being
Diffstat (limited to 'templates/show_login_form.inc')
-rw-r--r-- | templates/show_login_form.inc | 59 |
1 files changed, 8 insertions, 51 deletions
diff --git a/templates/show_login_form.inc b/templates/show_login_form.inc index 3032bec3..8102aadf 100644 --- a/templates/show_login_form.inc +++ b/templates/show_login_form.inc @@ -39,56 +39,13 @@ </div> </div> - -<?php -if (conf('allow_public_registration')) { ?> - <p align="center"> - [<a class="header2" href="<?php echo conf('web_path'); ?>/register.php"><?php echo _('Register'); ?></a>] - </p> -<?php } // end if (conf('allow_public_registration')) - - -exit(); -?> -<br /><br /> -<p align="center"> - <a href="http://www.ampache.org"><img src="<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache.gif" title="<?php echo conf('site_title'); ?>" border="0" alt="Ampache" /> - </a> -</p> -<form name="login" method="post" enctype="multipart/form-data" action="<?php echo conf('web_path'); ; ?>/login.php" style="Display:inline"> -<table class="login" bgcolor="<?php echo conf('base_color2'); ?>" border="0" align="center"> -<tr> - <td align="center" colspan="2"> - <?php echo conf('login_message'); ; ?> - <?php $GLOBALS['error']->print_error('general'); ?> - </td> - - </tr> -<tr> - <td><?php echo _("Login"); ; ?>:</td> - <td><input type="text" name="username" value="<?php echo $_REQUEST['username']; ; ?>" /></td> -</tr> -<tr> - <td><?php echo _("Password"); ; ?>:</td> - <td><input type="password" name="password" value="" /></td> -</tr> -<tr> - <td> </td> - <td><input type="checkbox" name="rememberme" /> - <?php echo _("Remember Me"); ?></td> -</tr> -<tr> - <td colspan="2" align="center"> - <input class="button" type="submit" value="<?php echo _("Login"); ?>" /> - <input type="hidden" name="referrer" value="<?php echo $referrer; ?>" /> - <input type="hidden" name="action" value="login" /> - </td> -</tr> -</table> -</form> <?php if (conf('allow_public_registration')) { ?> - <p align="center"> - [<a class="header2" href="<?php echo conf('web_path'); ?>/register.php"><?php echo _("Register"); ?></a>] - </p> -<?php } // end if (conf('allow_public_registration')) +<div align="center"> + <?php show_box_top(); ?> + <span class="text-action"> + <a href="<?php echo conf('web_path'); ?>/register.php"><?php echo _('Register'); ?></a> + </span> + <?php show_box_bottom(); ?> +</div> +<?php } // end if (conf('allow_public_registration')) ?> |