diff --git a/administrator/templates/hathor/html/com_modules/modules/default.php b/administrator/templates/hathor/html/com_modules/modules/default.php index 207ca24c4e1a1..f3171e49b6a70 100644 --- a/administrator/templates/hathor/html/com_modules/modules/default.php +++ b/administrator/templates/hathor/html/com_modules/modules/default.php @@ -49,7 +49,7 @@ state->get('client_id'));?> - + @@ -57,7 +57,7 @@ state->get('filter.state'));?> - + @@ -105,13 +105,13 @@ - + - + items, 'filesave.png', 'modules.saveorder'); ?> @@ -120,7 +120,7 @@ - + @@ -162,13 +162,13 @@ escape($item->note));?> - + published, $i, $canChange, 'cb'); ?> position; ?> - + @@ -185,7 +185,7 @@ ordering; ?> - + name;?> @@ -212,10 +212,20 @@ - - authorise('core.create', 'com_modules') || $user->authorise('core.edit', 'com_modules')) : ?> - loadTemplate('batch'); ?> - + + authorise('core.create', 'com_modules') + && $user->authorise('core.edit', 'com_modules') + && $user->authorise('core.edit.state', 'com_modules')) : ?> + JText::_('COM_MODULES_BATCH_OPTIONS'), + 'footer' => $this->loadTemplate('batch_footer') + ), + $this->loadTemplate('batch_body') + ); ?> + pagination->getListFooter(); ?> diff --git a/administrator/templates/hathor/html/com_users/users/default.php b/administrator/templates/hathor/html/com_users/users/default.php index 2ce27a235887d..d83e48b2f5731 100644 --- a/administrator/templates/hathor/html/com_users/users/default.php +++ b/administrator/templates/hathor/html/com_users/users/default.php @@ -207,8 +207,20 @@ - - loadTemplate('batch'); ?> + + authorise('core.create', 'com_users') + && $loggeduser->authorise('core.edit', 'com_users') + && $loggeduser->authorise('core.edit.state', 'com_users')) : ?> + JText::_('COM_USERS_BATCH_OPTIONS'), + 'footer' => $this->loadTemplate('batch_footer') + ), + $this->loadTemplate('batch_body') + ); ?> + pagination->getListFooter(); ?>