From 3502094d6cc4b2b8b3cfd23454eff4c836d1da37 Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Mon, 5 Sep 2022 12:15:06 +0100 Subject: [PATCH] Codestyle indent (#38399) * Codestyle indent Small change to fix codestyle indent code review * Update default.php * more --- .../com_banners/tmpl/banners/default.php | 7 ++++--- .../com_categories/tmpl/categories/default.php | 7 ++++--- .../com_contact/tmpl/contacts/default.php | 7 ++++--- .../com_content/tmpl/articles/default.php | 7 ++++--- .../com_fields/tmpl/fields/default.php | 7 ++++--- .../com_fields/tmpl/groups/default.php | 7 ++++--- .../com_modules/tmpl/modules/default.php | 7 ++++--- .../com_newsfeeds/tmpl/newsfeeds/default.php | 7 ++++--- .../com_redirect/tmpl/links/default.php | 7 ++++--- .../components/com_tags/tmpl/tags/default.php | 7 ++++--- .../com_users/tmpl/users/default.php | 7 ++++--- .../tmpl/contact/default_address.php | 7 ++++--- layouts/joomla/content/info_block.php | 18 ++++++++++-------- .../tmpl/default_items.php | 7 ++++--- 14 files changed, 62 insertions(+), 47 deletions(-) diff --git a/administrator/components/com_banners/tmpl/banners/default.php b/administrator/components/com_banners/tmpl/banners/default.php index 1f8a3d6fdd8..bbbf39629fc 100644 --- a/administrator/components/com_banners/tmpl/banners/default.php +++ b/administrator/components/com_banners/tmpl/banners/default.php @@ -177,11 +177,12 @@ if ($saveOrder && !empty($this->items)) { pagination->getListFooter(); ?> - authorise('core.create', 'com_banners') + authorise('core.create', 'com_banners') && $user->authorise('core.edit', 'com_banners') && $user->authorise('core.edit.state', 'com_banners') -) : ?> + ) : ?> items)) { pagination->getListFooter(); ?> - authorise('core.create', $extension) + authorise('core.create', $extension) && $user->authorise('core.edit', $extension) && $user->authorise('core.edit.state', $extension) -) : ?> + ) : ?> items)) { pagination->getListFooter(); ?> - authorise('core.create', 'com_contact') + authorise('core.create', 'com_contact') && $user->authorise('core.edit', 'com_contact') && $user->authorise('core.edit.state', 'com_contact') -) : ?> + ) : ?> pagination->getListFooter(); ?> - authorise('core.create', 'com_content') + authorise('core.create', 'com_content') && $user->authorise('core.edit', 'com_content') && $user->authorise('core.edit.state', 'com_content') -) : ?> + ) : ?> filterForm->getField('context')->options) > 1) { pagination->getListFooter(); ?> - authorise('core.create', $component) + authorise('core.create', $component) && $user->authorise('core.edit', $component) && $user->authorise('core.edit.state', $component) -) : ?> + ) : ?> filterForm->getField('context')->options) > 1) { pagination->getListFooter(); ?> - authorise('core.create', $component) + authorise('core.create', $component) && $user->authorise('core.edit', $component) && $user->authorise('core.edit.state', $component) -) : ?> + ) : ?> items)) { - authorise('core.create', 'com_modules') + authorise('core.create', 'com_modules') && $user->authorise('core.edit', 'com_modules') && $user->authorise('core.edit.state', 'com_modules') -) : ?> + ) : ?> items)) { pagination->getListFooter(); ?> - authorise('core.create', 'com_newsfeeds') + authorise('core.create', 'com_newsfeeds') && $user->authorise('core.edit', 'com_newsfeeds') && $user->authorise('core.edit.state', 'com_newsfeeds') -) : ?> + ) : ?> escape($this->state->get('list.direction')); loadTemplate('addform'); ?> - authorise('core.create', 'com_redirect') + authorise('core.create', 'com_redirect') && $user->authorise('core.edit', 'com_redirect') && $user->authorise('core.edit.state', 'com_redirect') -) : ?> + ) : ?> items)) { pagination->getListFooter(); ?> - authorise('core.create', 'com_tags') + authorise('core.create', 'com_tags') && $user->authorise('core.edit', 'com_tags') && $user->authorise('core.edit.state', 'com_tags') -) : ?> + ) : ?> pagination->getListFooter(); ?> - authorise('core.create', 'com_users') + authorise('core.create', 'com_users') && $loggeduser->authorise('core.edit', 'com_users') && $loggeduser->authorise('core.edit.state', 'com_users') -) : ?> + ) : ?> params->get('contact_icons') == 0; */ ?>
- params->get('address_check') > 0) && + params->get('address_check') > 0) && ($this->item->address || $this->item->suburb || $this->item->state || $this->item->country || $this->item->postcode) -) : ?> + ) : ?>
params->get('marker_address')) : ?> diff --git a/layouts/joomla/content/info_block.php b/layouts/joomla/content/info_block.php index 5a2929993cf..6b9a1890b0b 100644 --- a/layouts/joomla/content/info_block.php +++ b/layouts/joomla/content/info_block.php @@ -17,10 +17,11 @@ $blockPosition = $displayData['params']->get('info_block_position', 0); ?>