change the templates to use the charset taken from the message bundle of the current...
authormh <mh>
Sat, 18 Jan 2003 08:20:56 +0000 (08:20 +0000)
committermh <mh>
Sat, 18 Jan 2003 08:20:56 +0000 (08:20 +0000)
etc/open/posting.template
etc/producer/article.template
etc/producer/featurearchive.template
etc/producer/newswirearchive.template
etc/producer/startpage.template
etc/producer/topicpage.template
templates/admin/content.template
templates/admin/login.template
templates/admin/start_admin.template

index 73803f1..0ce2373 100755 (executable)
@@ -6,7 +6,7 @@
        <meta name="author" content="${lang("posting.meta.author")}">
        <meta name="keywords" content="${lang("posting.meta.keywords")}">
        <!--<meta name="date" content="### Date ###Time">-->
-       <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
+       <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
        <meta name="robots" content="index">
        <meta name="robots" content="follow">
 
index ac27822..14bb606 100755 (executable)
@@ -5,7 +5,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-       <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">       
+       <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">    
     <title>${config["Mir.Name"]} | ${article.title}</title>
        <meta name="keywords" content="indymedia,imc">
        <meta name="description" content="indymedia,imc">
index 8fd5fc5..5a5a464 100755 (executable)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-       <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
+       <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
     <title>${config["Mir.Name"]} | ${lang("featurearchive.title")}</title>
        <meta name="keywords" content="${lang("general.keywords")}">
        <meta name="description" content="${lang("featurearchive.title")}">
index 5b9b800..8f15f3d 100755 (executable)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-       <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
+       <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
     <title>${config["Mir.Name"]} | ${lang("newswirearchive.title")}</title>
        <meta name="keywords" content="${lang("general.keywords")}">
        <meta name="description" content="${lang("newswirearchive.title")}">
index 485d385..8836961 100755 (executable)
@@ -7,7 +7,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-       <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">       
+       <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">    
        <title>${config["Mir.Name"]}</title>
        <meta name="keywords" content="indymedia,imc">
        <meta name="description" content="indymedia,imc">
index e372834..2c4c095 100755 (executable)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-       <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
+       <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
     <title>${config["Mir.Name"]} | ${topic.title}</title>
        <meta name="keywords" content="${lang("general.keywords")}">
        <meta name="description" content="${topic.description}">
index eca0d50..aab5f39 100755 (executable)
@@ -2,7 +2,8 @@
   <head>
     <title>${lang("content.htmltitle")}</title>
     <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css"
-    <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
+    <!-- this might one day need to be the lang of the article????? -->
+    <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset"}">
   </head>
 
 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
index a3a6c36..d56c24d 100755 (executable)
@@ -3,6 +3,7 @@
   <head>
     <title>${config["Mir.Name"]} | ${lang("login.htmltitle")}</title>
     <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
+    <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
     <script language="JavaScript">
       function placeFocus() {
         document.forms[0].elements[1].focus();
index 299e5a5..c35ba2c 100755 (executable)
@@ -2,7 +2,7 @@
   <head>
     <title>${config["Mir.Name"]} | ${lang("start.htmltitle")}</title>
     <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css"
-    <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
+    <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
   </head>
 
 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">