includes/template.php
changeset 212 30b857a6b811
parent 211 753dabeca1ee
child 215 94db56b8124f
--- a/includes/template.php	Sun Oct 28 17:46:54 2007 -0400
+++ b/includes/template.php	Sun Oct 28 19:57:29 2007 -0400
@@ -736,7 +736,8 @@
           }
       $js_dynamic .= '\';
       var ENANO_CURRENT_THEME = \''. $session->theme .'\';
-      var ENANO_LANG_ID = ' . $lang->lang_id . ';';
+      var ENANO_LANG_ID = ' . $lang->lang_id . ';
+      var ENANO_PAGE_TYPE = "' . addslashes($this->namespace_string) . '";';
       foreach($paths->nslist as $k => $c)
       {
         $js_dynamic .= "namespace_list['{$k}'] = '$c';";