CoreFiles by mySites.guru
default.php45 lines, 1,444 bytes, from Joomla_3.6.0-alpha-Alpha-Full_Package.zip
Raw History Compare with 3.4.0-alpha
md5
63acca14e9f0ea1e13f19cb6d15f7a46
sha1
184d4f272f8b44cf8004c382c68336012b904670
sha256
d57b2e3b33584a0fcec2ba1bf1484d64292fe643b0fca708bf7cceee078f6818
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_multilangstatus
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include jQuery
JHtml::_('jquery.framework');

// Use javascript to remove the modal added below from the current div and add it to the end of html body tag.
JFactory::getDocument()->addScriptDeclaration("
jQuery(document).ready(function($) {
	var multilangueModal = $('#multiLangModal').clone();
	$('#multiLangModal').remove();
	$('body').append(multilangueModal);
});");

$link = JRoute::_('index.php?option=com_languages&view=multilangstatus&tmpl=component');
$footer = '<button class="btn" type="button" data-dismiss="modal" aria-hidden="true">' . JText::_('JTOOLBAR_CLOSE') . '</button>';
?>
<div class="btn-group multilanguage">
	<a href="#multiLangModal" role="button" class="btn btn-link" data-toggle="modal" title="<?php echo JText::_('MOD_MULTILANGSTATUS'); ?>">
		<span class="icon-comment"></span><?php echo JText::_('MOD_MULTILANGSTATUS'); ?>
	</a>
</div>

<?php echo JHtml::_(
	'bootstrap.renderModal',
	'multiLangModal',
	array(
		'title' => JText::_('MOD_MULTILANGSTATUS'),
		'backdrop' => 'static',
		'keyboard' => true,
		'closeButton' => true,
		'footer' => $footer,
		'url' => $link,
		'height' => '300px',
		'width' => '500px'
		)
	);

No other release has this exact content. See every version of this file.