Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
c2971fb
Fix contact category association (#39358)
joomdonation Dec 17, 2022
875f634
[4.2] Deprecation Error on Logout (#39375)
brianteeman Dec 17, 2022
acc090f
[4.2] Typo (#39442)
brianteeman Dec 17, 2022
3cdd305
[4.2] typos/grammar (#39432)
brianteeman Dec 17, 2022
8116cc7
[4.2] Download Key Filters (#39376)
brianteeman Dec 17, 2022
f020637
Remove patch packages from nightly builds
HLeithner Dec 18, 2022
dd103b2
Add missing help for disable-patch-packages parameter (#39445)
richard67 Dec 18, 2022
aa6384f
[4.2] Fix template override actions (#39337)
brianteeman Dec 18, 2022
50a4f03
[4.2] Template Preview modal (#39142)
brianteeman Dec 18, 2022
8bbc625
com_finder FIX not translated Groups in content map filter (#39359)
cyrez Dec 19, 2022
e251b73
Update guzzle to 7.4.5
SniperSister Dec 16, 2022
f12f5c3
fix vulnerable npm dependencies
SniperSister Dec 16, 2022
3865393
add missing files
SniperSister Dec 16, 2022
e9b9263
Set an empty string value to the legacy otpKey and otep columns if em…
nikosdion Dec 23, 2022
b732616
[4.2] Template Override description (#39336)
brianteeman Dec 27, 2022
d294e3f
[4.2] Batch process categories -reverse ordering error (#39174)
heelc29 Dec 28, 2022
6cceeeb
Fix delete category custom fields value (#39477)
joomdonation Dec 28, 2022
d9e2152
[4.2] Fix move user to group (#39483)
heelc29 Dec 28, 2022
750679f
Fix $language default parameter (#39434)
janschoenherr Dec 28, 2022
51795bb
[4.2] fix admin module popular (#39482)
heelc29 Dec 28, 2022
a9849b5
Fix restore category from version history (#39474)
joomdonation Dec 28, 2022
bfa96c5
[4.2] Media manager improvements (#39409)
dgrammatiko Dec 28, 2022
4a999e0
Improve option handling and fix format handling in the API (#39498)
wilsonge Dec 28, 2022
b93d470
[4.2] Show permission core.admin in table of debuguser (#39481)
heelc29 Dec 28, 2022
694622e
Fix none empty string validation for MediaItem (#39476)
joomdonation Dec 28, 2022
2b711c6
Fix Deprecated warning in System - Privacy Consent plugin (#39475)
joomdonation Dec 29, 2022
778ca2e
[4.2.6] Email cloaking fails. (#39508)
LukasHH Dec 29, 2022
ccaf94b
Update Table.php (#39489)
Kurantje Dec 29, 2022
6ae3826
[4.2] Fix permission overridecheck quickicon (#39485)
heelc29 Dec 29, 2022
0433712
[4.2] Make sure we are not using downloadSources from another version…
zero-24 Dec 29, 2022
22184cb
Free the cursor! (Prevent the cursor from getting stuck in nested blo…
crystalenka Dec 29, 2022
96b4d9b
cs[4.2] Tinymce editor.css (#39124)
brianteeman Dec 29, 2022
16c109b
Fix custom field default value validation (#39354)
joomdonation Dec 29, 2022
d2dddb2
Child Templates html directory (#38986)
brianteeman Dec 29, 2022
f7a163f
[4.2] The "activate" tag is not needed in the user registration email…
Kostelano Dec 29, 2022
d8c995d
Codestyle
wilsonge Dec 30, 2022
75d6c49
Pull request for issue #39514 strpos deprecated warning (#39522)
Kaushik1216 Dec 30, 2022
4f1a4f1
Check if value in action logs message is null (#39421)
laoneo Jan 2, 2023
0d34c96
Merge branch '4.2-dev' into upmerge-2023-01-02
obuisard Jan 3, 2023
a5b63df
Merge branch '4.3-dev' into upmerge-2023-01-02
obuisard Jan 3, 2023
ebe18e7
Update composer.lock
obuisard Jan 4, 2023
ef75590
Update package-lock.json
obuisard Jan 4, 2023
71aada3
Update package.json
obuisard Jan 6, 2023
5ad676e
Update package.json
obuisard Jan 6, 2023
7e889d1
Update package.json
obuisard Jan 6, 2023
75dc9d3
Update build-com_media-js.es6.js
obuisard Jan 7, 2023
988afdb
Update build-com_media-js.es6.js
obuisard Jan 8, 2023
728f655
Update build-com_media-js.es6.js
obuisard Jan 8, 2023
038f435
Update .drone.yml
obuisard Jan 8, 2023
f181900
Update .drone.yml
obuisard Jan 8, 2023
4568725
Merge branch '4.3-dev' into upmerge-2023-01-02
obuisard Jan 8, 2023
79cb0d1
Update build/build-modules-js/javascript/build-com_media-js.es6.js
obuisard Jan 8, 2023
7140569
Update build/build-modules-js/javascript/build-com_media-js.es6.js
obuisard Jan 8, 2023
4275082
Update build/build-modules-js/javascript/build-com_media-js.es6.js
obuisard Jan 8, 2023
4d1865c
Update build/build-modules-js/javascript/build-com_media-js.es6.js
obuisard Jan 8, 2023
04a78ab
Update build/build-modules-js/javascript/build-com_media-js.es6.js
obuisard Jan 8, 2023
b885c77
Update build-com_media-js.es6.js
obuisard Jan 8, 2023
53cd9eb
Update build/build-modules-js/javascript/build-com_media-js.es6.js
obuisard Jan 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public static function getHumanReadableLogMessage($log, $generateLinks = true)

foreach ($messageData as $key => $value) {
// Escape any markup in the values to prevent XSS attacks
$value = htmlspecialchars($value, ENT_QUOTES, 'UTF-8');
$value = $value !== null ? htmlspecialchars($value, ENT_QUOTES, 'UTF-8') : '';

// Convert relative url to absolute url so that it is clickable in action logs notification email
if ($generateLinks && StringHelper::strpos($value, 'index.php?') === 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ INSERT IGNORE INTO `#__mail_templates` (`template_id`, `language`, `subject`, `b
('com_users.registration.user.admin_activation_w_pw', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_WITH_ADMIN_ACTIVATION_BODY', '', '', '{"tags":["name","sitename","activate","siteurl","username","password_clear"]}'),
('com_users.registration.user.self_activation', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY_NOPW', '', '', '{"tags":["name","sitename","activate","siteurl","username"]}'),
('com_users.registration.user.self_activation_w_pw', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY', '', '', '{"tags":["name","sitename","activate","siteurl","username","password_clear"]}'),
('com_users.registration.user.registration_mail', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_BODY_NOPW', '', '', '{"tags":["name","sitename","activate","siteurl","username"]}'),
('com_users.registration.user.registration_mail_w_pw', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_BODY', '', '', '{"tags":["name","sitename","activate","siteurl","username","password_clear"]}'),
('com_users.registration.user.registration_mail', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_BODY_NOPW', '', '', '{"tags":["name","sitename","siteurl","username"]}'),
('com_users.registration.user.registration_mail_w_pw', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_BODY', '', '', '{"tags":["name","sitename","siteurl","username","password_clear"]}'),
('com_users.registration.admin.new_notification', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_NOTIFICATION_TO_ADMIN_BODY', '', '', '{"tags":["name","sitename","siteurl","username"]}'),
('com_users.registration.user.admin_activated', '', 'COM_USERS_EMAIL_ACTIVATED_BY_ADMIN_ACTIVATION_SUBJECT', 'COM_USERS_EMAIL_ACTIVATED_BY_ADMIN_ACTIVATION_BODY', '', '', '{"tags":["name","sitename","siteurl","username"]}'),
('com_users.registration.admin.verification_request', '', 'COM_USERS_EMAIL_ACTIVATE_WITH_ADMIN_ACTIVATION_SUBJECT', 'COM_USERS_EMAIL_ACTIVATE_WITH_ADMIN_ACTIVATION_BODY', '', '', '{"tags":["name","sitename","email","username","activate"]}'),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
UPDATE `#__mail_templates`
SET `params` = '{"tags":["name","sitename","siteurl","username"]}'
WHERE `template_id` = 'com_users.registration.user.registration_mail' AND `params` = '{"tags":["name","sitename","activate","siteurl","username"]}';

UPDATE `#__mail_templates`
SET `params` = '{"tags":["name","sitename","siteurl","username","password_clear"]}'
WHERE `template_id` = 'com_users.registration.user.registration_mail_w_pw' AND `params` = '{"tags":["name","sitename","activate","siteurl","username","password_clear"]}';
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ INSERT INTO "#__mail_templates" ("template_id", "language", "subject", "body", "
('com_users.registration.user.admin_activation_w_pw', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_WITH_ADMIN_ACTIVATION_BODY', '', '', '{"tags":["name","sitename","activate","siteurl","username","password_clear"]}'),
('com_users.registration.user.self_activation', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY_NOPW', '', '', '{"tags":["name","sitename","activate","siteurl","username"]}'),
('com_users.registration.user.self_activation_w_pw', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY', '', '', '{"tags":["name","sitename","activate","siteurl","username","password_clear"]}'),
('com_users.registration.user.registration_mail', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_BODY_NOPW', '', '', '{"tags":["name","sitename","activate","siteurl","username"]}'),
('com_users.registration.user.registration_mail_w_pw', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_BODY', '', '', '{"tags":["name","sitename","activate","siteurl","username","password_clear"]}'),
('com_users.registration.user.registration_mail', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_BODY_NOPW', '', '', '{"tags":["name","sitename","siteurl","username"]}'),
('com_users.registration.user.registration_mail_w_pw', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_BODY', '', '', '{"tags":["name","sitename","siteurl","username","password_clear"]}'),
('com_users.registration.admin.new_notification', '', 'COM_USERS_EMAIL_ACCOUNT_DETAILS', 'COM_USERS_EMAIL_REGISTERED_NOTIFICATION_TO_ADMIN_BODY', '', '', '{"tags":["name","sitename","siteurl","username"]}'),
('com_users.registration.user.admin_activated', '', 'COM_USERS_EMAIL_ACTIVATED_BY_ADMIN_ACTIVATION_SUBJECT', 'COM_USERS_EMAIL_ACTIVATED_BY_ADMIN_ACTIVATION_BODY', '', '', '{"tags":["name","sitename","siteurl","username"]}'),
('com_users.registration.admin.verification_request', '', 'COM_USERS_EMAIL_ACTIVATE_WITH_ADMIN_ACTIVATION_SUBJECT', 'COM_USERS_EMAIL_ACTIVATE_WITH_ADMIN_ACTIVATION_BODY', '', '', '{"tags":["name","sitename","email","username","activate"]}'),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
UPDATE "#__mail_templates"
SET "params" = '{"tags":["name","sitename","siteurl","username"]}'
WHERE "template_id" = 'com_users.registration.user.registration_mail' AND "params" = '{"tags":["name","sitename","activate","siteurl","username"]}';

UPDATE "#__mail_templates"
SET "params" = '{"tags":["name","sitename","siteurl","username","password_clear"]}'
WHERE "template_id" = 'com_users.registration.user.registration_mail_w_pw' AND "params" = '{"tags":["name","sitename","activate","siteurl","username","password_clear"]}';
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,17 @@ public static function getCategoryAssociations($id = 0, $extension = 'com_conten
if (class_exists($helperClassname) && \is_callable(array($helperClassname, 'getCategoryRoute'))) {
$return[$tag] = $helperClassname::getCategoryRoute($item, $tag, $layout);
} else {
$viewLayout = $layout ? '&layout=' . $layout : '';
$link = 'index.php?option=' . $extension . '&view=category&id=' . $item;

$return[$tag] = 'index.php?option=' . $extension . '&view=category&id=' . $item . $viewLayout;
if ($tag && $tag !== '*') {
$link .= '&lang=' . $tag;
}

if ($layout) {
$link .= '&layout=' . $layout;
}

$return[$tag] = $link;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,8 @@ protected function batchFlipordering($value, $pks, $contexts)
* Re-order with max - ordering
*/
foreach ($pks as $id) {
$query->select('MAX(' . $db->quoteName('ordering') . ')')
$query->clear()
->select('MAX(' . $db->quoteName('ordering') . ')')
->from($db->quoteName('#__content'))
->where($db->quoteName('catid') . ' = :catid')
->bind(':catid', $id, ParameterType::INTEGER);
Expand All @@ -835,9 +836,8 @@ protected function batchFlipordering($value, $pks, $contexts)
$max = (int) $db->loadResult();
$max++;

$query->clear();

$query->update($db->quoteName('#__content'))
$query->clear()
->update($db->quoteName('#__content'))
->set($db->quoteName('ordering') . ' = :max - ' . $db->quoteName('ordering'))
->where($db->quoteName('catid') . ' = :catid')
->bind(':max', $max, ParameterType::INTEGER)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,21 @@ protected function addToolbar(): Toolbar
$token = Session::getFormToken();

// Clean up input to ensure a clean url.
$aliasArray = explode('.', $this->state->item_id);
$option = $aliasArray[1] == 'category'
? 'com_categories&extension=' . implode('.', array_slice($aliasArray, 0, count($aliasArray) - 2))
: $aliasArray[0];
$filter = InputFilter::getInstance();
$aliasArray = explode('.', $this->state->item_id);

if ($aliasArray[1] === 'category') {
$option = 'com_categories';
$append = '&extension=' . $filter->clean($aliasArray[0], 'cmd');
} else {
$option = $aliasArray[0];
$append = '';
}

$task = $filter->clean($aliasArray[1], 'cmd') . '.loadhistory';

// Build the final urls.
$loadUrl = Route::_('index.php?option=' . $filter->clean($option, 'cmd') . '&task=' . $task . '&' . $token . '=1');
$loadUrl = Route::_('index.php?option=' . $filter->clean($option, 'cmd') . $append . '&task=' . $task . '&' . $token . '=1');
$previewUrl = Route::_('index.php?option=com_contenthistory&view=preview&layout=preview&tmpl=component&' . $token . '=1');
$compareUrl = Route::_('index.php?option=com_contenthistory&view=compare&layout=compare&tmpl=component&' . $token . '=1');

Expand Down
11 changes: 10 additions & 1 deletion administrator/components/com_fields/src/Model/FieldModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,17 @@ private function checkDefaultValue($data)
}

try {
$element = simplexml_import_dom($node->firstChild);
$value = $data['default_value'];

if ($data['type'] === 'checkboxes') {
$value = explode(',', $value);
} elseif ($element['multiple'] && \is_string($value) && \is_array(json_decode($value, true))) {
$value = (array)json_decode($value);
}

// Perform the check
$result = $rule->test(simplexml_import_dom($node->firstChild), $data['default_value']);
$result = $rule->test($element, $value);

// Check if the test succeeded
return $result === true ? : Text::_('COM_FIELDS_FIELD_INVALID_DEFAULT_VALUE');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ protected function getGroups()
}

foreach ($parents[1] as $branch) {
$groups[$branch->text] = $this->prepareLevel($branch->value, $parents);
$text = Text::_(LanguageHelper::branchSingular($branch->text));
$groups[$text] = $this->prepareLevel($branch->value, $parents);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,34 +29,33 @@ window.MediaManager = window.MediaManager || {};
window.MediaManager.Event = new Event();

// Create the Vue app instance
const app = createApp(App);
app.use(store);
app.use(translate);
createApp(App)
.use(store)
.use(translate)

// Register the vue components
app.component('MediaDrive', Drive);
app.component('MediaDisk', Disk);
app.component('MediaTree', Tree);
app.component('MediaToolbar', Toolbar);
app.component('MediaBreadcrumb', Breadcrumb);
app.component('MediaBrowser', Browser);
app.component('MediaBrowserItem', BrowserItem);
app.component('MediaBrowserItemRow', BrowserItemRow);
app.component('MediaModal', Modal);
app.component('MediaCreateFolderModal', CreateFolderModal);
app.component('MediaPreviewModal', PreviewModal);
app.component('MediaRenameModal', RenameModal);
app.component('MediaShareModal', ShareModal);
app.component('MediaConfirmDeleteModal', ConfirmDeleteModal);
app.component('MediaInfobar', Infobar);
app.component('MediaUpload', Upload);
app.component('MediaBrowserActionItemToggle', Toggle);
app.component('MediaBrowserActionItemPreview', Preview);
app.component('MediaBrowserActionItemDownload', Download);
app.component('MediaBrowserActionItemRename', Rename);
app.component('MediaBrowserActionItemShare', Share);
app.component('MediaBrowserActionItemDelete', Delete);
app.component('MediaBrowserActionItemEdit', Edit);
app.component('MediaBrowserActionItemsContainer', Container);

app.mount('#com-media');
// Register the vue components
.component('MediaDrive', Drive)
.component('MediaDisk', Disk)
.component('MediaTree', Tree)
.component('MediaToolbar', Toolbar)
.component('MediaBreadcrumb', Breadcrumb)
.component('MediaBrowser', Browser)
.component('MediaBrowserItem', BrowserItem)
.component('MediaBrowserItemRow', BrowserItemRow)
.component('MediaModal', Modal)
.component('MediaCreateFolderModal', CreateFolderModal)
.component('MediaPreviewModal', PreviewModal)
.component('MediaRenameModal', RenameModal)
.component('MediaShareModal', ShareModal)
.component('MediaConfirmDeleteModal', ConfirmDeleteModal)
.component('MediaInfobar', Infobar)
.component('MediaUpload', Upload)
.component('MediaBrowserActionItemToggle', Toggle)
.component('MediaBrowserActionItemPreview', Preview)
.component('MediaBrowserActionItemDownload', Download)
.component('MediaBrowserActionItemRename', Rename)
.component('MediaBrowserActionItemShare', Share)
.component('MediaBrowserActionItemDelete', Delete)
.component('MediaBrowserActionItemEdit', Edit)
.component('MediaBrowserActionItemsContainer', Container)
.mount('#com-media');
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// The options for persisting state
// eslint-disable-next-line import/prefer-default-export
export const persistedStateOptions = {
key: 'joomla.mediamanager',
paths: [
'selectedDirectory',
'showInfoBar',
'listView',
'gridSize',
'search',
],
storage: window.sessionStorage,
key: 'joomla.mediamanager',
reducer: (state) => ({
selectedDirectory: state.selectedDirectory,
showInfoBar: state.showInfoBar,
listView: state.listView,
gridSize: state.gridSize,
search: state.search,
}),
};
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import { createStore } from 'vuex';
import createPersistedState from 'vuex-persistedstate';
import VuexPersistence from 'vuex-persist';
import state from './state.es6';
import * as getters from './getters.es6';
import * as actions from './actions.es6';
import mutations from './mutations.es6';
import { persistedStateOptions } from './plugins/persisted-state.es6';

import { persistedStateOptions } from './plugins/persisted-state.es6.js';
// A Vuex instance is created by combining the state, mutations, actions, and getters.
export default createStore({
state,
getters,
actions,
mutations,
plugins: [createPersistedState(persistedStateOptions)],
plugins: [new VuexPersistence(persistedStateOptions).plugin],
strict: (process.env.NODE_ENV !== 'production'),
});
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ protected function validate(\stdClass $item): void
}

// Non empty string
if (empty($item->name) || !is_string($item->name)) {
if (!isset($item->name) || !is_string($item->name) || trim($item->name) === '') {
throw new \BadMethodCallException("Property 'name' of argument 'item' of event {$this->name} has a wrong item. Valid: non empty string");
}

// Non empty string
if (empty($item->path) || !is_string($item->path)) {
if (!isset($item->path) || !is_string($item->path) || trim($item->path) === '') {
throw new \BadMethodCallException("Property 'path' of argument 'item' of event {$this->name} has a wrong item. Valid: non empty string");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,9 @@ public function child()
}
}

// Create the html folder
Folder::create($toPath . '/html');

// Copy the template definition from the parent template
if (!File::copy($fromPath, $toPath . '/templateDetails.xml')) {
return false;
Expand Down Expand Up @@ -1932,6 +1935,7 @@ public function child()

$files = $xml->addChild('files');
$files->addChild('filename', 'templateDetails.xml');
$files->addChild('folder', 'html');

// Media folder
$media = $xml->addChild('media');
Expand All @@ -1940,7 +1944,6 @@ public function child()
$media->addChild('folder', 'css');
$media->addChild('folder', 'js');
$media->addChild('folder', 'images');
$media->addChild('folder', 'html');
$media->addChild('folder', 'scss');

$xml->name = $template->element . '_' . $newName;
Expand Down Expand Up @@ -1971,7 +1974,6 @@ public function child()
|| !Folder::create($toPath . '/media/css')
|| !Folder::create($toPath . '/media/js')
|| !Folder::create($toPath . '/media/images')
|| !Folder::create($toPath . '/media/html/tinymce')
|| !Folder::create($toPath . '/media/scss')
) {
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function thumbModal($template, $clientId = 0)

$html .= HTMLHelper::_(
'bootstrap.renderModal',
$template->name . '-Modal',
$template->element . '-Modal',
array(
'title' => Text::sprintf('COM_TEMPLATES_SCREENSHOT', ucfirst($template->name)),
'height' => '500px',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ protected function addToolbar()
}
}

if (count($this->updatedList) !== 0 && $this->pluginState) {
if (count($this->updatedList) !== 0 && $this->pluginState && $this->type === 'home') {
$dropdown = $bar->dropdownButton('override-group')
->text('COM_TEMPLATES_BUTTON_CHECK')
->toggleSplit(false)
Expand Down
2 changes: 1 addition & 1 deletion administrator/components/com_users/src/Model/UserModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ public function batchUser($groupId, $userIds, $action)
} elseif ($doDelete === 'all') {
$query = $db->getQuery(true);
$query->delete($db->quoteName('#__user_usergroup_map'))
->whereIn($db->quoteName('user_id'), $users);
->whereIn($db->quoteName('user_id'), $userIds);
}
$db->setQuery($query);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
// Split the actions table
foreach ($this->actions as $action) :
$name = $action[0];
if (in_array($name, ['core.login.site', 'core.login.admin', 'core.login.offline', 'core.login.api', 'core.admin'])) :
if (in_array($name, ['core.login.site', 'core.login.admin', 'core.login.api', 'core.login.offline'])) :
$loginActions[] = $action;
else :
$actions[] = $action;
Expand Down
6 changes: 3 additions & 3 deletions administrator/language/en-GB/com_installer.ini
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,10 @@ COM_INSTALLER_VALUE_FOLDER_NONAPPLICABLE="N/A"
COM_INSTALLER_VALUE_FOLDER_SELECT="- Select Folder -"
COM_INSTALLER_VALUE_PACKAGE_ID_SELECT="- Select Package -"
COM_INSTALLER_VALUE_STATE_SELECT="- Select Status -"
COM_INSTALLER_VALUE_SUPPORTED_EXISTS="Download Key valid"
COM_INSTALLER_VALUE_SUPPORTED_MISSING="Download Key invalid"
COM_INSTALLER_VALUE_SUPPORTED_EXISTS="Download Key Exists"
COM_INSTALLER_VALUE_SUPPORTED_MISSING="Download Key Missing"
COM_INSTALLER_VALUE_SUPPORTED_SELECT="- Select Download Key -"
COM_INSTALLER_VALUE_SUPPORTED_SUPPORTED="Download Key supported"
COM_INSTALLER_VALUE_SUPPORTED_SUPPORTED="Download Key Supported"
COM_INSTALLER_VALUE_TYPE_SELECT="- Select Type -"
COM_INSTALLER_XML_DESCRIPTION="Installer component for adding, removing and upgrading extensions"

Expand Down
Loading