mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
37 lines
1.1 KiB
PHTML
Executable file
37 lines
1.1 KiB
PHTML
Executable file
<?php
|
|
$c = Minz_Request::controllerName();
|
|
$a = Minz_Request::actionName();
|
|
$params = Minz_Request::params();
|
|
$markReadUrl = Minz_Session::param('markReadUrl');
|
|
Minz_Session::_param('markReadUrl', false);
|
|
?>
|
|
|
|
<form id="mark-read-pagination" method="post" style="display: none"></form>
|
|
|
|
<ul class="pagination">
|
|
<li class="item pager-next">
|
|
<?php if (!empty($this->nextId)) { ?>
|
|
<?php
|
|
$params['next'] = $this->nextId;
|
|
$params['ajax'] = 1;
|
|
?>
|
|
<a id="load_more" href="<?php echo Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)); ?>">
|
|
<?php echo _t('load_more'); ?>
|
|
</a>
|
|
<?php } elseif ($markReadUrl) { ?>
|
|
<button id="bigMarkAsRead"
|
|
class="as-link <?php echo $this->conf->reading_confirm ? 'confirm' : ''; ?>"
|
|
form="mark-read-pagination"
|
|
formaction="<?php echo $markReadUrl; ?>"
|
|
type="submit">
|
|
<?php echo _t('nothing_to_load'); ?><br />
|
|
<span class="bigTick">✓</span><br />
|
|
<?php echo _t('mark_all_read'); ?>
|
|
</button>
|
|
<?php } else { ?>
|
|
<a id="bigMarkAsRead" href=".">
|
|
<?php echo _t('nothing_to_load'); ?><br />
|
|
</a>
|
|
<?php } ?>
|
|
</li>
|
|
</ul>
|