diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml
index 8b1ca1f6f..b316b090b 100644
--- a/app/layout/nav_menu.phtml
+++ b/app/layout/nav_menu.phtml
@@ -11,13 +11,15 @@
if ($this->state & FreshRSS_Entry::STATE_READ) {
$url_state['params']['state'] = $this->state - FreshRSS_Entry::STATE_READ;
$checked = 'true';
+ $class = 'active';
} else {
$url_state['params']['state'] = $this->state + FreshRSS_Entry::STATE_READ;
$checked = 'false';
+ $class = '';
}
?>
@@ -27,13 +29,15 @@
if ($this->state & FreshRSS_Entry::STATE_NOT_READ) {
$url_state['params']['state'] = $this->state - FreshRSS_Entry::STATE_NOT_READ;
$checked = 'true';
+ $class = 'active';
} else {
$url_state['params']['state'] = $this->state + FreshRSS_Entry::STATE_NOT_READ;
$checked = 'false';
+ $class = '';
}
?>
@@ -43,13 +47,15 @@
if ($this->state & FreshRSS_Entry::STATE_FAVORITE) {
$url_state['params']['state'] = $this->state - FreshRSS_Entry::STATE_FAVORITE;
$checked = 'true';
+ $class = 'active';
} else {
$url_state['params']['state'] = $this->state + FreshRSS_Entry::STATE_FAVORITE;
$checked = 'false';
+ $class = '';
}
?>
@@ -59,13 +65,15 @@
if ($this->state & FreshRSS_Entry::STATE_NOT_FAVORITE) {
$url_state['params']['state'] = $this->state - FreshRSS_Entry::STATE_NOT_FAVORITE;
$checked = 'true';
+ $class = 'active';
} else {
$url_state['params']['state'] = $this->state + FreshRSS_Entry::STATE_NOT_FAVORITE;
$checked = 'false';
+ $class = '';
}
?>