Import dom_add_element()
[irspy-moved-to-github.git] / web / htdocs / chrome / head.mc
index 49f5800..f4b133d 100644 (file)
@@ -1,15 +1,15 @@
-%# $Id: head.mc,v 1.1 2006-09-14 15:17:48 mike Exp $
+%# $Id: head.mc,v 1.3 2006-09-25 19:53:02 mike Exp $
 <%args>
 $title
 </%args>
-% my $agent = $m->notes("agent");
-<?xml version="1.0" encoding="ISO-8859-1"?>
+% $r->content_type("text/html; charset=utf-8");
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html 
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
-  <title>IRSpy: <% $title %></title>
+  <title>IRSpy: <% xml_encode($title) %></title>
   <style type="text/css">
    <& style.mc &>
   </style>