Adding reference for API documentation

This is a simple version since API documentation is already documented
on the GitHub Wiki.

Fixes #323
This commit is contained in:
Sebastian Grewe 2013-07-01 18:34:08 +02:00
parent bbced0cf94
commit e0c1c3edf1
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<?php
// Make sure we are called from index.php
if (!defined('SECURITY')) die('Hacking attempt');
// Tempalte specifics
$smarty->assign("CONTENT", "default.tpl");
?>

View File

@ -0,0 +1,3 @@
{include file="global/block_header.tpl" BLOCK_HEADER="API Reference"}
<p>Please head over to the <a href="https://github.com/TheSerapher/php-mmcfe-ng/wiki/API-Reference">official documentation</a> to learn about the API featured in <b>mmcfe-ng</b>.</p>
{include file="global/block_footer.tpl"}

View File

@ -37,6 +37,7 @@
<li><a href="{$smarty.server.PHP_SELF}?page=about&action=pool">About</a>
<ul>
<li><a href="{$smarty.server.PHP_SELF}?page=about&action=pool">This Pool</a></li>
<li><a href="{$smarty.server.PHP_SELF}?page=about&action=api">API Reference</a></li>
<li><a href="{$smarty.server.PHP_SELF}?page=about&action=donors">Pool Donors</a></li>
</ul>
</li>