show basic api doc in webinterface (top-menu - options - API help)
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
13
templates/Sparkle/apihelp/index.tpl
vendored
Normal file
13
templates/Sparkle/apihelp/index.tpl
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
$header
|
||||
<article>
|
||||
<h2>
|
||||
API help
|
||||
</h2>
|
||||
|
||||
<section>
|
||||
<hr />
|
||||
{$apihelp}
|
||||
</section>
|
||||
|
||||
</article>
|
||||
$footer
|
||||
3
templates/Sparkle/header.tpl
vendored
3
templates/Sparkle/header.tpl
vendored
@@ -67,6 +67,9 @@
|
||||
<if Settings::Get('panel.allow_theme_change_customer') == '1' && $userinfo['adminsession'] == 0>
|
||||
<li><a href="{$linker->getLink(array('section' => 'index', 'page' => 'change_theme'))}">{$lng['panel']['theme']}</a></li>
|
||||
</if>
|
||||
<if Settings::Get('api.enabled') == 1>
|
||||
<li><a href="{$linker->getLink(array('section' => 'index', 'page' => 'apihelp'))}">{$lng['menue']['main']['apihelp']}</a></li>
|
||||
</if>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{$linker->getLink(array('section' => 'index', 'action' => 'logout'))}" class="logoutlink">{$lng['login']['logout']}</a></li>
|
||||
|
||||
Reference in New Issue
Block a user