WordPress.org

Make WordPress Core

Ticket #1081: multilang2.patch

File multilang2.patch, 9.8 KB (added by kim, 10 years ago)
  • wp-login.php

    === wp-login.php
    ==================================================================
     
    3535do_action('lost_password'); 
    3636?> 
    3737<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    38 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     38<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    3939<head> 
    4040        <title>WordPress &raquo; <?php _e('Lost Password') ?></title> 
    4141        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
     
    195195                $redirect_to = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $_REQUEST['redirect_to']); 
    196196?> 
    197197<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    198 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     198<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    199199<head> 
    200200        <title>WordPress &rsaquo; <?php _e('Login') ?></title> 
    201201        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
  • wp-content/themes/classic/comments-popup.php

    === wp-content/themes/classic/comments-popup.php
    ==================================================================
     
    44foreach ($posts as $post) { start_wp(); 
    55?> 
    66<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    7 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     7<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    88<head> 
    99     <title><?php echo get_settings('blogname'); ?> - <?php echo sprintf(__("Comments on %s"), the_title('','',false)); ?></title> 
    1010 
  • wp-content/themes/classic/header.php

    === wp-content/themes/classic/header.php
    ==================================================================
     
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    2 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     2<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    33 
    44<head profile="http://gmpg.org/xfn/11"> 
    55        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
  • wp-content/themes/default/comments-popup.php

    === wp-content/themes/default/comments-popup.php
    ==================================================================
     
    44foreach ($posts as $post) { start_wp(); 
    55?> 
    66<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    7 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     7<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    88<head> 
    99     <title><?php echo get_settings('blogname'); ?> - Comments on <?php the_title(); ?></title> 
    1010 
  • wp-content/themes/default/header.php

    === wp-content/themes/default/header.php
    ==================================================================
     
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    2 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     2<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    33 
    44<head profile="http://gmpg.org/xfn/11"> 
    55        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
  • wp-register.php

    === wp-register.php
    ==================================================================
     
    8585 
    8686        ?> 
    8787<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    88 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     88<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    8989<head> 
    9090        <title>WordPress &raquo; <?php _e('Registration Complete') ?></title> 
    9191        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />        
     
    116116 
    117117        ?> 
    118118<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    119 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     119<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    120120<head> 
    121121        <title>WordPress &raquo; <?php _e('Registration Currently Disabled') ?></title> 
    122122        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>"> 
     
    143143 
    144144?> 
    145145<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    146 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     146<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    147147<head> 
    148148        <title>WordPress &raquo; <?php _e('Registration Form') ?></title> 
    149149        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> 
  • wp-admin/admin-header.php

    === wp-admin/admin-header.php
    ==================================================================
     
    44if (!isset($_GET["page"])) require_once('admin.php'); ?> 
    55<?php get_admin_page_title(); ?> 
    66<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    7 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     7<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    88<head> 
    99<title><?php bloginfo('name') ?> &rsaquo; <?php echo $title; ?> &#8212; WordPress</title> 
    1010<link rel="stylesheet" href="<?php echo get_settings('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 
  • wp-admin/sidebar.php

    === wp-admin/sidebar.php
    ==================================================================
     
    2626} else { 
    2727 
    2828?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    29 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     29<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    3030<head> 
    3131<title>WordPress &#8250; Sidebar</title> 
    3232<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('blog_charset'); ?>" /> 
  • wp-admin/bookmarklet.php

    === wp-admin/bookmarklet.php
    ==================================================================
     
    4949    /* /big funky fixes */ 
    5050 
    5151?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    52 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     52<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    5353<head> 
    5454<title><?php bloginfo('name') ?> &rsaquo; Bookmarklet &#8212; WordPress</title> 
    5555<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> 
  • wp.php

    === wp.php
    ==================================================================
     
    44?> 
    55<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    66"http://www.w3.org/TR/xhtml/DTD/xhtml-transitional.dtd"> 
    7 <html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?> xmlns="http://www.w3.org/1999/xhtml"> 
     7<html lang="<?php get_settings('blog_lang'); ?>" xml:lang="<?php get_settings('blog_lang'); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
    88<head> 
    99        <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> 
    1010        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />