$tpl =& new HTML_Template_Sigma($tmpldir."/html");
+$message_page = false;
+if (strstr($_SERVER['PHP_SELF'], "message-id") ||
+ strstr($_SERVER['PHP_SELF'], "/msg"))
+ $message_page = true;
+
$tpl->loadTemplateFile('msgheader.html');
$tpl->setVariable('title', $title);
+if ($message_page)
+ $robots = "nofollow, index, archive";
+else
+ $robots = "follow, noindex, noarchive";
+$tpl->setVariable('robots', $robots);
+
if (!isset($base))
{
$tpl->hideBlock('baseblock');
<meta name="rating" content="General" />
<meta name="distribution" content="Global" />
<meta name="revisit-after" content="7 days" />
- <meta name="robots" content="follow, noindex, noarchive" />
+ <meta name="robots" content="{robots}" />
<title>{title}</title>