diff --git a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/default_image.php b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/default_image.php
index 509ecb4..743c1ae 100644
--- a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/default_image.php
+++ b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/default_image.php
@@ -14,7 +14,7 @@
$params = new Registry;
$dispatcher = JEventDispatcher::getInstance();
-$dispatcher->trigger('onContentBeforeDisplay', array('com_aggpxtrack.file', &$this->_tmp_img, &$params));
+$dispatcher->trigger('onContentBeforeDisplay', ['com_aggpxtrack.file', &$this->_tmp_img, &$params]);
?>
@@ -29,4 +29,4 @@
trigger('onContentAfterDisplay', array('com_aggpxtrack.file', &$this->_tmp_img, &$params));
+$dispatcher->trigger('onContentAfterDisplay', ['com_aggpxtrack.file', &$this->_tmp_img, &$params]);
diff --git a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/details.php b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/details.php
index 2c9a3fe..b0f6c5f 100644
--- a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/details.php
+++ b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/details.php
@@ -12,11 +12,10 @@
$lang = JFactory::getLanguage();
-JHtml::_('stylesheet', 'media/popup-imagelist.css', array(), true);
+JHtml::_('stylesheet', 'media/popup-imagelist.css', [], true);
-if ($lang->isRtl())
-{
- JHtml::_('stylesheet', 'media/popup-imagelist_rtl.css', array(), true);
+if ($lang->isRtl()) {
+ JHtml::_('stylesheet', 'media/popup-imagelist_rtl.css', [], true);
}
JFactory::getDocument()->addScriptDeclaration("var ImageManager = window.parent.ImageManager;");
@@ -32,7 +31,6 @@
);
?>
images) > 0 || count($this->folders) > 0) : ?>
-
diff --git a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/details_image.php b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/details_image.php
index 546112b..b4f5d7f 100644
--- a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/details_image.php
+++ b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/details_image.php
@@ -15,7 +15,7 @@
$params = JComponentHelper::getParams('com_aggpxtrack');
$dispatcher = JEventDispatcher::getInstance();
-$dispatcher->trigger('onContentBeforeDisplay', array('com_aggpxtrack.file', &$this->_tmp_img, &$params));
+$dispatcher->trigger('onContentBeforeDisplay', ['com_aggpxtrack.file', &$this->_tmp_img, &$params]);
?>
@@ -41,4 +41,4 @@
trigger('onContentAfterDisplay', array('com_aggpxtrack.file', &$this->_tmp_img, &$params));
+$dispatcher->trigger('onContentAfterDisplay', ['com_aggpxtrack.file', &$this->_tmp_img, &$params]);
diff --git a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/thumbs.php b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/thumbs.php
index 9778dc8..2ffe39f 100644
--- a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/thumbs.php
+++ b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/thumbs.php
@@ -12,11 +12,10 @@
$lang = JFactory::getLanguage();
-JHtml::_('stylesheet', 'media/popup-imagelist.css', array(), true);
+JHtml::_('stylesheet', 'media/popup-imagelist.css', [], true);
-if ($lang->isRtl())
-{
- JHtml::_('stylesheet', 'media/popup-imagelist_rtl.css', array(), true);
+if ($lang->isRtl()) {
+ JHtml::_('stylesheet', 'media/popup-imagelist_rtl.css', [], true);
}
JFactory::getDocument()->addScriptDeclaration("var ImageManager = window.parent.ImageManager;");
diff --git a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/thumbs_image.php b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/thumbs_image.php
index 62d7ca9..ade77c2 100644
--- a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/thumbs_image.php
+++ b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/tmpl/thumbs_image.php
@@ -15,7 +15,7 @@
$params = JComponentHelper::getParams('com_aggpxtrack');
$dispatcher = JEventDispatcher::getInstance();
-$dispatcher->trigger('onContentBeforeDisplay', array('com_aggpxtrack.file', &$this->_tmp_img, &$params));
+$dispatcher->trigger('onContentBeforeDisplay', ['com_aggpxtrack.file', &$this->_tmp_img, &$params]);
?>
@@ -30,4 +30,4 @@
trigger('onContentAfterDisplay', array('com_aggpxtrack.file', &$this->_tmp_img, &$params));
+$dispatcher->trigger('onContentAfterDisplay', ['com_aggpxtrack.file', &$this->_tmp_img, &$params]);
diff --git a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/view.html.php b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/view.html.php
index 08eda13..525a882 100644
--- a/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/view.html.php
+++ b/dist/tmp/cbuild/administrator/components/com_aggpxtrack/views/gpxtracklist/view.html.php
@@ -55,12 +55,9 @@ public function display($tpl = null)
*/
public function setFolder($index = 0)
{
- if (isset($this->folders[$index]))
- {
+ if (isset($this->folders[$index])) {
$this->_tmp_folder = &$this->folders[$index];
- }
- else
- {
+ } else {
$this->_tmp_folder = new JObject;
}
}
@@ -76,12 +73,9 @@ public function setFolder($index = 0)
*/
public function setImage($index = 0)
{
- if (isset($this->images[$index]))
- {
+ if (isset($this->images[$index])) {
$this->_tmp_img = &$this->images[$index];
- }
- else
- {
+ } else {
$this->_tmp_img = new JObject;
}
}
diff --git a/dist/zips/com_aggpxtrack.zip b/dist/zips/com_aggpxtrack.zip
index a9aa16e..8aeb065 100644
Binary files a/dist/zips/com_aggpxtrack.zip and b/dist/zips/com_aggpxtrack.zip differ
diff --git a/dist/zips/plg_fields_aggpxtrack.zip b/dist/zips/plg_fields_aggpxtrack.zip
index 85d4ddf..05c5a27 100644
Binary files a/dist/zips/plg_fields_aggpxtrack.zip and b/dist/zips/plg_fields_aggpxtrack.zip differ
diff --git a/dist/zips/plg_installer_aggpxtrackinstaller.zip b/dist/zips/plg_installer_aggpxtrackinstaller.zip
index 31d3b17..78e69d4 100644
Binary files a/dist/zips/plg_installer_aggpxtrackinstaller.zip and b/dist/zips/plg_installer_aggpxtrackinstaller.zip differ
diff --git a/j4/pkg_aggpxtrack/jorobo.ini b/j4/pkg_aggpxtrack/jorobo.ini
index 71aaa22..3d45b36 100644
--- a/j4/pkg_aggpxtrack/jorobo.ini
+++ b/j4/pkg_aggpxtrack/jorobo.ini
@@ -1,5 +1,5 @@
extension = aggpxtrack
-version = 4.0.3
+version = 4.0.4
source = src
target = package
diff --git a/j4/pkg_aggpxtrack/src/administrator/manifests/packages/pkg_aggpxtrack.xml b/j4/pkg_aggpxtrack/src/administrator/manifests/packages/pkg_aggpxtrack.xml
index 79b6565..1e3cac9 100644
--- a/j4/pkg_aggpxtrack/src/administrator/manifests/packages/pkg_aggpxtrack.xml
+++ b/j4/pkg_aggpxtrack/src/administrator/manifests/packages/pkg_aggpxtrack.xml
@@ -22,6 +22,7 @@
en-GB/en-GB.pkg_aggpxtrack.sys.ini
+ https://raw.githubusercontent.com/astridx/pkg_aggpxtrack/master/changelog.xml
https://raw.githubusercontent.com/astridx/pkg_aggpxtrack/master/aggpxtrack-update4.xml
diff --git a/jorobo.ini b/jorobo.ini
index 7e93830..f7454e8 100644
--- a/jorobo.ini
+++ b/jorobo.ini
@@ -1,5 +1,5 @@
extension = aggpxtrack
-version = 3.0.2
+version = 3.0.4
source = src
target = package