Skip to content

Commit 43184ed

Browse files
committed
Merge branch '4.0-dev' of github.com:joomla/joomla-cms into 4.1-dev
2 parents bbcaf55 + 321acac commit 43184ed

File tree

73 files changed

+712
-10879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+712
-10879
lines changed

administrator/components/com_banners/tmpl/download/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
use Joomla\CMS\HTML\HTMLHelper;
1313
use Joomla\CMS\Router\Route;
14-
use \Joomla\CMS\Session\Session;
14+
use Joomla\CMS\Session\Session;
1515

1616
/** @var \Joomla\Component\Banners\Administrator\View\Download\HtmlView $this */
1717

administrator/components/com_cache/src/View/Cache/HtmlView.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
\defined('_JEXEC') or die;
1313

14-
use Exception;
1514
use Joomla\CMS\Factory;
1615
use Joomla\CMS\Form\Form;
1716
use Joomla\CMS\Language\Text;

administrator/components/com_installer/tmpl/update/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
</td>
125125
<td class="d-none d-md-table-cell text-center">
126126
<?php if (!empty($item->changelogurl)) : ?>
127-
<a href="#changelogModal<?php echo $item->extension_id; ?>" class="btn btn-info btn-xs changelogModal" data-js-extensionid="<?php echo $item->extension_id; ?>" data-js-view="update" data-bs-toggle="modal">
127+
<a href="#changelogModal<?php echo $item->extension_id; ?>" class="btn btn-info btn-sm changelogModal" data-js-extensionid="<?php echo $item->extension_id; ?>" data-js-view="update" data-bs-toggle="modal">
128128
<?php echo Text::_('COM_INSTALLER_CHANGELOG'); ?>
129129
</a>
130130
<?php

administrator/components/com_joomlaupdate/tmpl/joomlaupdate/reinstall.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Joomla\CMS\HTML\HTMLHelper;
1414
use Joomla\CMS\Language\Text;
1515
use Joomla\CMS\Layout\LayoutHelper;
16-
use Joomla\CMS\Session\Session;
1716

1817
/** @var HtmlView $this */
1918

administrator/components/com_joomlaupdate/tmpl/joomlaupdate/selfupdate.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
*/
99
defined('_JEXEC') or die;
1010

11-
use Joomla\CMS\Factory;
12-
use Joomla\CMS\Language\Text;
1311
use Joomla\CMS\Layout\LayoutHelper;
1412

1513
$displayData = [

administrator/components/com_joomlaupdate/tmpl/joomlaupdate/update.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Joomla\CMS\HTML\HTMLHelper;
1414
use Joomla\CMS\Language\Text;
1515
use Joomla\CMS\Layout\LayoutHelper;
16-
use Joomla\CMS\Session\Session;
1716

1817
/** @var HtmlView $this */
1918

administrator/language/en-GB/com_categories.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ COM_CATEGORIES_N_ITEMS_UNPUBLISHED_1="Category unpublished."
5656
COM_CATEGORIES_N_QUICKICON="Article Categories"
5757
COM_CATEGORIES_N_QUICKICON_0="Article Categories"
5858
COM_CATEGORIES_N_QUICKICON_1="Article Category"
59-
COM_CATEGORIES_N_QUICKICON_SRONLY="Categories: %s article categories are published."
59+
COM_CATEGORIES_N_QUICKICON_SRONLY="Categories: %d article categories are published."
6060
COM_CATEGORIES_N_QUICKICON_SRONLY_0="Categories: No article category is published."
6161
COM_CATEGORIES_N_QUICKICON_SRONLY_1="Categories: One article category is published."
6262
COM_CATEGORIES_NEW_CATEGORY="New Category"

administrator/modules/mod_menu/src/Menu/CssMenu.php

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,19 @@ protected function preprocess($parent)
310310
}
311311
}
312312

313+
$uri = new Uri($item->link);
314+
$query = $uri->getQuery(true);
315+
316+
/**
317+
* If component is passed in the link via option variable, we set $item->element to this value for further
318+
* processing. It is needed for links from menu items of third party extensions link to Joomla! core
319+
* components like com_categories, com_fields...
320+
*/
321+
if ($option = $uri->getVar('option'))
322+
{
323+
$item->element = $option;
324+
}
325+
313326
// Exclude item if is not enabled
314327
if ($item->element && !ComponentHelper::isEnabled($item->element))
315328
{
@@ -340,13 +353,10 @@ protected function preprocess($parent)
340353

341354
if ($item->element === 'com_categories')
342355
{
343-
parse_str($item->link, $query);
344356
$assetName = $query['extension'] ?? 'com_content';
345357
}
346358
elseif ($item->element === 'com_fields')
347359
{
348-
parse_str($item->link, $query);
349-
350360
// Only display Fields menus when enabled in the component
351361
$createFields = null;
352362

@@ -381,8 +391,6 @@ protected function preprocess($parent)
381391
}
382392
elseif ($item->element === 'com_workflow')
383393
{
384-
parse_str($item->link, $query);
385-
386394
// Only display Workflow menus when enabled in the component
387395
$workflow = null;
388396

@@ -419,8 +427,6 @@ protected function preprocess($parent)
419427
}
420428
elseif ($item->element === 'com_admin')
421429
{
422-
parse_str($item->link, $query);
423-
424430
if (isset($query['view']) && $query['view'] === 'sysinfo' && !$user->authorise('core.admin'))
425431
{
426432
$parent->removeChild($item);

administrator/templates/atum/index.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@
115115
<img class="logo-collapsed" src="<?php echo $logoBrandSmall; ?>" <?php echo $logoBrandSmallAlt; ?>>
116116
</div>
117117
<?php else : ?>
118-
<a class="logo <?php echo $sidebarState === 'closed' ? 'small' : ''; ?>" href="<?php echo Route::_('index.php'); ?>"
119-
aria-label="<?php echo Text::_('TPL_ATUM_BACK_TO_CONTROL_PANEL'); ?>">
120-
<img src="<?php echo $logoBrandLarge; ?>" <?php echo $logoBrandLargeAlt; ?>>
121-
<img class="logo-collapsed" src="<?php echo $logoBrandSmall; ?>" <?php echo $logoBrandSmallAlt; ?>>
118+
<a class="logo <?php echo $sidebarState === 'closed' ? 'small' : ''; ?>" href="<?php echo Route::_('index.php'); ?>">
119+
<img src="<?php echo $logoBrandLarge; ?>" alt="<?php echo Text::_('TPL_ATUM_BACK_TO_CONTROL_PANEL'); ?>">
120+
<img class="logo-collapsed" src="<?php echo $logoBrandSmall; ?>" alt="<?php echo Text::_('TPL_ATUM_BACK_TO_CONTROL_PANEL'); ?>">
122121
</a>
123122
<?php endif; ?>
124123
</div>

administrator/templates/atum/scss/blocks/_form.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,21 +133,6 @@ td .form-control {
133133
bottom: auto;
134134
}
135135

136-
.input-group-append {
137-
overflow: hidden;
138-
transform: translate3d(0, 0, 0);
139-
140-
[dir=ltr] & {
141-
border-top-right-radius: $border-radius;
142-
border-bottom-right-radius: $border-radius;
143-
}
144-
145-
[dir=rtl] & {
146-
border-top-left-radius: $border-radius;
147-
border-bottom-left-radius: $border-radius;
148-
}
149-
}
150-
151136
.input-group > .form-control[readonly] {
152137
margin-right: 1px;
153138
}

0 commit comments

Comments
 (0)