A free, self-hostable aggregator…
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

12 years ago
<?php
$c = Minz_Request::controllerName();
$a = Minz_Request::actionName();
$params = Minz_Request::params();
$markReadUrl = Minz_Session::param('markReadUrl');
Minz_Session::_param('markReadUrl', false);
12 years ago
?>
<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"
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>
12 years ago
<?php } ?>
</li>
12 years ago
</ul>