Dotclear

Changeset 2602:58466d372cb5 for plugins


Ignore:
Timestamp:
12/08/13 12:36:13 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switch all templates to HTML5, step 1, ARIA roles need to be implemented

Location:
plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/default-templates/page.html

    r2566 r2602  
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}"> 
     1<!DOCTYPE html> 
     2<html lang="{{tpl:BlogLanguage}}"> 
    43<head> 
    5   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
     4  <meta charset="UTF-8" /> 
    65  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
    76 
     
    109  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    1110  <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
    12   <meta name="date" scheme="W3CDTF" content="{{tpl:EntryDate iso8601="1"}}" /> 
     11  <meta name="date" content="{{tpl:EntryDate iso8601="1"}}" /> 
    1312 
    1413  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    15   <meta name="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> 
    16   <meta name="dc.description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
    17   <meta name="dc.creator" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
    18   <meta name="dc.language" content="{{tpl:EntryLang}}" /> 
    19   <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    20   <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    21   <meta name="dc.date" scheme="W3CDTF" content="{{tpl:EntryDate iso8601="1"}}" /> 
    22   <meta name="dc.type" content="text" /> 
    23   <meta name="dc.format" content="text/html" /> 
     14  <meta property="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> 
     15  <meta property="dc.description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
     16  <meta property="dc.creator" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
     17  <meta property="dc.language" content="{{tpl:EntryLang}}" /> 
     18  <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
     19  <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
     20  <meta property="dc.date" content="{{tpl:EntryDate iso8601="1"}}" /> 
     21  <meta property="dc.type" content="text" /> 
     22  <meta property="dc.format" content="text/html" /> 
    2423 
    2524  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
  • plugins/tags/default-templates/tag.html

    r2566 r2602  
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}"> 
     1<!DOCTYPE html> 
     2<html lang="{{tpl:BlogLanguage}}"> 
    43<head> 
    5   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
     4  <meta charset="UTF-8" /> 
    65  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
    76 
     
    98  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    109  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    11   <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
     10  <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    1211 
    1312  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    14   <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tag}} - {{tpl:TagID}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    15   <meta name="dc.language" content="{{tpl:BlogLanguage}}" /> 
    16   <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    17   <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    18   <meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    19   <meta name="dc.type" content="text" /> 
    20   <meta name="dc.format" content="text/html" /> 
     13  <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tag}} - {{tpl:TagID}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
     14  <meta property="dc.language" content="{{tpl:BlogLanguage}}" /> 
     15  <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
     16  <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
     17  <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
     18  <meta property="dc.type" content="text" /> 
     19  <meta property="dc.format" content="text/html" /> 
    2120 
    2221  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
  • plugins/tags/default-templates/tags.html

    r2566 r2602  
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}"> 
     1<!DOCTYPE html> 
     2<html lang="{{tpl:BlogLanguage}}"> 
    43<head> 
    5   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
     4  <meta charset="UTF-8" /> 
    65  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" /> 
    76 
     
    98  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    109  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    11   <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
     10  <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    1211 
    1312  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    14   <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tags}} - {{tpl:BlogName encode_html="1"}}" /> 
    15   <meta name="dc.language" content="{{tpl:BlogLanguage}}" /> 
    16   <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    17   <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    18   <meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    19   <meta name="dc.type" content="text" /> 
    20   <meta name="dc.format" content="text/html" /> 
     13  <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tags}} - {{tpl:BlogName encode_html="1"}}" /> 
     14  <meta property="dc.language" content="{{tpl:BlogLanguage}}" /> 
     15  <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
     16  <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
     17  <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
     18  <meta property="dc.type" content="text" /> 
     19  <meta property="dc.format" content="text/html" /> 
    2120 
    2221  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map