Permalink
Browse files

Move xmlns out of the language definition to the template file

  • Loading branch information...
1 parent 0a4e9f0 commit f07164c214db881f6c57d853c06161cedf9edf8e @haraldpdl haraldpdl committed Nov 12, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 catalog/includes/languages/english.php
  2. +1 −1 catalog/includes/template_top.php
@@ -40,7 +40,7 @@ function tep_date_raw($date, $reverse = false) {
define('LANGUAGE_CURRENCY', 'USD');
// Global entries for the <html> tag
-define('HTML_PARAMS','xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"');
+define('HTML_PARAMS', 'dir="ltr" lang="en"');
// charset for web pages and emails
define('CHARSET', 'utf-8');
@@ -21,7 +21,7 @@
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html <?php echo HTML_PARAMS; ?>>
+<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
<title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title>

0 comments on commit f07164c

Please sign in to comment.