diff --git a/administrator/components/com_contact/View/Contacts/HtmlView.php b/administrator/components/com_contact/View/Contacts/HtmlView.php index c40fa068c71e3..e321c9506d46a 100644 --- a/administrator/components/com_contact/View/Contacts/HtmlView.php +++ b/administrator/components/com_contact/View/Contacts/HtmlView.php @@ -20,7 +20,6 @@ use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView; use Joomla\CMS\Toolbar\Toolbar; use Joomla\CMS\Toolbar\ToolbarHelper; -use Joomla\Component\Contact\Administrator\Helper\ContactHelper; /** * View class for a list of contacts. @@ -64,13 +63,6 @@ class HtmlView extends BaseHtmlView */ public $activeFilters; - /** - * The sidebar markup - * - * @var string - */ - protected $sidebar; - /** * Display the view. * @@ -80,11 +72,6 @@ class HtmlView extends BaseHtmlView */ public function display($tpl = null) { - if ($this->getLayout() !== 'modal') - { - ContactHelper::addSubmenu('contacts'); - } - $this->items = $this->get('Items'); $this->pagination = $this->get('Pagination'); $this->state = $this->get('State'); @@ -109,7 +96,6 @@ public function display($tpl = null) if ($this->getLayout() !== 'modal') { $this->addToolbar(); - $this->sidebar = \JHtmlSidebar::render(); // We do not need to filter by language when multilingual is disabled if (!Multilanguage::isEnabled()) @@ -223,8 +209,6 @@ protected function addToolbar() } $toolbar->help('JHELP_COMPONENTS_CONTACTS_CONTACTS'); - - HTMLHelper::_('sidebar.setAction', 'index.php?option=com_contact'); } /** diff --git a/administrator/components/com_contact/tmpl/contacts/default.php b/administrator/components/com_contact/tmpl/contacts/default.php index 72551b89ec6ea..26b1f617528dd 100644 --- a/administrator/components/com_contact/tmpl/contacts/default.php +++ b/administrator/components/com_contact/tmpl/contacts/default.php @@ -36,12 +36,7 @@ ?>
- sidebar)) : ?> -
- sidebar; ?> -
- -
+
$this)); ?> items)) : ?> diff --git a/administrator/components/com_fields/View/Fields/HtmlView.php b/administrator/components/com_fields/View/Fields/HtmlView.php index 7ada27f5fdba5..576f49c515b44 100644 --- a/administrator/components/com_fields/View/Fields/HtmlView.php +++ b/administrator/components/com_fields/View/Fields/HtmlView.php @@ -66,13 +66,6 @@ class HtmlView extends BaseHtmlView */ protected $state; - /** - * @var string - * - * @since 3.7.0 - */ - protected $sidebar; - /** * Execute and display a template script. * @@ -117,9 +110,6 @@ public function display($tpl = null) } } - FieldsHelper::addSubmenu($this->state->get('filter.context'), 'fields'); - $this->sidebar = \JHtmlSidebar::render(); - return parent::display($tpl); } diff --git a/administrator/components/com_fields/View/Groups/HtmlView.php b/administrator/components/com_fields/View/Groups/HtmlView.php index 937c03f43942d..5d5f48b5fdd4c 100644 --- a/administrator/components/com_fields/View/Groups/HtmlView.php +++ b/administrator/components/com_fields/View/Groups/HtmlView.php @@ -66,13 +66,6 @@ class HtmlView extends BaseHtmlView */ protected $state; - /** - * @var string - * - * @since 3.7.0 - */ - protected $sidebar; - /** * Execute and display a template script. * @@ -113,9 +106,6 @@ public function display($tpl = null) $this->filterForm->removeField('language', 'filter'); } - FieldsHelper::addSubmenu($this->state->get('filter.context'), 'groups'); - $this->sidebar = \JHtmlSidebar::render(); - return parent::display($tpl); } diff --git a/administrator/components/com_fields/tmpl/fields/default.php b/administrator/components/com_fields/tmpl/fields/default.php index 9995aa878bed2..d2159de56ab85 100644 --- a/administrator/components/com_fields/tmpl/fields/default.php +++ b/administrator/components/com_fields/tmpl/fields/default.php @@ -49,12 +49,7 @@
- sidebar)) { ?> -
- sidebar; ?> -
- -
+
$this, 'options' => array('selectorFieldName' => 'context'))); ?> items)) : ?> diff --git a/administrator/components/com_fields/tmpl/groups/default.php b/administrator/components/com_fields/tmpl/groups/default.php index 4a704146c148b..5b2b21561d428 100644 --- a/administrator/components/com_fields/tmpl/groups/default.php +++ b/administrator/components/com_fields/tmpl/groups/default.php @@ -47,12 +47,7 @@
- sidebar)) { ?> -
- sidebar; ?> -
- -
+
$this, 'options' => array('selectorFieldName' => 'context'))); ?> items)) : ?>