Skip to content

Commit

Permalink
Alpha order and cleanup imports in layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed Oct 16, 2018
1 parent 24eeb7c commit d7215fb
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 23 deletions.
2 changes: 1 addition & 1 deletion layouts/joomla/content/blog_style_default_item_title.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;

// Create a shortcut for params.
$params = $displayData->params;
Expand Down
2 changes: 1 addition & 1 deletion layouts/joomla/content/options_default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;

?>

Expand Down
2 changes: 1 addition & 1 deletion layouts/joomla/content/tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

defined('JPATH_BASE') or die;

use Joomla\Registry\Registry;
use Joomla\CMS\Factory;
use Joomla\CMS\Router\Route;
use Joomla\Registry\Registry;

JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php');

Expand Down
2 changes: 1 addition & 1 deletion layouts/joomla/edit/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;

$app = Factory::getApplication();
$form = $displayData->getForm();
Expand Down
1 change: 0 additions & 1 deletion layouts/joomla/editors/buttons.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
defined('JPATH_BASE') or die;

use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;

$buttons = $displayData;

Expand Down
1 change: 0 additions & 1 deletion layouts/joomla/form/field/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\Utilities\ArrayHelper;

extract($displayData);
Expand Down
11 changes: 4 additions & 7 deletions layouts/joomla/form/field/rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Access\Access;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Form\FormField;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Session\Session;
use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Helper\UserGroupsHelper;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session;


extract($displayData);
Expand Down
3 changes: 0 additions & 3 deletions layouts/joomla/form/renderlabel.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;

extract($displayData);

/**
Expand Down
1 change: 0 additions & 1 deletion layouts/joomla/html/batch/adminlanguage.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

Expand Down
1 change: 0 additions & 1 deletion layouts/joomla/html/batch/language.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

Expand Down
2 changes: 0 additions & 2 deletions layouts/joomla/pagination/link.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
defined('JPATH_BASE') or die;

use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\Registry\Registry;

$item = $displayData['data'];
$display = $item->text;
Expand Down
1 change: 0 additions & 1 deletion layouts/joomla/searchtools/grid/sort.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

$data = $displayData;
Expand Down
1 change: 0 additions & 1 deletion layouts/joomla/sidebars/submenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\Filter\OutputFilter;
Expand Down
1 change: 0 additions & 1 deletion layouts/joomla/toolbar/dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
defined('JPATH_BASE') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

$direction = Factory::getLanguage()->isRtl() ? 'dropdown-menu-right' : '';
Expand Down

0 comments on commit d7215fb

Please sign in to comment.