Disable API on mobile theme if disabled

This commit is contained in:
Sebastian Grewe 2013-07-18 10:49:16 +02:00
parent 8393053641
commit b57f6b59a1

View File

@ -18,4 +18,4 @@
</tr>
</tbody>
</table>
<li>These stats are also available in JSON format <a href="{$smarty.server.PHP_SELF}?page=api&action=public" target="_api">HERE</a></li>
{if !$GLOBAL.config.website.api.disabled}<li>These stats are also available in JSON format <a href="{$smarty.server.PHP_SELF}?page=api&action=public" target="_api">HERE</a></li>{/if}