Skip to content

Commit

Permalink
[imp] Rename the install app JHtml helper. Closes #7017.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker authored and Thomas Hunziker committed Jun 12, 2015
1 parent b121b4d commit e692048
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 12 deletions.
3 changes: 0 additions & 3 deletions installation/controller/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ public function execute()
$app->redirect('index.php');
}

// Include the component HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT . '/helper/html');

// Register the layout paths for the view
$paths = new SplPriorityQueue;
$paths->insert(JPATH_INSTALLATION . '/view/' . $vName . '/tmpl', 'normal');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
/**
* HTML utility class for the installation application
*
* @package Joomla.Installation
* @since 1.6
* @since 1.6
*/
class JHtmlInstallation
class InstallationHtmlHelper
{
/**
* Method to generate the side bar.
Expand Down
2 changes: 1 addition & 1 deletion installation/view/database/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/* @var InstallationViewDefault $this */
?>
<?php echo JHtml::_('installation.stepbar'); ?>
<?php echo JHtml::_('InstallationHtml.helper.stepbar'); ?>
<form action="index.php" method="post" id="adminForm" class="form-validate form-horizontal">
<div class="btn-toolbar">
<div class="btn-group pull-right">
Expand Down
2 changes: 1 addition & 1 deletion installation/view/defaultlanguage/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
defined('_JEXEC') or die;

?>
<?php echo JHtml::_('installation.stepbarlanguages'); ?>
<?php echo JHtml::_('InstallationHtml.helper.stepbarlanguages'); ?>
<form action="index.php" method="post" id="adminForm" class="form-validate form-horizontal">
<div class="btn-toolbar">
<div class="btn-group pull-right">
Expand Down
2 changes: 1 addition & 1 deletion installation/view/ftp/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

/* @var InstallationViewDefault $this */
?>
<?php echo JHtml::_('installation.stepbar'); ?>
<?php echo JHtml::_('InstallationHtml.helper.stepbar'); ?>
<form action="index.php" method="post" id="adminForm" class="form-validate form-horizontal">
<div class="btn-toolbar">
<div class="btn-group pull-right">
Expand Down
2 changes: 1 addition & 1 deletion installation/view/languages/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function installLanguages() {
}
</script>

<?php echo JHtml::_('installation.stepbarlanguages'); ?>
<?php echo JHtml::_('InstallationHtml.helper.stepbarlanguages'); ?>
<form action="index.php" method="post" id="adminForm" class="form-validate form-horizontal">
<div class="btn-toolbar">
<div class="btn-group pull-right">
Expand Down
2 changes: 1 addition & 1 deletion installation/view/site/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/* @var InstallationViewDefault $this */
?>
<?php echo JHtml::_('installation.stepbar'); ?>
<?php echo JHtml::_('InstallationHtml.helper.stepbar'); ?>
<div class="btn-toolbar">
<div class="btn-group pull-right">
<a href="#" class="btn btn-primary" onclick="Install.submitform();" rel="next" title="<?php echo JText::_('JNext'); ?>"><span class="icon-arrow-right icon-white"></span> <?php echo JText::_('JNext'); ?></a>
Expand Down
2 changes: 1 addition & 1 deletion installation/view/summary/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
$useftp = (file_exists($path)) ? !is_writable($path) : !is_writable(JPATH_CONFIGURATION . '/');
$prev = $useftp ? 'ftp' : 'database';
?>
<?php echo JHtml::_('installation.stepbar'); ?>
<?php echo JHtml::_('InstallationHtml.helper.stepbar'); ?>
<form action="index.php" method="post" id="adminForm" class="form-validate form-horizontal">
<div class="btn-toolbar">
<div class="btn-group pull-right">
Expand Down

0 comments on commit e692048

Please sign in to comment.