diff --git a/aggpxtrack-update4.xml b/aggpxtrack-update4.xml index a0621cd..9a4ffe3 100644 --- a/aggpxtrack-update4.xml +++ b/aggpxtrack-update4.xml @@ -122,4 +122,24 @@ ed8c3dd2f80f279758d4753e61950c3c0d255da83b319c4fc6535ca7595c7bbf 830321c8a8e4907b23de751f2d220bbc36e69004098192a57943402a81a2dba8261f6687abef8060f6dc3695fdcdd39f + + pkg_aggpxtrack + pkg_aggpxtrack + pkg_aggpxtrack + package + site + 5.0.0 + https://github.com/astridx/pkg_aggpxtrack/blob/v5.0.0/README.md + + https://github.com/astridx/pkg_aggpxtrack/releases/download/v5.0.0/pkg-aggpxtrack-5.0.0.zip + + + stable + + Astrid Günther + https://astrid-guenther.de + + e0d19fa728f8806e9e61ce8c85377961036611167eeb3615e5ba90faf1e7ba51 + 546671c3c59b2c268f017ed95c9c78e87bb6d73a5d6a1b72a2b798359a93d4e34ce0f847edb4d15111324c9f9d8adf2d + \ No newline at end of file diff --git a/changelog.xml b/changelog.xml index 05dde6d..47003e3 100644 --- a/changelog.xml +++ b/changelog.xml @@ -44,4 +44,12 @@ Correct Panel Layer + + pkg_aggpxtrack + package + 5.0.0 + + Use Textfield instead of Mediafield + + diff --git a/j4/pkg_aggpxtrack/jorobo.ini b/j4/pkg_aggpxtrack/jorobo.ini index 2c9c040..e1afc3e 100644 --- a/j4/pkg_aggpxtrack/jorobo.ini +++ b/j4/pkg_aggpxtrack/jorobo.ini @@ -1,5 +1,5 @@ extension = aggpxtrack -version = 4.0.6 +version = 5.0.0 source = src target = package diff --git a/j4/pkg_aggpxtrack/src/media/plg_fields_aggpxtrack/layerstree/package-lock.json b/j4/pkg_aggpxtrack/src/media/plg_fields_aggpxtrack/layerstree/package-lock.json index 8166cc0..1b32bef 100644 --- a/j4/pkg_aggpxtrack/src/media/plg_fields_aggpxtrack/layerstree/package-lock.json +++ b/j4/pkg_aggpxtrack/src/media/plg_fields_aggpxtrack/layerstree/package-lock.json @@ -1,6 +1,6 @@ { "name": "leaflet.control.layers.tree", - "version": "1.0.2", + "version": "1.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -142,9 +142,9 @@ "dev": true }, "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true }, "ansi-styles": { @@ -2186,9 +2186,9 @@ }, "dependencies": { "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true }, "is-fullwidth-code-point": { diff --git a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/aggpxtrack.php b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/aggpxtrack.php index c4bc23d..88c4ce1 100644 --- a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/aggpxtrack.php +++ b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/aggpxtrack.php @@ -19,19 +19,4 @@ */ class PlgFieldsAggpxtrack extends \Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin { - - /** - * Constructor - * - * @param object &$subject The object to observe - * @param array $config An array that holds the plugin configuration - * - * @since 1.5 - */ - public function __construct(&$subject, $config) - { - parent::__construct($subject, $config); - - FormHelper::addFieldPath(__DIR__ . '/field'); - } } diff --git a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/field/aggpxtrack.php b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/field/aggpxtrack.php deleted file mode 100644 index bdb9214..0000000 --- a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/field/aggpxtrack.php +++ /dev/null @@ -1,55 +0,0 @@ -getTemplate(); - - return [ - JPATH_ADMINISTRATOR . '/templates/' . $template . '/html/layouts/plugins/system/stats', - dirname(__DIR__) . '/layouts', - JPATH_SITE . '/layouts' - ]; - } -} diff --git a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/layouts/aggpxtrack.php b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/layouts/aggpxtrack.php deleted file mode 100644 index e7c1d9b..0000000 --- a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/layouts/aggpxtrack.php +++ /dev/null @@ -1,131 +0,0 @@ -getWebAssetManager(); - -$wam->useScript('webcomponent.media-select'); - -Text::script('JFIELD_MEDIA_LAZY_LABEL'); -Text::script('JFIELD_MEDIA_ALT_LABEL'); -Text::script('JFIELD_MEDIA_ALT_CHECK_LABEL'); -Text::script('JFIELD_MEDIA_ALT_CHECK_DESC_LABEL'); -Text::script('JFIELD_MEDIA_CLASS_LABEL'); -Text::script('JFIELD_MEDIA_FIGURE_CLASS_LABEL'); -Text::script('JFIELD_MEDIA_FIGURE_CAPTION_LABEL'); -Text::script('JFIELD_MEDIA_LAZY_LABEL'); -Text::script('JFIELD_MEDIA_SUMMARY_LABEL'); -Text::script('JFIELD_MEDIA_EMBED_CHECK_DESC_LABEL'); -Text::script('JFIELD_MEDIA_DOWNLOAD_CHECK_DESC_LABEL'); -Text::script('JFIELD_MEDIA_DOWNLOAD_CHECK_LABEL'); -Text::script('JFIELD_MEDIA_EMBED_CHECK_LABEL'); -Text::script('JFIELD_MEDIA_WIDTH_LABEL'); -Text::script('JFIELD_MEDIA_TITLE_LABEL'); -Text::script('JFIELD_MEDIA_HEIGHT_LABEL'); -Text::script('JFIELD_MEDIA_UNSUPPORTED'); -Text::script('JFIELD_MEDIA_DOWNLOAD_FILE'); -Text::script('JLIB_APPLICATION_ERROR_SERVER'); -Text::script('JLIB_FORM_MEDIA_PREVIEW_EMPTY', true); - -$modalHTML = HTMLHelper::_( - 'bootstrap.renderModal', - 'imageModal_' . $id, - [ - 'url' => $url, - 'title' => Text::_('JLIB_FORM_CHANGE_IMAGE'), - 'closeButton' => true, - 'height' => '100%', - 'width' => '100%', - 'modalWidth' => '80', - 'bodyHeight' => '60', - 'footer' => '' - . '', - ] -); - -$wam->useStyle('webcomponent.field-media') - ->useScript('webcomponent.field-media'); - -if (count($doc->getScriptOptions('media-picker')) === 0) { - $doc->addScriptOptions('media-picker', [ - 'images' => $imagesExt, - 'audios' => $audiosExt, - 'videos' => $videosExt, - 'documents' => $documentsExt, - ]); -} - -?> - - base-path="" root-folder="get('file_path', 'images'); ?>" url="" modal-container=".modal" modal-width="100%" modal-height="400px" input=".field-media-input" button-select=".button-select" button-clear=".button-clear" button-save-selected=".button-save-selected" preview="static" preview-container=".field-media-preview" preview-width="" preview-height="" supported-extensions=" $imagesAllowedExt, 'audios' => $audiosAllowedExt, 'videos' => $videosAllowedExt, 'documents' => $documentsAllowedExt])); ?>"> - - -
- - -
- -
- > - - - - -
-
- - - 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 0565600..5ca08b4 100644 --- a/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/params/aggpxtrack.xml +++ b/j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/params/aggpxtrack.xml @@ -2,12 +2,24 @@
- - - - + + - + + +