-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #361 from matomo-org/develop
Update live for 1.3.1 release
- Loading branch information
Showing
25 changed files
with
270 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# These are supported funding model platforms | ||
|
||
patreon: matomo | ||
open_collective: matomo-analytics | ||
ko_fi: matomo | ||
liberapay: Matomo | ||
custom: ['https://www.paypal.com/donate/?hosted_button_id=RPL23NJURMTFA'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,27 @@ | ||
<div class="piwik-donate-call"> | ||
<div class="piwik-donate-call ng-scope"> | ||
<div class="piwik-donate-message"> | ||
{% if msg is defined %} | ||
{{ msg }} | ||
{% else %} | ||
<p>{{ 'CoreHome_DonateCall1'|translate }}</p> | ||
<p><strong>{{ 'CoreHome_DonateCall2'|translate }}</strong></p> | ||
<p>{{ 'CoreHome_DonateCall3'|translate('<strong>','</strong>', '<a target="_blank" rel="nofollow" href="https://matomo.org/recommends/premium-plugins/"><strong>', '</strong></a>')|raw }}</p> | ||
{% endif %} | ||
<p>Matomo will always cost you nothing to use, but that doesn't mean it costs us nothing to make.</p> | ||
<p><strong>Matomo needs your continued support to grow and thrive.</strong></p> | ||
<p>If you feel that Matomo has added significant value to your business or endeavour, <strong>please consider donating</strong> or <a target="_blank" rel="nofollow" href="https://matomo.org/recommends/premium-plugins/"><strong>purchasing a premium feature</strong></a>. Every penny will help.</p> | ||
</div> | ||
|
||
<span id="piwik-worth">{{ 'CoreHome_HowMuchIsPiwikWorth'|translate }}</span> | ||
<span id="piwik-worth" style="margin: 1em 1em 0.5em 0;">Find us on</span> | ||
|
||
<div class="donate-form-instructions">({{ 'CoreHome_DonateFormInstructions'|translate }})</div> | ||
<ul class="browser-default"> | ||
<li style="list-style-type: disc;margin-left: 15px;"><a href="https://www.patreon.com/matomo" target="_blank" rel="noreferrer noopener">Patreon</a></li> | ||
<li style="list-style-type: disc;margin-left: 15px;"><a href="https://ko-fi.com/matomo" target="_blank" rel="noreferrer noopener">Ko-fi</a></li> | ||
<li style="list-style-type: disc;margin-left: 15px;"><a href="https://liberapay.com/Matomo" target="_blank" rel="noreferrer noopener">Liberapay</a></li> | ||
<li style="list-style-type: disc;margin-left: 15px;"><a href="https://opencollective.com/matomo-analytics" target="_blank" rel="noreferrer noopener">Open Collective</a></li> | ||
<li style="list-style-type: disc;margin-left: 15px;"><a href="https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=RPL23NJURMTFA" target="_blank" rel="noreferrer noopener">PayPal</a></li> | ||
</ul> | ||
|
||
<form action="index.php?module=CoreHome&action=redirectToPaypal&idSite=1" method="post" target="_blank"> | ||
<div class="piwik-donate-slider"> | ||
<div class="slider-range"> | ||
<div class="slider-position"></div> | ||
</div> | ||
<div style="display:inline-block;float:right;"> | ||
<div class="slider-donate-amount">$30/{{ 'Intl_Year_Short'|translate }}</div> | ||
<p style="margin-top: 1em;"> | ||
Your donation will directly help fund new features and improvements for this open-source analytics platform. This means the community will always benefit from a tool that protects privacy and lets you stay in control of your data. | ||
<br><br> | ||
<strong>Thank you from all of us at Matomo!</strong> | ||
</p> | ||
|
||
<img class="slider-smiley-face" width="40" height="40" src="plugins/Morpheus/images/smileyprog_1.png"/> | ||
</div> | ||
<div class="form-description"> | ||
|
||
<input type="hidden" name="os0" value="Option 1"/> | ||
</div> | ||
|
||
<div class="donate-submit"> | ||
<input type="image" src="plugins/Morpheus/images/paypal_subscribe.png" border="0" name="submit" | ||
title="{{ 'CoreHome_SubscribeAndBecomePiwikSupporter'|translate }}"/> | ||
<a class="donate-spacer">{{ 'CoreHome_MakeOneTimeDonation'|translate }}</a> | ||
<a href="index.php?module=CoreHome&action=redirectToPaypal&idSite=1&onetime=true" | ||
rel="noreferrer noopener" target="_blank" class="donate-one-time">{{ 'CoreHome_MakeOneTimeDonation'|translate }}</a> | ||
</div> | ||
|
||
<!-- to cache images --> | ||
<img style="display:none;" src="plugins/Morpheus/images/smileyprog_0.png"/> | ||
<img style="display:none;" src="plugins/Morpheus/images/smileyprog_1.png"/> | ||
<img style="display:none;" src="plugins/Morpheus/images/smileyprog_2.png"/> | ||
<img style="display:none;" src="plugins/Morpheus/images/smileyprog_3.png"/> | ||
<img style="display:none;" src="plugins/Morpheus/images/smileyprog_4.png"/> | ||
</form> | ||
{% if footerMessage is defined %} | ||
<div class="form-description"> | ||
{{ footerMessage }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
<script type="text/javascript"> | ||
$(document).ready(function () { | ||
// Note: this will cause problems if more than one donate form is on the page | ||
$('.piwik-donate-slider').each(function () { | ||
$(this).trigger('piwik:changePosition', {position: 1}); | ||
}); | ||
}); | ||
</script> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="optOutCustomizer"> | ||
<p> | ||
Use the short code <code>[matomo_opt_out]</code> to embed the opt out into your website.<br> | ||
You can use these short code options:</p> | ||
<ul style="margin:20px;"> | ||
<li style="list-style: disc">language - eg de or en. By default the language is detected automatically based on the user's browser</li> | ||
</ul> | ||
<p>Example: <code>[matomo_opt_out language=de]</code></p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*! | ||
* Matomo - free/libre analytics platform | ||
* | ||
* @link https://matomo.org | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | ||
*/ | ||
|
||
/** | ||
* Usage: | ||
* <div piwik-opt-out-customizer> | ||
*/ | ||
(function () { | ||
angular.module('piwikApp').directive('piwikOptOutCustomizer', piwikOptOutCustomizer); | ||
|
||
piwikOptOutCustomizer.$inject = ['piwik']; | ||
|
||
function piwikOptOutCustomizer(piwik){ | ||
var defaults = { | ||
// showAllSitesItem: 'true' | ||
}; | ||
|
||
return { | ||
restrict: 'A', | ||
scope: { | ||
language: '@', | ||
piwikurl: '@' | ||
}, | ||
templateUrl: '../assets/js/opt-out-configurator.directive.html?cb=' + piwik.cacheBuster, | ||
compile: function (element, attrs) { | ||
|
||
for (var index in defaults) { | ||
if (defaults.hasOwnProperty(index) && attrs[index] === undefined) { | ||
attrs[index] = defaults[index]; | ||
} | ||
} | ||
|
||
return function (scope, element, attrs) { | ||
|
||
}; | ||
} | ||
}; | ||
} | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.