diff options
| author | 2014-09-16 14:58:25 +0200 | |
|---|---|---|
| committer | 2014-09-16 14:58:25 +0200 | |
| commit | 6f8413403b53db7e17a36900bba2b470635b7943 (patch) | |
| tree | a59243d3062e74f9a7433ae75772cd8e57ac0a58 /app | |
| parent | def0b6e71aa29b33e1f412b7431d3818966d155e (diff) | |
Change #bigMarkAsRead link in button
See https://github.com/marienfressinaud/FreshRSS/issues/599#issuecomment-55735615
Diffstat (limited to 'app')
| -rwxr-xr-x | app/views/helpers/pagination.phtml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/helpers/pagination.phtml b/app/views/helpers/pagination.phtml index db5cf25b5..f6fcbc701 100755 --- a/app/views/helpers/pagination.phtml +++ b/app/views/helpers/pagination.phtml @@ -14,11 +14,15 @@ <?php echo _t('load_more'); ?> </a> <?php } elseif ($markReadUrl) { ?> - <a id="bigMarkAsRead" href="<?php echo $markReadUrl; ?>"<?php if ($this->conf->reading_confirm) { echo ' class="confirm"';} ?>> + <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'); ?> - </a> + </button> <?php } else { ?> <a id="bigMarkAsRead" href="."> <?php echo _t('nothing_to_load'); ?><br /> |
