Pārlūkot izejas kodu

Plugins like preview_pane should not close their own pages without displaying errors; easiest way to do that is use footer.tpl

pdontthink 18 gadi atpakaļ
vecāks
revīzija
78e0a18219

+ 1 - 0
plugins/preview_pane/empty_frame.php

@@ -19,5 +19,6 @@ global $org_title;
 displayHtmlHeader($org_title, '', FALSE, FALSE);
 displayHtmlHeader($org_title, '', FALSE, FALSE);
 
 
 $oTemplate->display('plugins/preview_pane/empty_frame.tpl');
 $oTemplate->display('plugins/preview_pane/empty_frame.tpl');
+$oTemplate->display('footer.tpl');
 
 
 
 

+ 0 - 2
plugins/preview_pane/templates/default/empty_frame.tpl

@@ -21,5 +21,3 @@ extract($t);
 
 
 
 
 ?><body>
 ?><body>
-</body>
-</html>