From a95ba5f0fb6ea8b6315bcc83004568d4eb9e6789 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 31 Jan 2018 00:46:36 -0500 Subject: [PATCH] refactor another heredoc --- bibtexbrowser.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 6978056..3e7568c 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -4102,23 +4102,23 @@ usage: getRSS() getTitle() * $title: title of the page - */ -function HTMLTemplate($content) { +*/ +function HTMLTemplate($content) { +$OUTPUT_ENCODING = OUTPUT_ENCODING; // when we load a page with AJAX // the HTTP header is taken into account, not the header('Content-type: text/html; charset='.OUTPUT_ENCODING); -echo ''."\n"; - -?> +print << - + -getRSS()!='') echo ''; -?> - - +