Skip to content

Commit

Permalink
UX: Problem #6422
Browse files Browse the repository at this point in the history
Issue: #6422

Additional Next/Back Buttons in the bottom of the page, during the
Joomla 3.4.x installation.
  • Loading branch information
Ufuk Avcu committed Mar 15, 2015
1 parent a314685 commit 2c4c9fd
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 0 deletions.
7 changes: 7 additions & 0 deletions installation/view/database/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,11 @@

<input type="hidden" name="task" value="database" />
<?php echo JHtml::_('form.token'); ?>

<div class="btn-toolbar text-right">
<div class="btn-group">
<a class="btn" href="#" onclick="return Install.goToPage('site');" rel="prev" title="<?php echo JText::_('JPrevious'); ?>"><i class="icon-arrow-left"></i> <?php echo JText::_('JPrevious'); ?></a>
<a class="btn btn-primary" href="#" onclick="Install.submitform();" rel="next" title="<?php echo JText::_('JNext'); ?>"><i class="icon-arrow-right icon-white"></i> <?php echo JText::_('JNext'); ?></a>
</div>
</div>
</form>
7 changes: 7 additions & 0 deletions installation/view/ftp/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,11 @@

<input type="hidden" name="task" value="ftp" />
<?php echo JHtml::_('form.token'); ?>

<div class="btn-toolbar text-right">
<div class="btn-group">
<a class="btn" href="#" onclick="return Install.goToPage('database');" rel="prev" title="<?php echo JText::_('JPrevious'); ?>"><i class="icon-arrow-left"></i> <?php echo JText::_('JPrevious'); ?></a>
<a class="btn btn-primary" href="#" onclick="Install.submitform();" rel="next" title="<?php echo JText::_('JNext'); ?>"><i class="icon-arrow-right icon-white"></i> <?php echo JText::_('JNext'); ?></a>
</div>
</div>
</form>
23 changes: 23 additions & 0 deletions installation/view/languages/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,27 @@ class="btn btn-primary"
<input type="hidden" name="task" value="InstallLanguages" />
<?php echo JHtml::_('form.token'); ?>
<?php endif; ?>

<div class="btn-toolbar text-right">
<div class="btn-group">
<a
class="btn"
href="#"
onclick="return Install.goToPage('remove');"
rel="prev"
title="<?php echo JText::_('JPREVIOUS'); ?>">
<i class="icon-arrow-left"></i>
<?php echo JText::_('JPREVIOUS'); ?>
</a>
<a
class="btn btn-primary"
href="#"
onclick="installLanguages()"
rel="next"
title="<?php echo JText::_('JNEXT'); ?>">
<i class="icon-arrow-right icon-white"></i>
<?php echo JText::_('JNEXT'); ?>
</a>
</div>
</div>
</form>
5 changes: 5 additions & 0 deletions installation/view/preinstall/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,8 @@
<input type="hidden" name="task" value="preinstall" />
<?php echo JHtml::_('form.token'); ?>
</form>
<div class="btn-toolbar text-right">
<div class="btn-group">
<a href="#" class="btn btn-primary" onclick="Install.submitform();" title="<?php echo JText::_('JCHECK_AGAIN'); ?>"><i class="icon-refresh icon-white"></i> <?php echo JText::_('JCHECK_AGAIN'); ?></a>
</div>
</div>
5 changes: 5 additions & 0 deletions installation/view/site/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,8 @@
<input type="hidden" name="task" value="site" />
<?php echo JHtml::_('form.token'); ?>
</form>
<div class="btn-toolbar text-right">
<div class="btn-group">
<a href="#" class="btn btn-primary" onclick="Install.submitform();" rel="next" title="<?php echo JText::_('JNext'); ?>"><i class="icon-arrow-right icon-white"></i> <?php echo JText::_('JNext'); ?></a>
</div>
</div>
7 changes: 7 additions & 0 deletions installation/view/summary/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@

<input type="hidden" name="task" value="summary" />
<?php echo JHtml::_('form.token'); ?>

<div class="btn-toolbar text-right">
<div class="btn-group">
<a class="btn" href="#" onclick="return Install.goToPage('<?php echo $prev; ?>');" rel="prev" title="<?php echo JText::_('JPrevious'); ?>"><i class="icon-arrow-left"></i> <?php echo JText::_('JPrevious'); ?></a>
<a class="btn btn-primary" href="#" onclick="Install.submitform();" rel="next" title="<?php echo JText::_('INSTL_SUMMARY_INSTALL'); ?>"><i class="icon-arrow-right icon-white"></i> <?php echo JText::_('INSTL_SUMMARY_INSTALL'); ?></a>
</div>
</div>
</form>

<script type="text/javascript">
Expand Down

0 comments on commit 2c4c9fd

Please sign in to comment.