2019-09-19 12:48:31 +00:00
|
|
|
<div class="nav">
|
|
|
|
<?php
|
|
|
|
$menuItems = [
|
|
|
|
'fa-wrench' => [
|
|
|
|
'slug' => 'setting',
|
|
|
|
'lngKey' => 'settings',
|
|
|
|
'path' => 'setting',
|
|
|
|
],
|
|
|
|
'fa-calendar-o' => [
|
|
|
|
'slug' => 'automation',
|
|
|
|
'lngKey' => 'automatization',
|
|
|
|
'path' => 'automation',
|
|
|
|
],
|
|
|
|
'fa-bug' =>[
|
2020-05-13 10:03:52 +00:00
|
|
|
'slug' => 'log',
|
2019-09-19 12:48:31 +00:00
|
|
|
'lngKey' => 'log',
|
2020-05-02 19:24:21 +00:00
|
|
|
'path' => '',
|
2019-09-19 12:48:31 +00:00
|
|
|
],
|
|
|
|
];
|
2020-01-17 09:27:51 +00:00
|
|
|
foreach ( $menuItems as $key => $value) {
|
|
|
|
if ($DEBUGMOD == 0 && $value['path'] == 'log') {
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
?>
|
2019-09-19 12:48:31 +00:00
|
|
|
<div class="nav-item <?php echo ($ITEM == $value ? 'is-active' : ''); ?>">
|
|
|
|
<a href="<?php echo $value['path']?>">
|
|
|
|
<i class="fa <?php echo $key ?>"></i>
|
|
|
|
<span>
|
2019-10-11 12:12:05 +00:00
|
|
|
<?php $LANGMNG->echo('m_'.$value['lngKey']); ?>
|
2019-09-19 12:48:31 +00:00
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<?php }?>
|
2020-01-17 09:27:51 +00:00
|
|
|
|
|
|
|
</div>
|