From a75a6369a2584b557a4be7e7ee1ca6370304debb Mon Sep 17 00:00:00 2001 From: astridx Date: Fri, 22 Apr 2022 14:38:15 +0200 Subject: [PATCH] layout and field types --- aggpxtrack-update4.xml | 20 + changelog.xml | 9 + j4/pkg_aggpxtrack/jorobo.ini | 2 +- .../fields/aggpxtrack/params/aggpxtrack.xml | 993 +++--------------- .../fields/aggpxtrack/tmpl/aggpxtrack.php | 5 +- 5 files changed, 175 insertions(+), 854 deletions(-) diff --git a/aggpxtrack-update4.xml b/aggpxtrack-update4.xml index c8b0eed..95fb675 100644 --- a/aggpxtrack-update4.xml +++ b/aggpxtrack-update4.xml @@ -82,4 +82,24 @@ be833b246e7be2b49aae3fd4e45de69f9a8f64f2844111018eb036f49216210a d1a6fb18f32e90aad4ead28431e00fcd5ee59f0aca4e219851b97fefc0b0b8c4fa0aec1bcfca96a38895115c753ede04 + + pkg_aggpxtrack + pkg_aggpxtrack + pkg_aggpxtrack + package + site + 4.0.4 + https://github.com/astridx/pkg_aggpxtrack/blob/v4.0.4/README.md + + https://github.com/astridx/pkg_aggpxtrack/releases/download/v4.0.4/pkg-aggpxtrack-4.0.4.zip + + + stable + + Astrid Günther + https://astrid-guenther.de + + 92e6e78842ac23b606ab28c01da1b8ea5528015e8e14e2de912059fe3685d3fb + 1752443de46e05dd9e18a134075590f4fc33d862a33595a3c15629566110e55e1e7076e0cff2816f6901d1ffe51c949e + \ No newline at end of file diff --git a/changelog.xml b/changelog.xml index 99ac4d3..699692d 100644 --- a/changelog.xml +++ b/changelog.xml @@ -15,4 +15,13 @@ Add Geoportal France and delete Openstreetmap black and white map provider. + + pkg_aggpxtrack + package + 4.0.4 + + Change field type radio to list. + Correct layout, delete '#JoomlaImage' trail. + + diff --git a/j4/pkg_aggpxtrack/jorobo.ini b/j4/pkg_aggpxtrack/jorobo.ini index 3d45b36..29925c6 100644 --- a/j4/pkg_aggpxtrack/jorobo.ini +++ b/j4/pkg_aggpxtrack/jorobo.ini @@ -1,5 +1,5 @@ extension = aggpxtrack -version = 4.0.4 +version = 4.0.5 source = src target = package diff --git a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/params/aggpxtrack.xml b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/params/aggpxtrack.xml index ae5ad9c..521f014 100644 --- a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/params/aggpxtrack.xml +++ b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/params/aggpxtrack.xml @@ -1,47 +1,17 @@
- +
- - - + + + - + - + @@ -51,53 +21,19 @@ - - - + + + - - - + + + - + @@ -110,64 +46,21 @@ - - - - - + + + + + - - - + + + - + @@ -180,64 +73,21 @@ - - - - - + + + + + - - - + + + - + @@ -250,114 +100,37 @@ - - - - - + + + + + - - - + + + - + - + - - + + - + @@ -366,45 +139,13 @@ - - - - - - - + + + + + + + @@ -416,25 +157,9 @@ - - - + + + @@ -442,444 +167,180 @@ - + - - + + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - + - + @@ -887,27 +348,12 @@ - + - + @@ -929,15 +375,7 @@ - + @@ -946,49 +384,17 @@ - + - - - + + + - + @@ -1001,175 +407,58 @@ - - - - - + + + + + - + - - - - - - - + + + + + + + - + - + - + - + - - - + + + - + diff --git a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/tmpl/aggpxtrack.php b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/tmpl/aggpxtrack.php index c2943a8..cdc5b8e 100644 --- a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/tmpl/aggpxtrack.php +++ b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/tmpl/aggpxtrack.php @@ -22,7 +22,10 @@ $class = ' class="' . htmlentities($class, ENT_COMPAT, 'UTF-8', true) . '"'; } -$value = (array) $field->value; +$value_raw = $field->value; + +$value = (array) substr($value_raw, 0, strpos($value_raw, '#joomlaImage:')); + $buffer = ''; // Include skripts/styles to the header