Add a window title for entry preview.
Patch by fu.
diffs (18 lines):
diff -r 4590fe03b100 -r 08ca14543825 htdocs/preview/entry.bml
--- a/htdocs/preview/entry.bml Fri Apr 01 14:20:51 2011 +0800
+++ b/htdocs/preview/entry.bml Fri Apr 01 15:13:37 2011 +0800
@@ -118,6 +118,7 @@ _c?>
LJ::need_res( qw( stc/talkpage.css ) );
$ret .= "<?page\n";
+ $ret .= "windowtitle=>" . BML::ml( ".title", { sitenameshort =>
$LJ::SITENAMESHORT } ) . "\n";
$ret .= "body<=\n";
$ret .= "<p>";
diff -r 4590fe03b100 -r 08ca14543825 htdocs/preview/entry.bml.text
--- a/htdocs/preview/entry.bml.text Fri Apr 01 14:20:51 2011 +0800
+++ b/htdocs/preview/entry.bml.text Fri Apr 01 15:13:37 2011 +0800
@@ -1,1 +1,3 @@
+.title=[[sitenameshort]]: Entry Preview (Unsaved)
+
.entry.preview_warn_text=This is a preview only. To save this entry, close
this popup and return to your main browser window.
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog