// When "enter" is pushed on the new installer form, trigger "next" button instead of "back" button

This commit is contained in:
rMalie
2012-01-05 16:38:40 +00:00
parent 6b20446de9
commit 97beb3c95c
+4 -3
View File
@@ -2,9 +2,6 @@
</div><!-- div id="sheets" -->
<div id="buttons">
<?php if (!$this->isFirstStep()): ?>
<input id="btBack" class="button little" type="submit" name="submitPrevious" value="<?php echo $this->l('Back') ?>" />
<?php endif; ?>
<?php if (!$this->isLastStep()): ?>
<?php if ($this->next_button): ?>
<input id="btNext" class="button little" type="submit" name="submitNext" value="<?php echo $this->l('Next') ?>" />
@@ -12,6 +9,10 @@
<input id="btNext" class="button little disabled" type="submit" name="submitNext" value="<?php echo $this->l('Next') ?>" disabled="disabled" />
<?php endif; ?>
<?php endif; ?>
<?php if (!$this->isFirstStep()): ?>
<input id="btBack" class="button little" type="submit" name="submitPrevious" value="<?php echo $this->l('Back') ?>" />
<?php endif; ?>
</div>
</form>