Dotclear


Ignore:
Timestamp:
10/17/14 15:11:05 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switch from XHTML to HTML5 for backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r2720 r2760  
    9090          header('Content-Type: text/html; charset=UTF-8'); 
    9191          echo 
    92           '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" '. 
    93           ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n". 
    94           '<html xmlns="http://www.w3.org/1999/xhtml" '. 
    95           'xml:lang="'.$core->auth->getInfo('user_lang').'" '. 
    96           'lang="'.$core->auth->getInfo('user_lang').'">'."\n". 
     92          '<!DOCTYPE html>'. 
     93          '<html lang="'.$core->auth->getInfo('user_lang').'">'."\n". 
    9794          "<head>\n". 
    98           '  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />'."\n". 
     95          '  <meta charset="UTF-8" />'."\n". 
    9996          '  <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" />'."\n". 
    10097          '  <meta name="GOOGLEBOT" content="NOSNIPPET" />'."\n". 
     
    312309          header('Content-Type: text/html; charset=UTF-8'); 
    313310          echo 
    314           '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" '. 
    315           ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n". 
    316           '<html xmlns="http://www.w3.org/1999/xhtml" '. 
    317           'xml:lang="'.$core->auth->getInfo('user_lang').'" '. 
    318           'lang="'.$core->auth->getInfo('user_lang').'">'."\n". 
     311          '<!DOCTYPE html>'. 
     312          '<html lang="'.$core->auth->getInfo('user_lang').'">'."\n". 
    319313          "<head>\n". 
     314          '  <meta charset="UTF-8" />'."\n". 
    320315          '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />'."\n". 
    321           '  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />'."\n". 
    322316          '  <title>'.$title.' - '.html::escapeHTML($core->blog->name).' - '.html::escapeHTML(DC_VENDOR_NAME).' - '.DC_VERSION.'</title>'."\n". 
    323317 
Note: See TracChangeset for help on using the changeset viewer.

Sites map