includes/template.php
changeset 253 6c7060d36a23
parent 252 a007145a0ff6
child 254 f49e3c8b638c
--- a/includes/template.php	Mon Dec 03 17:36:25 2007 -0500
+++ b/includes/template.php	Mon Dec 03 18:45:37 2007 -0500
@@ -220,6 +220,9 @@
       case "Category":
         $ns = 'category';
         break;
+      case "Anonymous":
+        $ns = 'external page';
+        break;
     }
     $this->namespace_string = $ns;
     $code = $plugins->setHook('page_type_string_set');
@@ -237,7 +240,7 @@
     $btn_selected = ( isset($tplvars['toolbar_button_selected'])) ? $tplvars['toolbar_button_selected'] : $tplvars['toolbar_button'];
     $parser = $this->makeParserText($btn_selected);
     
-    if ( !$paths->anonymous_page )
+    if ( true || !$paths->anonymous_page )
     {
       $parser->assign_vars(array(
           'FLAGS' => 'onclick="if ( !KILL_SWITCH ) { void(ajaxReset()); return false; }" title="View the page contents, all of the page contents, and nothing but the page contents (alt-a)" accesskey="a"',