From 8079dfd1cdec41a0bb3ee7ec2b974e8e64376d83 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 12 Dec 2014 17:01:02 +0100 Subject: [PATCH] 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 &) * 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 closing tag * Remove obsolete language attribute on + {/if} diff --git a/tpl/picwall.html b/tpl/picwall.html index b78e2609..bfaabf7e 100644 --- a/tpl/picwall.html +++ b/tpl/picwall.html @@ -9,15 +9,15 @@ -
-
- {loop="linksToDisplay"} -
- {$value.thumbnail}{$value.title|htmlspecialchars} -
- {/loop} +
+
+ {loop="linksToDisplay"} +
+ {$value.thumbnail}{$value.title|htmlspecialchars} +
+ {/loop} +
-
{include="page.footer"} {if="empty($GLOBALS['disablejquery'])"} diff --git a/tpl/tagcloud.html b/tpl/tagcloud.html index 9418e248..97205e2b 100644 --- a/tpl/tagcloud.html +++ b/tpl/tagcloud.html @@ -3,13 +3,13 @@ {include="includes"} -
-
- {loop="tags"} - {$value.count}{$key|htmlspecialchars} - {/loop} +
+
+ {loop="tags"} + {$value.count}{$key|htmlspecialchars} + {/loop} +
-
{include="page.footer"}