aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/linklist.paging.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2014-12-12 17:01:02 +0100
committerArthurHoaro <arthur@hoa.ro>2015-01-08 10:15:05 +0100
commit8079dfd1cdec41a0bb3ee7ec2b974e8e64376d83 (patch)
tree124a22ed9b66193d2d42df8a5693878046848da5 /tpl/linklist.paging.html
parent002f9625ec7d0f7673da1e7098fdea76487d0538 (diff)
downloadShaarli-8079dfd1cdec41a0bb3ee7ec2b974e8e64376d83.tar.gz
Shaarli-8079dfd1cdec41a0bb3ee7ec2b974e8e64376d83.tar.zst
Shaarli-8079dfd1cdec41a0bb3ee7ec2b974e8e64376d83.zip
W3C compliance (work on issue #64 - https://github.com/shaarli/Shaarli/issues/64):
* fix duplicate IDs - #paging_older, #paging_newer become classes as the paging is displayed twice (top, bottom) in the linklist * fix duplicate IDs - #paging_privatelinks and #paging_linksperpage become classes * daily links are now valid (use &amp) * name attribute is not used anymore on a tag in link list * center tag is replaced by CSS in picwall and tag cloud * action in form tag can't be empty, use # instead * fixed configure table with CSS instead of cellpadding, border, and valign * export links are now valid * remove "size" in input tag * Fix missing alt attributes for img elements * tpl/daily: Use HTML entities instead of char escape codes * tpl/export: fix missing </span> closing tag * Remove obsolete language attribute on <script> elements
Diffstat (limited to 'tpl/linklist.paging.html')
-rw-r--r--tpl/linklist.paging.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/tpl/linklist.paging.html b/tpl/linklist.paging.html
index c2b98971..848541cd 100644
--- a/tpl/linklist.paging.html
+++ b/tpl/linklist.paging.html
@@ -1,6 +1,6 @@
1<div class="paging"> 1<div class="paging">
2{if="isLoggedIn()"} 2{if="isLoggedIn()"}
3 <div id="paging_privatelinks"> 3 <div class="paging_privatelinks">
4 <a href="?privateonly"> 4 <a href="?privateonly">
5 {if="$privateonly"} 5 {if="$privateonly"}
6 <img src="images/private_16x16_active.png#" width="16" height="16" title="Click to see all links" alt="Click to see all links"> 6 <img src="images/private_16x16_active.png#" width="16" height="16" title="Click to see all links" alt="Click to see all links">
@@ -10,11 +10,11 @@
10 </a> 10 </a>
11 </div> 11 </div>
12{/if} 12{/if}
13 <div id="paging_linksperpage"> 13 <div class="paging_linksperpage">
14 Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a> 14 Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a>
15 <form method="GET" class="linksperpage"><input type="text" name="linksperpage" size="2"></form> 15 <form method="GET" class="linksperpage"><input type="text" name="linksperpage" size="2"></form>
16 </div> 16 </div>
17 {if="$previous_page_url"} <a href="{$previous_page_url}" id="paging_older">&#x25C4;Older</a> {/if} 17 {if="$previous_page_url"} <a href="{$previous_page_url}" class="paging_older">&#x25C4;Older</a> {/if}
18 <div id="paging_current">page {$page_current} / {$page_max} </div> 18 <div class="paging_current">page {$page_current} / {$page_max} </div>
19 {if="$next_page_url"} <a href="{$next_page_url}" id="paging_newer">Newer&#x25BA;</a> {/if} 19 {if="$next_page_url"} <a href="{$next_page_url}" class="paging_newer">Newer&#x25BA;</a> {/if}
20</div> 20</div>