Index: trunk/themes/default2007/platform/designs/popup_design.tpl =================================================================== diff -u -N --- trunk/themes/default2007/platform/designs/popup_design.tpl (revision 0) +++ trunk/themes/default2007/platform/designs/popup_design.tpl (revision 8881) @@ -0,0 +1,24 @@ + + + + + + + + + <inp2:m_GetConfig name="Site_Name"/> + + " /> + + + + +
+
img/s.gif" width="1" height="1" alt="" />
+
+ +
+ +
+ + \ No newline at end of file Index: trunk/core/kernel/parser/template_parser.php =================================================================== diff -u -N -r8605 -r8881 --- trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 8605) +++ trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 8881) @@ -432,6 +432,11 @@ if ($this->GetParam('from_inportal')) $pre_parse = 0; if ($pre_parse) { $pre_parsed = $this->Application->TemplatesCache->GetPreParsed($name); + if ($pre_parsed === false) { + // template not found -> don't compile + return ''; + } + if ($pre_parsed && $pre_parsed['active']) { // active means good (not expired) pre-parsed cache $this->FromPreParseCache = true; $this->SetParams($params, 0); // 0 to disable params sorting and regexp generation - not needed when processing pre-parsed