| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/administrator/modules/mod_multilangstatus/tmpl/ |
Upload File : |
<?php
/**
* @package Joomla.Administrator
* @subpackage mod_multilangstatus
*
* @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
$hideLinks = $app->getInput()->getBool('hidemainmenu');
if (!$multilanguageEnabled || $hideLinks) {
return;
}
$app->getDocument()->getWebAssetManager()->useScript('joomla.dialog-autocreate');
$popupOptions = [
'popupType' => 'iframe',
'src' => Route::_('index.php?option=com_languages&view=multilangstatus&tmpl=component', false),
'textHeader' => Text::_('MOD_MULTILANGSTATUS'),
];
?>
<button type="button" class="header-item-content multilanguage" title="<?php echo htmlspecialchars(Text::_('MOD_MULTILANGSTATUS')); ?>"
data-joomla-dialog="<?php echo htmlspecialchars(json_encode($popupOptions, JSON_UNESCAPED_SLASHES)) ?>">
<div class="header-item-icon">
<span class="icon-language" aria-hidden="true"></span>
</div>
<div class="header-item-text">
<?php echo Text::_('MOD_MULTILANGSTATUS'); ?>
</div>
</button>