<?php
	$c = Minz_Request::controllerName ();
	$a = Minz_Request::actionName ();
	$params = Minz_Request::params ();
	$markReadUrl = Minz_Session::param ('markReadUrl');
	Minz_Session::_param ('markReadUrl', false);
?>

<ul class="pagination">
	<li class="item pager-next">
	<?php if (!empty($this->nextId)) { ?>
	<?php $params['next'] = $this->nextId; ?>
	<a id="load_more" href="<?php echo Minz_Url::display (array ('c' => $c, 'a' => $a, 'params' => $params)); ?>"><?php echo Minz_Translate::t ('load_more'); ?></a>
	<?php } elseif ($markReadUrl) { ?>
	<a id="bigMarkAsRead" href="<?php echo $markReadUrl; ?>">
		<?php echo Minz_Translate::t ('nothing_to_load'); ?><br />
		<span class="bigTick">✔</span><br />
		<?php echo Minz_Translate::t ('mark_all_read'); ?>
	</a>
	<?php } else { ?>
	<a id="bigMarkAsRead" href=".">
		<?php echo Minz_Translate::t ('nothing_to_load'); ?><br />
	</a>
	<?php } ?>
	</li>
</ul>

<?php
	$c = Minz_Request::controllerName ();
	$a = Minz_Request::actionName ();
	$params = Minz_Request::params ();
	$markReadUrl = Minz_Session::param ('markReadUrl');
	Minz_Session::_param ('markReadUrl', false);
?>

<ul class="pagination">
	<li class="item pager-next">
	<?php if (!empty($this->nextId)) { ?>
	<?php $params['next'] = $this->nextId; ?>
	<a id="load_more" href="<?php echo Minz_Url::display (array ('c' => $c, 'a' => $a, 'params' => $params)); ?>"><?php echo Minz_Translate::t ('load_more'); ?></a>
	<?php } elseif ($markReadUrl) { ?>
	<a id="bigMarkAsRead" href="<?php echo $markReadUrl; ?>" class="confirm">
		<?php echo Minz_Translate::t ('nothing_to_load'); ?><br />
		<span class="bigTick">✔</span><br />
		<?php echo Minz_Translate::t ('mark_all_read'); ?>
	</a>
	<?php } else { ?>
	<a id="bigMarkAsRead" href=".">
		<?php echo Minz_Translate::t ('nothing_to_load'); ?><br />
	</a>
	<?php } ?>
	</li>
</ul>

Add a confirmation dialog when clicking on the big tick
Add a confirmation dialog when clicking on the big tick

See #519
Before, when clicking on the big tick to mark all articles as read, it triggers directly the action.
Now, it asks for a confirmation to block unwanted user clicks.
