Skip to content

Commit

Permalink
3.0.10
Browse files Browse the repository at this point in the history
3.0.10
  • Loading branch information
PhocaCz committed Dec 19, 2020
1 parent eae9fb3 commit c914db3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Phoca Maps Plugin is a Joomla! plugin. With Phoca Maps Plugin you can display on

## Version

3.0.9
3.0.10



Expand Down
Binary file modified content-phocamaps-release.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<element>phocamaps</element>
<folder>content</folder>
<type>plugin</type>
<version>3.0.9</version>
<infourl title="Phoca Maps Content Plugin 3.0.9">https://www.phoca.cz/</infourl>
<version>3.0.10</version>
<infourl title="Phoca Maps Content Plugin 3.0.10">https://www.phoca.cz/</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/PhocaCz/PhocaMapsPlugin/releases/download/3.0.9/plg_content_phocamaps_v3.0.9.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/PhocaCz/PhocaMapsPlugin/releases/download/3.0.10/plg_content_phocamaps_v3.0.10.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
Expand Down
8 changes: 5 additions & 3 deletions phocamaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) {

}
}
$output .= $map->setMarkerClusterer();
}

if ($tmpl['load_kml']) {
Expand Down Expand Up @@ -606,6 +607,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) {
$iM++;
}
}
$map->setMarkerClusterer();
}

$map->renderFullScreenControl();
Expand Down Expand Up @@ -741,7 +743,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) {

$output .= '<a class="modal-button" title="'.$text.'" href="'.JRoute::_($linkMap . '&tmpl=component').'" rel="'. $button->options.'">'.$text.'</a>';
} else if ($tmpl['detailwindow'] == 2) {

// Bootstrap Modal
$item = 'phPlgMapsModalDetail' . $this->_plgPhocaMapsNr;
Joomla\CMS\HTML\HTMLHelper::_('jquery.framework', false);
Expand All @@ -768,9 +770,9 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) {
});';
$document->addScriptDeclaration($s);

$output .= '<a class="ph-modal-button-plg-ph-maps" title="'.$text.'" href="#'.$item.'" data-toggle="modal" data-title="' . $text. '" data-id="' . $this->_plgPhocaMapsNr . '" data-href="'.JRoute::_($linkMap . '&tmpl=component').'" data-height='.$tmpl['windowheight'].' data-width='.$tmpl['windowwidth'].'" data-target="#'.$item.'">'.$text.'</a>';

$output .= '
<div id="'.$item.'" class="modal" tabindex="-1" role="dialog" aria-labelledby="'.$item.'Label">
<div class="modal-dialog modal-dialog-centered" role="document" id="'.$item.'Dialog">
Expand Down
4 changes: 2 additions & 2 deletions phocamaps.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<extension type="plugin" group="content" method="upgrade" version="3.9">
<name>plg_content_phocamaps</name>
<author>Jan Pavelka (www.phoca.cz)</author>
<creationDate>09/11/2020</creationDate>
<creationDate>19/12/2020</creationDate>
<authorEmail></authorEmail>
<authorUrl>https://www.phoca.cz</authorUrl>
<copyright>Jan Pavelka</copyright>
<license>GNU/GPL</license>
<version>3.0.9</version>
<version>3.0.10</version>
<description>PLG_CONTENT_PHOCAMAPS_DESCRIPTION</description>
<projectName>PhocaMapsPlugin</projectName>

Expand Down

0 comments on commit c914db3

Please sign in to comment.