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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-05-31 16:13:24 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-05-31 16:13:24 +0400
commit1ef1ad6ab7834950675eb9eb28624012ce6af0df (patch)
treec30793672a094d2800f21d8882308d08687a5f8f /plugins/API
parente81511ecee369cf46fd9ac540c70c9fb7094a26b (diff)
Fixes #1374 Patch by halfdan
I modified it a bit to simplify the translation messages
Diffstat (limited to 'plugins/API')
-rw-r--r--plugins/API/templates/listAllAPI.tpl16
1 files changed, 14 insertions, 2 deletions
diff --git a/plugins/API/templates/listAllAPI.tpl b/plugins/API/templates/listAllAPI.tpl
index 0af894df68..68d51b6684 100644
--- a/plugins/API/templates/listAllAPI.tpl
+++ b/plugins/API/templates/listAllAPI.tpl
@@ -6,8 +6,20 @@
<style>
{fetch file="plugins/API/templates/styles.css"}
</style>
+<h2>{'API_QuickDocumentationTitle'|translate}</h2>
+<p>{'API_PluginDescription'|translate}</p>
-{'API_QuickDocumentation'|translate:$token_auth}
-<span id='token_auth'>token_auth = <b>{$token_auth}</b></span>
+{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