- md5
- 4819ac5a32b010f0e7c19ab16c7a84c5
- sha1
- 0fe9a547a8c8dd1f1d7ec98168b2659a4a8cdbe9
- sha256
- dd2cda21c5d497989c3e40034a6dc4e412924cfc2d90dc3673e8a55f674e6217
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
<?php
/**
* @package Joomla.Installation
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<?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('languages');"
rel="prev"
title="<?php echo JText::_('JPREVIOUS'); ?>">
<i class="icon-arrow-left"></i>
<?php echo JText::_('JPREVIOUS'); ?>
</a>
<?php // Check if there are languages in the list, if not you cannot move forward ?>
<?php if ($this->items->administrator) : ?>
<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>
<?php endif; ?>
</div>
</div>
<h3><?php echo JText::_('INSTL_DEFAULTLANGUAGE_MULTILANGUAGE_TITLE'); ?></h3>
<hr class="hr-condensed" />
<p><?php echo JText::_('INSTL_DEFAULTLANGUAGE_MULTILANGUAGE_DESC'); ?></p>
<div class="control-group">
<div class="control-label">
<?php echo $this->form->getLabel('activateMultilanguage'); ?>
</div>
<div class="controls">
<?php echo $this->form->getInput('activateMultilanguage'); ?>
<p class="help-block">
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_ACTIVATE_MULTILANGUAGE_DESC'); ?>
</p>
</div>
</div>
<div id="multilanguageOptions">
<div class="control-group" id="installLocalisedContent" style="display:auto;">
<div class="control-label">
<?php echo $this->form->getLabel('installLocalisedContent'); ?>
</div>
<div class="controls">
<?php echo $this->form->getInput('installLocalisedContent'); ?>
<p class="help-block">
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_INSTALL_LOCALISED_CONTENT_DESC'); ?>
</p>
</div>
</div>
<div class="control-group" id="activatePluginLanguageCode" style="display:auto;">
<div class="control-label">
<?php echo $this->form->getLabel('activatePluginLanguageCode'); ?>
</div>
<div class="controls">
<?php echo $this->form->getInput('activatePluginLanguageCode'); ?>
<p class="help-block">
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_ACTIVATE_LANGUAGE_CODE_PLUGIN_DESC'); ?>
</p>
</div>
</div>
</div>
<h3><?php echo JText::_('INSTL_DEFAULTLANGUAGE_ADMINISTRATOR'); ?></h3>
<hr class="hr-condensed" />
<p><?php echo JText::_('INSTL_DEFAULTLANGUAGE_DESC'); ?></p>
<table class="table table-striped table-condensed">
<thead>
<tr>
<th>
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_COLUMN_HEADER_SELECT'); ?>
</th>
<th>
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_COLUMN_HEADER_LANGUAGE'); ?>
</th>
<th>
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_COLUMN_HEADER_TAG'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->items->administrator as $lang) : ?>
<tr>
<td>
<input
type="radio"
name="administratorlang"
value="<?php echo $lang->language; ?>"
<?php if ($lang->published) echo 'checked="checked"'; ?>
/>
</td>
<td align="center">
<?php echo $lang->name; ?>
</td>
<td align="center">
<?php echo $lang->language; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<h3><?php echo JText::_('INSTL_DEFAULTLANGUAGE_FRONTEND'); ?></h3>
<hr class="hr-condensed" />
<p><?php echo JText::_('INSTL_DEFAULTLANGUAGE_DESC_FRONTEND'); ?></p>
<table class="table table-striped table-condensed">
<thead>
<tr>
<th>
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_COLUMN_HEADER_SELECT'); ?>
</th>
<th>
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_COLUMN_HEADER_LANGUAGE'); ?>
</th>
<th>
<?php echo JText::_('INSTL_DEFAULTLANGUAGE_COLUMN_HEADER_TAG'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->items->frontend as $lang) : ?>
<tr>
<td>
<input
type="radio"
name="frontendlang"
value="<?php echo $lang->language; ?>"
<?php if ($lang->published) echo 'checked="checked"'; ?>
/>
</td>
<td align="center">
<?php echo $lang->name; ?>
</td>
<td align="center">
<?php echo $lang->language; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="task" value="setdefaultlanguage" />
<?php echo JHtml::_('form.token'); ?>
</form>
<script type="text/javascript">
window.addEvent('domready', function() {
document.getElements('input[name=jform[activateMultilanguage]]').each(function(el){
el.addEvent('click', function(){Install.toggle('installLocalisedContent', 'activateMultilanguage', 1);});
el.addEvent('click', function(){Install.toggle('activatePluginLanguageCode', 'activateMultilanguage', 1);});
});
Install.toggle('installLocalisedContent', 'activateMultilanguage', 1);
Install.toggle('activatePluginLanguageCode', 'activateMultilanguage', 1);
});
</script>
The same content is in 13 releases, Joomla 3.2.2 to 3.3.6. See them all, or every version of this file.