update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
|
|
@ -2,41 +2,49 @@
|
|||
{% import '@CorePluginsAdmin/macros.twig' as pluginsMacro %}
|
||||
|
||||
{% block content %}
|
||||
<br/>
|
||||
<p><strong>{{ 'CoreUpdater_ThereIsNewVersionAvailableForUpdate'|translate }}</strong></p>
|
||||
|
||||
{% if can_auto_update %}
|
||||
<p>{{ 'CoreUpdater_YouCanUpgradeAutomaticallyOrDownloadPackage'|translate(piwik_new_version) }}</p>
|
||||
{% else %}
|
||||
<p>{{ 'Installation_SystemCheckAutoUpdateHelp'|translate }}</p>
|
||||
<p>{{ 'CoreUpdater_YouMustDownloadPackageOrFixPermissions'|translate(piwik_new_version) }}
|
||||
{{ makeWritableCommands|raw }}
|
||||
</p>
|
||||
{% endif %}
|
||||
<div class="header">
|
||||
<h1>{{ 'CoreUpdater_ThereIsNewVersionAvailableForUpdate'|translate }}</h1>
|
||||
</div>
|
||||
|
||||
{% if incompatiblePlugins %}
|
||||
<p>{{ 'CoreUpdater_IncompatbilePluginsWillBeDisabledInfo'|translate(piwik_new_version) }}</p>
|
||||
<div class="content">
|
||||
|
||||
<ul style="list-style: disc;">
|
||||
{% for plugin in incompatiblePlugins %}
|
||||
<li>{{ pluginsMacro.missingRequirementsInfo(plugin.getPluginName, plugin.getInformation, plugin.getMissingDependencies(piwik_new_version), marketplacePlugins) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p> </p>
|
||||
{% endif %}
|
||||
{% if can_auto_update %}
|
||||
<p>{{ 'CoreUpdater_YouCanUpgradeAutomaticallyOrDownloadPackage'|translate(piwik_new_version) }}</p>
|
||||
{% else %}
|
||||
<p>{{ 'Installation_SystemCheckAutoUpdateHelp'|translate }}</p>
|
||||
<p>{{ 'CoreUpdater_YouMustDownloadPackageOrFixPermissions'|translate(piwik_new_version) }}
|
||||
{{ makeWritableCommands|raw }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if can_auto_update %}
|
||||
<form id="oneclickupdate" action="index.php">
|
||||
<input type="hidden" name="module" value="CoreUpdater"/>
|
||||
<input type="hidden" name="action" value="oneClickUpdate"/>
|
||||
<input id="updateAutomatically" type="submit" class="btn btn-lg" value="{{ 'CoreUpdater_UpdateAutomatically'|translate }}"/>
|
||||
{% endif %}
|
||||
<a class="btn btn-lg"
|
||||
href="{{ piwik_latest_version_url }}?cb={{ piwik_new_version }}">{{ 'CoreUpdater_DownloadX'|translate(piwik_new_version) }}</a><br/>
|
||||
{% if can_auto_update %}
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
{% if incompatiblePlugins %}
|
||||
<p>{{ 'CoreUpdater_IncompatbilePluginsWillBeDisabledInfo'|translate(piwik_new_version) }}</p>
|
||||
|
||||
<ul>
|
||||
{% for plugin in incompatiblePlugins %}
|
||||
<li>{{ pluginsMacro.missingRequirementsInfo(plugin.getPluginName, plugin.getInformation, plugin.getMissingDependencies(piwik_new_version), marketplacePlugins) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<a href="index.php">« {{ 'General_BackToPiwik'|translate }}</a>
|
||||
</div>
|
||||
|
||||
{% if can_auto_update %}
|
||||
<form id="oneclickupdate" action="index.php">
|
||||
<input type="hidden" name="module" value="CoreUpdater"/>
|
||||
<input type="hidden" name="action" value="oneClickUpdate"/>
|
||||
<input type="submit" class="submit" value="{{ 'CoreUpdater_UpdateAutomatically'|translate }}"/>
|
||||
{% endif %}
|
||||
<a style="margin-left:50px;" class="submit button"
|
||||
href="{{ piwik_latest_version_url }}?cb={{ piwik_new_version }}">{{ 'CoreUpdater_DownloadX'|translate(piwik_new_version) }}</a><br/>
|
||||
{% if can_auto_update %}
|
||||
</form>
|
||||
{% endif %}
|
||||
<br/>
|
||||
<a href="index.php">« {{ 'General_BackToPiwik'|translate }}</a>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue