r19136 - htdocs/trunk - Skip the utf-8 content-header line on namazu generated pages

Geert Janssens gjanssens at code.gnucash.org
Fri May 7 11:57:06 EDT 2010


Author: gjanssens
Date: 2010-05-07 11:57:06 -0400 (Fri, 07 May 2010)
New Revision: 19136
Trac: http://svn.gnucash.org/trac/changeset/19136

Modified:
   htdocs/trunk/externals/header.phtml
   htdocs/trunk/search/templates/NMZ.head.php_tmpl
Log:
Skip the utf-8 content-header line on namazu generated pages

Modified: htdocs/trunk/externals/header.phtml
===================================================================
--- htdocs/trunk/externals/header.phtml	2010-05-07 15:29:06 UTC (rev 19135)
+++ htdocs/trunk/externals/header.phtml	2010-05-07 15:57:06 UTC (rev 19136)
@@ -1,7 +1,12 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <html>
 <head>
-<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<?php
+if (!isset($can_utf)) { $can_utf = true; }
+if ($can_utf)
+{ ?>
+  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<?php } ?>
 <link rel="stylesheet" href="<?=$top_dir?>/externals/gnucash.css" type="text/css" />
 <link rel="icon" href="<?=$top_dir?>/favicon.ico" type="image/x-icon" />
 <link rel="shortcut icon" href="<?=$top_dir?>/favicon.ico" type="image/x-icon" />

Modified: htdocs/trunk/search/templates/NMZ.head.php_tmpl
===================================================================
--- htdocs/trunk/search/templates/NMZ.head.php_tmpl	2010-05-07 15:29:06 UTC (rev 19135)
+++ htdocs/trunk/search/templates/NMZ.head.php_tmpl	2010-05-07 15:57:06 UTC (rev 19136)
@@ -1,5 +1,6 @@
 <?php
 $title = _("Mailing List Search");
+$can_utf = false;
 include("lang.php");
 include("externals/header.phtml");
 include("externals/menu.phtml");



More information about the gnucash-changes mailing list