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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/API/templates/listAllAPI.tpl')
-rw-r--r--plugins/API/templates/listAllAPI.tpl21
1 files changed, 19 insertions, 2 deletions
diff --git a/plugins/API/templates/listAllAPI.tpl b/plugins/API/templates/listAllAPI.tpl
index 42a1bcdfe3..68d51b6684 100644
--- a/plugins/API/templates/listAllAPI.tpl
+++ b/plugins/API/templates/listAllAPI.tpl
@@ -1,8 +1,25 @@
{assign var=showSitesSelection value=true}
{assign var=showPeriodSelection value=false}
+{assign var=showMenu value=false}
{include file="CoreAdminHome/templates/header.tpl"}
-{'API_QuickDocumentation'|translate:$token_auth}
-<span id='token_auth'>token_auth = <b>{$token_auth}</b></span>
+<style>
+{fetch file="plugins/API/templates/styles.css"}
+</style>
+<h2>{'API_QuickDocumentationTitle'|translate}</h2>
+<p>{'API_PluginDescription'|translate}</p>
+
+{if $isSuperUser}
+ <p>{'API_GenerateVisits'|translate:'VisitorGenerator':'VisitorGenerator'}</p>
+{/if}
+
+<p><b>{'API_MoreInformation'|translate:"<a target='_blank' href='misc/redirectToUrl.php?url=http://dev.piwik.org/trac/wiki/API'>":"</a>":"<a target='_blank' href='misc/redirectToUrl.php?url=http://dev.piwik.org/trac/wiki/API/Reference'>":"</a>"}</b></p>
+
+<h2>{'API_UserAuthentication'|translate}</h2>
+<p>
+{'API_UsingTokenAuth'|translate:'<b>':'</b>':"<u><code>&amp;token_auth=$token_auth</code></u>"}<br />
+<span id='token_auth'>token_auth = <b>{$token_auth}</b></span><br />
+{'API_KeepTokenSecret'|translate:'<b>':'</b>'}
<p><i>{'API_LoadedAPIs'|translate:$countLoadedAPI}</i></p>
{$list_api_methods_with_links}
+<br /> \ No newline at end of file