浏览代码

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

pdontthink 18 年之前
父节点
当前提交
78e0a18219
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 0
      plugins/preview_pane/empty_frame.php
  2. 0 2
      plugins/preview_pane/templates/default/empty_frame.tpl

+ 1 - 0
plugins/preview_pane/empty_frame.php

@@ -19,5 +19,6 @@ global $org_title;
 displayHtmlHeader($org_title, '', FALSE, FALSE);
 
 $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>
-</html>