Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_donate.twig « templates « CoreHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 43e99dc324a54aeba621e5c9858ca04e33dba7af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<div class="piwik-donate-call">
    <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 %}
    </div>

    <span id="piwik-worth">{{ 'CoreHome_HowMuchIsPiwikWorth'|translate }}</span>

    <div class="donate-form-instructions">({{ 'CoreHome_DonateFormInstructions'|translate }})</div>

    <form action="index.php?module=CoreHome&action=redirectToPaypal&idSite=1" method="post" target="_blank">
        <input type="hidden" name="cmd" value="_s-xclick"/>
        <input type="hidden" name="hosted_button_id" value="DVKLY73RS7JTE"/>
        <input type="hidden" name="currency_code" value="USD"/>
        <input type="hidden" name="on0" value="Matomo Supporter"/>

        <div class="piwik-donate-slider">
            <div class="slider-range">
                <div class="slider-position"></div>
            </div>
            <div style="display:inline-block;">
                <div class="slider-donate-amount">$30/{{ 'Intl_Year_Short'|translate }}</div>

                <img class="slider-smiley-face" width="40" height="40" src="plugins/Morpheus/images/smileyprog_1.png"/>
            </div>

            <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&cmd=_s-xclick&hosted_button_id=RPL23NJURMTFA&bb2_screener_=1357583494+83.233.186.82"
               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>