[30366] trunk/www/includes/common.inc

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 25 14:12:20 PDT 2007


Revision: 30366
          http://trac.macosforge.org/projects/macports/changeset/30366
Author:   jmpp at macports.org
Date:     2007-10-25 14:12:20 -0700 (Thu, 25 Oct 2007)

Log Message:
-----------
Abstraction++

Modified Paths:
--------------
    trunk/www/includes/common.inc

Modified: trunk/www/includes/common.inc
===================================================================
--- trunk/www/includes/common.inc	2007-10-25 21:08:56 UTC (rev 30365)
+++ trunk/www/includes/common.inc	2007-10-25 21:12:20 UTC (rev 30366)
@@ -43,7 +43,7 @@
 # Page header
 function print_header($title, $encoding) {
     global $MPWEB;
-    echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
+    echo "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071025/912dff19/attachment.html


More information about the macports-changes mailing list