use buttons in loginForm

This commit is contained in:
Andrew Dolgov 2010-01-12 18:50:08 +03:00
parent a0f98bbf0b
commit 2ec990abe9
1 changed files with 3 additions and 3 deletions

View File

@ -125,10 +125,10 @@ window.onload = init;
<tr><td colspan="2" align="right" class="innerLoginCell">
<input type="submit" class="button" value="<?php echo __('Log in') ?>" name='click'>
<button name='click'><?php echo __('Log in') ?></button>
<?php if (defined('ENABLE_REGISTRATION') && ENABLE_REGISTRATION) { ?>
<input type="submit" class="button" onclick="return gotoRegForm()"
value="<?php echo __("Create new account") ?>"/>
<button onclick="return gotoRegForm()">
<?php echo __("Create new account") ?></button>
<?php } ?>
<input type="hidden" name="action" value="login">