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: 7da4efddc51ce19e6268beb95f472d0db2e82f38 (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
<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 />
            <div piwik-field uicontrol="password" name="confirmPassword" autocomplete="off"
                 data-title="{{ 'Login_ConfirmPasswordToContinue'|translate|e('html_attr') }}"
                 value="">
            </div>

            <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>