summaryrefslogtreecommitdiff
path: root/plugins/Bigboard/Template/Bigboard.php
blob: 6767da64a41391f00b483a52b29ede609e077bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
    $routerController = $this->app->getRouterController();
    $routerPlugin = $this->app->getPluginName();

    $active = $routerController == 'Bigboard' && $routerPlugin == 'Bigboard';
?>
<li class="<?= $active ? 'active' : '' ?>">
    <i class="fa fa-th fa-fw"></i>
    <?= $this->url->link(
        'Bigboard',
        'Bigboard',
        'index',
        ['plugin' => 'Bigboard', ]
    ) ?>
</li>