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
43
www/analytics/plugins/API/templates/glossary.twig
Normal file
43
www/analytics/plugins/API/templates/glossary.twig
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{% extends isWidget ? 'empty.twig' : 'user.twig' %}
|
||||
|
||||
{% set title %}{{ 'API_Glossary'|translate }}{% endset %}
|
||||
|
||||
{% block content %}
|
||||
<h2 piwik-enriched-headline>{{ title }}</h2>
|
||||
|
||||
{{ 'API_LearnAboutCommonlyUsedTerms'|translate(
|
||||
'<a href="#metrics">'~ 'General_Metrics'|translate ~ '</a>',
|
||||
'<a href="#reports">' ~ 'General_Reports'|translate ~ '</a>')|raw
|
||||
}}
|
||||
|
||||
<!-- {{ metrics|length }} metrics, {{ reports|length }} reports -->
|
||||
|
||||
<a id="metrics"></a>
|
||||
<h2>{{ 'General_Metrics'|translate }}</h2>
|
||||
<table>
|
||||
{% for metric in metrics %}
|
||||
<tr>
|
||||
<td>
|
||||
<h3>{{ metric.name }}</h3>
|
||||
</td>
|
||||
<td>
|
||||
{{ metric.documentation|raw }}
|
||||
|
||||
<br/><span style="color: #bbb;">{{ metric.id }} (API)</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
<a id="reports"></a>
|
||||
<h2>{{ 'General_Reports'|translate }}</h2>
|
||||
|
||||
|
||||
{% for report in reports %}
|
||||
<h3>{{ report.name }}</h3>
|
||||
<p>{{ report.documentation|raw }}</p>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,29 +1,28 @@
|
|||
{% extends 'dashboard.twig' %}
|
||||
{% set showMenu=false %}
|
||||
{% extends 'user.twig' %}
|
||||
|
||||
{% set title %}{{ 'API_ReportingApiReference'|translate }}{% endset %}
|
||||
|
||||
{% block topcontrols %}
|
||||
{% include "@CoreHome/_siteSelectHeader.twig" %}
|
||||
{% include "@CoreHome/_periodSelect.twig" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% include "@CoreHome/_siteSelectHeader.twig" %}
|
||||
<div class="api-list">
|
||||
|
||||
<div class="page_api pageWrap">
|
||||
|
||||
<div class="top_controls">
|
||||
{% include "@CoreHome/_periodSelect.twig" %}
|
||||
</div>
|
||||
|
||||
<h2>{{ 'API_QuickDocumentationTitle'|translate }}</h2>
|
||||
<h2>{{ title }}</h2>
|
||||
|
||||
<p>{{ 'API_PluginDescription'|translate }}</p>
|
||||
|
||||
|
||||
<p>
|
||||
<strong>{{ 'API_MoreInformation'|translate("<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/docs/analytics-api'>","</a>","<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/docs/analytics-api/reference'>","</a>")|raw }}</strong>
|
||||
{{ 'API_MoreInformation'|translate("<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/docs/analytics-api'>","</a>","<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/docs/analytics-api/reference'>","</a>")|raw }}
|
||||
</p>
|
||||
|
||||
<h2>{{ 'API_UserAuthentication'|translate }}</h2>
|
||||
|
||||
<p>
|
||||
{{ 'API_UsingTokenAuth'|translate('<b>','</b>',"")|raw }}<br/>
|
||||
{{ 'API_UsingTokenAuth'|translate('','',"")|raw }}<br/>
|
||||
<span id='token_auth'>&token_auth=<strong>{{ token_auth }}</strong></span><br/>
|
||||
{{ 'API_KeepTokenSecret'|translate('<b>','</b>')|raw }}
|
||||
{{ list_api_methods_with_links|raw }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue