1<div class="ui-confirm" id="installPluginByUpload" piwik-plugin-upload> 2 <h2>{{ 'Marketplace_TeaserExtendPiwikByUpload'|translate }}</h2> 3 4 {% if isPluginUploadEnabled %} 5 <p class="description"> {{ 'Marketplace_AllowedUploadFormats'|translate }} </p> 6 7 <form enctype="multipart/form-data" method="post" id="uploadPluginForm" 8 action="{{ linkTo({'module':'CorePluginsAdmin', 'action':'uploadPlugin', 'nonce': installNonce}) }}"> 9 <input type="file" name="pluginZip" data-max-size="{{ uploadLimit }}"> 10 <br /> 11 <div piwik-field uicontrol="password" name="confirmPassword" autocomplete="off" 12 data-title="{{ 'Login_ConfirmPasswordToContinue'|translate|e('html_attr') }}" 13 value=""> 14 </div> 15 16 <input class="startUpload btn" type="submit" value="{{ 'Marketplace_UploadZipFile'|translate }}"> 17 </form> 18 {% else %} 19 <p class="description"> {{ 'Marketplace_PluginUploadDisabled'|translate|raw }} </p> 20 <pre>[General] 21enable_plugin_upload = 1</pre> 22 <input role="yes" type="button" value="{{ 'General_Ok'|translate }}"/> 23 {% endif %} 24</div>