* Added mobile device detection PHP library * Call PHP library to decide which theme to use * Added theme as a configuration option into global config * Selectable Desktop theme (default: mmcFE) * Selectable Mobile theme (default: mobile) * Disable mobile theme support entirely **NOTE**: This requires updates to the `global.inc.php` so please check the dist file and update your config before filing a new issue! Addresses #25
12 lines
644 B
Smarty
12 lines
644 B
Smarty
<div data-role="navbar">
|
|
<ul>
|
|
<li><a href="{$smarty.server.PHP_SELF}" data-icon="home" data-ajax="false">Home</a></li>
|
|
{if $smarty.session.AUTHENTICATED|default:"0" == 1}
|
|
<li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=pool" data-icon="grid" data-ajax="false">Statistics</a></li>
|
|
<li><a href="{$smarty.server.PHP_SELF}?page=logout" data-icon="gear" data-ajax="false">Logout</a></li>
|
|
{else}
|
|
<li><a href="{$smarty.server.PHP_SELF}?page=login" data-icon="gear" data-ajax="false">Login</a></li>
|
|
{/if}
|
|
</ul>
|
|
</div>
|