Skip to content

Commit

Permalink
4.0.0Beta2
Browse files Browse the repository at this point in the history
4.0.0Beta2
  • Loading branch information
PhocaCz committed Jan 26, 2022
1 parent 6309365 commit c5037e1
Show file tree
Hide file tree
Showing 20 changed files with 1,043 additions and 976 deletions.
Empty file modified LICENSE
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions README.MD
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ Phoca Maps Plugin is a Joomla! plugin. With Phoca Maps Plugin you can display on



## Version (Joomla! 3.x)

3.0.12

## Version (Joomla! 4.x)


## Version

3.0.12
4.0.0Beta2



Expand Down
Binary file modified content-phocamaps-release.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified index.html
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion language/en-GB/en-GB.plg_content_phocamaps.ini
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PLG_CONTENT_PHOCAMAPS_BOOTSTRAP_MODAL_BOX="Bootstrap Modal Box"

;[2.0.4]
PLG_CONTENT_PHOCAMAPS="Phoca Maps Plugin"
PLG_CONTENT_PHOCAMAPS_DESCRIPTION="<div class="_QQ_"alert alert-info left"_QQ_" style="_QQ_"text-align: left;"_QQ_"><p>Phoca Maps Plugin - displays Phoca Maps in article.</p><p>Enable and publish this module in <a style="_QQ_"text-decoration: underline"_QQ_" href="_QQ_"index.php?option=com_plugins"_QQ_">Plug-in Manager</a></p><p>More information: <a style="_QQ_"text-decoration: underline"_QQ_" href="_QQ_"http://www.phoca.cz/"_QQ_" target="_QQ_"_blank"_QQ_" >Phoca.cz</a></p><p>Documentation: <a style="_QQ_"text-decoration: underline"_QQ_" href="_QQ_"http://www.phoca.cz/documentation/"_QQ_" target="_QQ_"_blank"_QQ_" >Phoca Documentation</a></p><p>Help and Support: <a style="_QQ_"text-decoration: underline"_QQ_" href="_QQ_"http://www.phoca.cz/forum/"_QQ_" target="_QQ_"_blank"_QQ_" >Phoca Forum</a></p></div>"
PLG_CONTENT_PHOCAMAPS_DESCRIPTION="<div class=\"alert alert-info left\" style=\"text-align: left\"><p>Phoca Maps Plugin - displays Phoca Maps in article.</p><p>Enable and publish this module in <a style=\"text-decoration: underline\" href=\"index.php?option=com_plugins\">Plug-in Manager</a></p><p>More information: <a style=\"text-decoration: underline\" href=\"http://www.phoca.cz/\" target=\"_blank\" >Phoca.cz</a></p><p>Documentation: <a style=\"text-decoration: underline\" href=\"http://www.phoca.cz/documentation/\" target=\"_blank\" >Phoca Documentation</a></p><p>Help and Support: <a style=\"text-decoration: underline\" href=\"http://www.phoca.cz/forum/\" target=\"_blank\" >Phoca Forum</a></p></div>"
;[2.0.0]
PLG_CONTENT_PHOCAMAPS_DISPLAY_MAP_DESCRIPTION_LABEL="Display Map Description"
PLG_CONTENT_PHOCAMAPS_DISPLAY_MAP_DESCRIPTION_DESC="Set if Map description should be displayed in Plugin"
Expand Down
2 changes: 1 addition & 1 deletion language/en-GB/en-GB.plg_content_phocamaps.sys.ini
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@

