- md5
- 92fd55e5b22572a98ea82ebdc8dadcc9
- sha1
- 15a379ecc57de067a79fd1f46b13ef6da5c5b7e2
- sha256
- 729839e02e515be2db4df1d13d8adb4e1ba992eaea097a613121d81f4e739ed7
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
<?php
/**
* @package Joomla.Installation
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/* @var InstallationViewLanguagesHtml $this */
// Get version of Joomla! to compare it with the version of the language package
$version = new JVersion;
?>
<script type="text/javascript">
function installLanguages() {
var $ = jQuery.noConflict();
$('#install_languages_desc').hide();
$('#wait_installing').show();
$('#wait_installing_spinner').show();
Install.submitform();
}
</script>
<?php echo JHtml::_('installation.stepbarlanguages'); ?>
<form action="index.php" method="post" id="adminForm" class="form-validate form-horizontal">
<div class="btn-toolbar">
<div class="btn-group pull-right">
<a
class="btn"
href="#"
onclick="return Install.goToPage('remove');"
rel="prev"
title="<?php echo JText::_('JPREVIOUS'); ?>">
<span class="icon-arrow-left"></span>
<?php echo JText::_('JPREVIOUS'); ?>
</a>
<a
class="btn btn-primary"
href="#"
onclick="installLanguages()"
rel="next"
title="<?php echo JText::_('JNEXT'); ?>">
<span class="icon-arrow-right icon-white"></span>
<?php echo JText::_('JNEXT'); ?>
</a>
</div>
</div>
<h3><?php echo JText::_('INSTL_LANGUAGES'); ?></h3>
<hr class="hr-condensed" />
<?php if (!$this->items) : ?>
<p><?php echo JText::_('INSTL_LANGUAGES_WARNING_NO_INTERNET') ?></p>
<p>
<a href="#"
class="btn btn-primary"
onclick="return Install.goToPage('remove');">
<span class="icon-arrow-left icon-white"></span>
<?php echo JText::_('INSTL_LANGUAGES_WARNING_BACK_BUTTON'); ?>
</a>
</p>
<p><?php echo JText::_('INSTL_LANGUAGES_WARNING_NO_INTERNET2') ?></p>
<?php else : ?>
<p id="install_languages_desc"><?php echo JText::_('INSTL_LANGUAGES_DESC'); ?></p>
<p id="wait_installing" style="display: none;">
<?php echo JText::_('INSTL_LANGUAGES_MESSAGE_PLEASE_WAIT') ?><br />
<div id="wait_installing_spinner" class="spinner spinner-img" style="display: none;"></div>
</p>
<table class="table table-striped table-condensed">
<thead>
<tr>
<th>
<?php echo JText::_('INSTL_LANGUAGES_COLUMN_HEADER_LANGUAGE'); ?>
</th>
<th>
<?php echo JText::_('INSTL_LANGUAGES_COLUMN_HEADER_VERSION'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->items as $i => $language) : ?>
<tr>
<td>
<label class="checkbox">
<input
type="checkbox"
id="cb<?php echo $i; ?>"
name="cid[]"
value="<?php echo $language->update_id; ?>"
/> <?php echo $language->name; ?>
<?php // Display a Note if language pack version is not equal to Joomla version ?>
<?php if (substr($language->version, 0, 3) != $version->RELEASE
|| substr($language->version, 0, 5) != $version->RELEASE . "." . $version->DEV_LEVEL) : ?>
<div class="small"><?php echo JText::_('JGLOBAL_LANGUAGE_VERSION_NOT_PLATFORM'); ?></div>
<?php endif; ?>
</label>
</td>
<td>
<span class="badge"><?php echo $language->version; ?></span>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="task" value="InstallLanguages" />
<?php echo JHtml::_('form.token'); ?>
<?php endif; ?>
</form>
The same content is in 11 releases, Joomla 3.4.2-rc to 3.4.8. See them all, or every version of this file.