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

uploadPluginDialog.twig « templates « Marketplace « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5770d5fb3197c4c767db1dcd8cb35c4f243711fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="ui-confirm" id="installPluginByUpload" piwik-plugin-upload>
    <h2>{{ 'Marketplace_TeaserExtendPiwikByUpload'|translate }}</h2>

    {% if isPluginUploadEnabled %}
        <p class="description"> {{ 'Marketplace_AllowedUploadFormats'|translate }} </p>

        <form enctype="multipart/form-data" method="post" id="uploadPluginForm"
              action="{{ linkTo({'module':'CorePluginsAdmin', 'action':'uploadPlugin', 'nonce': installNonce}) }}">
            <input type="file" name="pluginZip">
            <br />
            <input class="startUpload btn" type="submit" value="{{ 'Marketplace_UploadZipFile'|translate }}">
        </form>
    {% else %}
        <p class="description"> {{ 'Marketplace_PluginUploadDisabled'|translate|raw }} </p>
        <pre>[General]
enable_plugin_upload = 1</pre>
        <input role="yes" type="button" value="{{ 'General_Ok'|translate }}"/>
    {% endif %}
</div>