// When "enter" is pushed on the new installer form, trigger "next" button instead of "back" button
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user