;[2.0.4]
PLG_CONTENT_PHOCAMAPS="Phoca Maps Plugin"
PLG_CONTENT_PHOCAMAPS_DESCRIPTION="<div class="_QQ_"alert alert-info left"_QQ_" style="_QQ_"text-align: left;"_QQ_"><p>Phoca Maps Plugin - displays Phoca Maps in article.</p><p>Enable and publish this module in <a style="_QQ_"text-decoration: underline"_QQ_" href="_QQ_"index.php?option=com_plugins"_QQ_">Plug-in Manager</a></p><p>More information: <a style="_QQ_"text-decoration: underline"_QQ_" href="_QQ_"http://www.phoca.cz/"_QQ_" target="_QQ_"_blank"_QQ_" >Phoca.cz</a></p><p>Documentation: <a style="_QQ_"text-decoration: underline"_QQ_" href="_QQ_"http://www.phoca.cz/documentation/"_QQ_" target="_QQ_"_blank"_QQ_" >Phoca Documentation</a></p><p>Help and Support: <a style="_QQ_"text-decoration: underline"_QQ_" href="_QQ_"http://www.phoca.cz/forum/"_QQ_" target="_QQ_"_blank"_QQ_" >Phoca Forum</a></p></div>"
PLG_CONTENT_PHOCAMAPS_DESCRIPTION="<div class=\"alert alert-info left\" style=\"text-align: left\"><p>Phoca Maps Plugin - displays Phoca Maps in article.</p><p>Enable and publish this module in <a style=\"text-decoration: underline\" href=\"index.php?option=com_plugins\">Plug-in Manager</a></p><p>More information: <a style=\"text-decoration: underline\" href=\"http://www.phoca.cz/\" target=\"_blank\" >Phoca.cz</a></p><p>Documentation: <a style=\"text-decoration: underline\" href=\"http://www.phoca.cz/documentation/\" target=\"_blank\" >Phoca Documentation</a></p><p>Help and Support: <a style=\"text-decoration: underline\" href=\"http://www.phoca.cz/forum/\" target=\"_blank\" >Phoca Forum</a></p></div>"
Empty file modified language/en-GB/index.html
100644 → 100755
Empty file.
Empty file modified language/index.html
100644 → 100755
Empty file.
22 changes: 21 additions & 1 deletion manifest.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,27 @@
<maintainer><![CDATA[ Phoca.cz ]]></maintainer>
<maintainerurl>https://www.phoca.cz/</maintainerurl>
<section>Updates</section>
<targetplatform name="joomla" version="3.9"/>
<targetplatform name="joomla" version="3.([89]|10)"/>
<client>site</client>
</update>
<update>
<name><![CDATA[ Phoca Maps Content Plugin ]]></name>
<description><![CDATA[ Phoca Maps Plugin is a Joomla! plugin. With Phoca Maps Plugin you can display one or more maps on your site (in the article). You can display the map or only link to selected map. When user click on this link, the map will be displayed in Modal Box window or in standard Popup window. ]]></description>
<element>phocamaps</element>
<folder>content</folder>
<type>plugin</type>
<version>4.0.0Beta2</version>
<infourl title="Phoca Maps Content Plugin 4.0.0Beta2">https://www.phoca.cz/</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/PhocaCz/PhocaMapsPlugin/releases/download/4.0.0Beta2/plg_content_phocamaps_v4.0.0Beta2.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer><![CDATA[ Phoca.cz ]]></maintainer>
<maintainerurl>https://www.phoca.cz/</maintainerurl>
<section>Updates</section>
<targetplatform name="joomla" version="4.[0]"/>
<client>site</client>
</update>
</updates>
40 changes: 25 additions & 15 deletions media/css/default.css
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
/* Phoca Maps Plugin CSS */

/* Bootstrap */
#phocamaps img {
max-width: none;
}
#phocamaps.phocamaps img {
border: 0px;
box-shadow: 0px;
margin: 0px;
max-width: none !important;
}
#phocamaps-box img {
max-width:none !important;
}
/* Phoca Maps Plugin CSS */

/* Bootstrap */
#phocamaps img {
max-width: none;
}
#phocamaps.phocamaps img {
border: 0px;
box-shadow: 0px;
margin: 0px;
max-width: none !important;
}
#phocamaps-box img {
max-width:none !important;
}

/* Modals */
#pmPlgModal .modal-dialog {
height: 70%;
max-width: 70%;
}

#pmPlgModal .modal-content {
height: 100%;
}
Empty file modified media/css/index.html
100644 → 100755
Empty file.
Empty file modified media/index.html
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions media/js/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html><body></body></html>
48 changes: 48 additions & 0 deletions media/js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
* @extension Phoca Maps
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/

document.addEventListener("DOMContentLoaded", () => {

// Events
document.querySelectorAll('.pm-plg-bs-modal-button').forEach(item => {


item.addEventListener('click', function(event) {

event.preventDefault();
let href = this.getAttribute('href');
let title = this.getAttribute('data-title');

let type = this.getAttribute('data-type');


let modalItem = document.getElementById('pmPlgModal')
let modalIframe = document.getElementById('pmPlgModalIframe');
let modalTitle = document.getElementById('pmPlgModalLabel');

//modalItem.className = '';
//modalItem.classList.add('modal', 'fade', 'show', type);
modalIframe.src = href;
modalTitle.innerHTML = title;

//let modal = document.getElementById('phCategoryModal')

/*modal.addEventListener('shown.bs.modal', function () {
myInput.focus()
})*/

let modal = new bootstrap.Modal(modalItem);
modal.show();

})
})
});


Binary file modified phocamaps-48.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified phocamaps-512.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c5037e1

Please sign in to comment.