conf) || is_logged ()) { ?>
get_f) {
$get = 'f_' . $this->get_f;
$string_mark = Translate::t ('mark_feed_read');
} elseif ($this->get_c &&
$this->get_c != 'a' &&
$this->get_c != 's') {
$get = 'c_' . $this->get_c;
$string_mark = Translate::t ('mark_cat_read');
}
$nextGet = $get;
if (($this->conf->onread_jump_next () === 'yes') && (strlen ($get) > 2)) {
$anotherUnreadId = '';
$foundCurrent = false;
switch ($get[0]) {
case 'c':
foreach ($this->cat_aside as $cat) {
if ($cat->id () === $this->get_c) {
$foundCurrent = true;
continue;
}
if ($cat->nbNotRead () <= 0) continue;
$anotherUnreadId = $cat->id ();
if ($foundCurrent) break;
}
$nextGet = empty ($anotherUnreadId) ? 'a' : 'c_' . $anotherUnreadId;
break;
case 'f':
foreach ($this->cat_aside as $cat) {
if ($cat->id () === $this->get_c) {
foreach ($cat->feeds () as $feed) {
if ($feed->id () === $this->get_f) {
$foundCurrent = true;
continue;
}
if ($feed->nbNotRead () <= 0) continue;
$anotherUnreadId = $feed->id ();
if ($foundCurrent) break;
}
break;
}
}
$nextGet = empty ($anotherUnreadId) ? 'c_' . $this->get_c : 'f_' . $anotherUnreadId;
break;
}
}
$p = isset($this->entries[0]) ? $this->entries[0] : null;
$idMax = $p === null ? '0' : $p->id();
$markReadUrl = _url ('entry', 'read', 'is_read', 1, 'get', $get, 'nextGet', $nextGet, 'idMax', $idMax);
Session::_param ('markReadUrl', $markReadUrl);
?>
'index',
'a' => 'index',
'params' => $params
);
?>