mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-13 16:12:57 +00:00
Hide language in batch
This commit is contained in:
parent
e6c5daafa7
commit
5a2d9859f8
@ -8,6 +8,7 @@
|
||||
*/
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Multilanguage;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
|
||||
$published = $this->state->get('filter.published');
|
||||
@ -15,11 +16,13 @@ $published = $this->state->get('filter.published');
|
||||
|
||||
<div class="p-3">
|
||||
<div class="row">
|
||||
<div class="form-group col-md-6">
|
||||
<div class="controls">
|
||||
<?php echo LayoutHelper::render('joomla.html.batch.language', []); ?>
|
||||
<?php if (Multilanguage::isEnabled()) : ?>
|
||||
<div class="form-group col-md-6">
|
||||
<div class="controls">
|
||||
<?php echo LayoutHelper::render('joomla.html.batch.language', []); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<div class="form-group col-md-6">
|
||||
<div class="controls">
|
||||
<?php echo LayoutHelper::render('joomla.html.batch.access', []); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user