Update user-draft.html.php

This commit is contained in:
Dan 2020-06-28 08:31:45 +07:00 committed by GitHub
commit 925e2d6d0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,16 @@
</tr>
<?php endforeach; ?>
</table>
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])): ?>
<div class="pager">
<?php if (!empty($pagination['prev'])): ?>
<span><a href="?page=<?php echo $page - 1 ?>" class="pagination-arrow newer" rel="prev">Newer</a></span>
<?php endif; ?>
<?php if (!empty($pagination['next'])): ?>
<span><a href="?page=<?php echo $page + 1 ?>" class="pagination-arrow older" rel="next">Older</a></span>
<?php endif; ?>
</div>
<?php endif; ?>
<?php } else {
echo i18n('No_draft_found') . '!';
} ?>
} ?>