Skip to content

Commit d78fd1d

Browse files
authored
Merge branch 'staging' into staging
2 parents 05d74c4 + b3431c5 commit d78fd1d

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

administrator/components/com_contact/views/contacts/tmpl/modal.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
?>
4747
<div class="container-popup">
4848

49-
<form action="<?php echo JRoute::_('index.php?option=com_contact&view=contacts&layout=modal&tmpl=component&function=' . $function . '&' . JSession::getFormToken() . '=1'); ?>" method="post" name="adminForm" id="adminForm" class="form-inline">
49+
<form action="<?php echo JRoute::_('index.php?option=com_contact&view=contacts&layout=modal&tmpl=component&editor=' . $editor . '&function=' . $function . '&' . JSession::getFormToken() . '=1'); ?>" method="post" name="adminForm" id="adminForm" class="form-inline">
5050

5151
<?php echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
5252

@@ -123,7 +123,7 @@
123123
<a class="select-link" href="javascript:void(0)" data-function="<?php echo $this->escape($onclick); ?>" data-id="<?php echo $item->id; ?>" data-title="<?php echo $this->escape($item->name); ?>" data-uri="<?php echo $this->escape(ContactHelperRoute::getContactRoute($item->id, $item->catid, $item->language)); ?>" data-language="<?php echo $this->escape($lang); ?>">
124124
<?php echo $this->escape($item->name); ?>
125125
</a>
126-
<?php echo $this->escape($item->name); ?></a>
126+
<?php echo $this->escape($item->name); ?>
127127
<div class="small">
128128
<?php echo JText::_('JCATEGORY') . ': ' . $this->escape($item->category_title); ?>
129129
</div>

administrator/components/com_fields/views/fields/tmpl/modal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
?>
3131
<div class="container-popup">
3232

33-
<form action="<?php echo JRoute::_('index.php?option=com_fields&view=fields&layout=modal&tmpl=component&' . JSession::getFormToken() . '=1'); ?>" method="post" name="adminForm" id="adminForm">
33+
<form action="<?php echo JRoute::_('index.php?option=com_fields&view=fields&layout=modal&tmpl=component&editor=' . $editor . '&' . JSession::getFormToken() . '=1'); ?>" method="post" name="adminForm" id="adminForm">
3434

3535
<?php echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
3636
<?php if (empty($this->items)) : ?>

administrator/components/com_languages/views/multilangstatus/tmpl/default.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@
9696
<?php endif; ?>
9797
<?php endforeach; ?>
9898
<?php if ($this->listUsersError) : ?>
99-
<tr class="info">
99+
<tr class="warning">
100100
<td>
101-
<span class="icon-help" aria-hidden="true"></span><span class="element-invisible"><?php echo JText::_('JHELP'); ?></span>
101+
<span class="icon-pending" aria-hidden="true"></span><span class="element-invisible"><?php echo JText::_('WARNING'); ?></span>
102102
</td>
103103
<td>
104104
<?php echo JText::_('COM_LANGUAGES_MULTILANGSTATUS_CONTACTS_ERROR_TIP'); ?>

administrator/components/com_templates/views/style/tmpl/edit_assignment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
defined('_JEXEC') or die;
1111

12-
// Initiasile related data.
12+
// Initialise related data.
1313
JLoader::register('MenusHelper', JPATH_ADMINISTRATOR . '/components/com_menus/helpers/menus.php');
1414
$menuTypes = MenusHelper::getMenuLinks();
1515
$user = JFactory::getUser();
@@ -26,14 +26,14 @@
2626
<?php foreach ($menuTypes as &$type) : ?>
2727
<li>
2828
<div class="menu-links-block">
29-
<button class="btn jform-rightbtn" type="button" onclick="jQuery('.<?php echo $type->menutype; ?>').attr('checked', !jQuery('.<?php echo $type->menutype; ?>').attr('checked'));">
29+
<button class="btn jform-rightbtn" type="button" onclick="jQuery('.menutype-<?php echo $type->menutype; ?>').attr('checked', !jQuery('.menutype-<?php echo $type->menutype; ?>').attr('checked'));">
3030
<span class="icon-checkbox-partial" aria-hidden="true"></span> <?php echo JText::_('JGLOBAL_SELECTION_INVERT'); ?>
3131
</button>
3232
<h5><?php echo $type->title ?: $type->menutype; ?></h5>
3333

3434
<?php foreach ($type->links as $link) : ?>
3535
<label class="checkbox small" for="link<?php echo (int) $link->value; ?>" >
36-
<input type="checkbox" name="jform[assigned][]" value="<?php echo (int) $link->value; ?>" id="link<?php echo (int) $link->value; ?>"<?php if ($link->template_style_id == $this->item->id) : ?> checked="checked"<?php endif; ?><?php if ($link->checked_out && $link->checked_out != $user->id) : ?> disabled="disabled"<?php else : ?> class="chk-menulink <?php echo $type->menutype; ?>"<?php endif; ?> />
36+
<input type="checkbox" name="jform[assigned][]" value="<?php echo (int) $link->value; ?>" id="link<?php echo (int) $link->value; ?>"<?php if ($link->template_style_id == $this->item->id) : ?> checked="checked"<?php endif; ?><?php if ($link->checked_out && $link->checked_out != $user->id) : ?> disabled="disabled"<?php else : ?> class="chk-menulink menutype-<?php echo $type->menutype; ?>"<?php endif; ?> />
3737
<?php echo JLayoutHelper::render('joomla.html.treeprefix', array('level' => $link->level)) . $link->text; ?>
3838
</label>
3939
<?php endforeach; ?>

modules/mod_tags_popular/helper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ public static function getList(&$params)
8484

8585
$query->where($db->quoteName('m.type_alias') . ' = ' . $db->quoteName('c.core_type_alias'));
8686

87-
// Only return tags connected to published articles
87+
// Only return tags connected to published and authorised items
8888
$query->where($db->quoteName('c.core_state') . ' = 1')
89+
->where($db->quoteName('c.core_access') . ' IN (' . $groups . ')')
8990
->where('(' . $db->quoteName('c.core_publish_up') . ' = ' . $nullDate
9091
. ' OR ' . $db->quoteName('c.core_publish_up') . ' <= ' . $db->quote($nowDate) . ')')
9192
->where('(' . $db->quoteName('c.core_publish_down') . ' = ' . $nullDate

plugins/system/actionlogs/actionlogs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public function onUserAfterSave($user, $isNew, $success, $msg)
319319
}
320320

321321
// Clear access rights in case user groups were changed.
322-
$userObject = Factory::getUser($user['id']);
322+
$userObject = new User($user['id']);
323323
$userObject->clearAccessRights();
324324
$authorised = $userObject->authorise('core.admin');
325325

templates/protostar/error.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575
<?php if ($this->direction === 'rtl') : ?>
7676
<link href="<?php echo JUri::root(true); ?>/media/jui/css/bootstrap-rtl.css" rel="stylesheet" />
7777
<?php endif; ?>
78+
<?php if (file_exists('templates/' . $this->template . '/css/user.css')) : ?>
79+
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/user.css" rel="stylesheet" />
80+
<?php endif; ?>
7881
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
7982
<?php // Template color ?>
8083
<?php if ($params->get('templateColor')) : ?>

0 commit comments

Comments
 (0)