Explicitely allow all robots everywhere
[www.energie.vellum.cz.git] / obsah.php
index 978dfc6..eb262e1 100644 (file)
--- a/obsah.php
+++ b/obsah.php
        $head_css="
 .page { font-style: italic; }
 ";
-       heading();
+
+       // Prevent indexing of pages with multiple months of the content, any
+       // websearch robot should get indexed the right one specific page anyway.
+       heading(true/*title*/,($year && $month)/*indexme*/);
+
        print("<h1>$title_tail</h1>\n");
 
        $result=db_query("select year,month,month_last,contents from $tb_obsah"
@@ -37,7 +41,6 @@
                        print("<h2>Èíslo ".$month_a["name_full"]."</h2>\n");
                        }
                $contents=$sep_obsah_contents.$row["contents"];
-               $contents=htmlspecialchars($contents);
 
                $article_result=db_query("select name,id from $tb_clanek"
                                ." where  year=".$row[ "year"]