Index: /branches/release-33/php/mt.php.pre
===================================================================
--- /branches/release-33/php/mt.php.pre (revision 1717)
+++ /branches/release-33/php/mt.php.pre (revision 1726)
@@ -704,5 +704,5 @@
             $ctx->stash('PublishCharset', $this->config('PublishCharset'));
             $charset = $this->config('PublishCharset');
-            $out = $ctx->tag('Include', array('type' => 'dynamic_error'));
+            $out = $ctx->tag('Include', array('type' => 'dynamic_error', 'dynamic_error' => 1, 'system_template' => 1));
             if (isset($out)) {
                 header("Content-type: text/html; charset=".$charset);
@@ -718,5 +718,5 @@
 
     /***
-     * Retreives a context and rendering object.
+     * Retrieves a context and rendering object.
      */
     function &context() {
Index: /branches/release-33/lib/MT/App/Search.pm
===================================================================
--- /branches/release-33/lib/MT/App/Search.pm (revision 1708)
+++ /branches/release-33/lib/MT/App/Search.pm (revision 1726)
@@ -523,4 +523,7 @@
     return $app->error($app->errstr)
         unless $tmpl;
+
+    $ctx->var('system_template', '1');
+    $ctx->var('search_results', '1');
 
     $tmpl->context($ctx);
