From 8d1ca52a7c49f33ce81cee9695040bbe0786e421 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Wed, 2 Dec 2009 23:00:00 +0000 Subject: [PATCH] *** empty log message *** --- bibtexbrowser.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 2a2f538..20eae80 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -58,7 +58,7 @@ Demo: [[http://www.monperrus.net/martin/bibtexbrowser.php?bib=metrics.bib|Here, <?php $_GET['bib']='csgroup2008.bib'; $_GET['all']=1; -include('bibtexbrowser.php'); +include( 'bibtexbrowser.php' ); ?> @@ -66,7 +66,7 @@ include('bibtexbrowser.php'); $_GET['bib']='csgroup2008.bib'; $_GET['all']=1; $_GET['academic']=''; -include('bibtexbrowser.php'); +include( 'bibtexbrowser.php' ); ?> @@ -75,7 +75,7 @@ include('bibtexbrowser.php'); <?php $_GET['bib']='mybib.bib'; $_GET['author']='Martin Monperrus'; -include('bibtexbrowser.php'); +include( 'bibtexbrowser.php' ); ?> @@ -83,7 +83,7 @@ include('bibtexbrowser.php'); $_GET['bib']='mybib.bib'; $_GET['author']='Martin Monperrus'; $_GET['academic']=''; -include('bibtexbrowser.php'); +include( 'bibtexbrowser.php' ); ?> @@ -214,7 +214,7 @@ define('YEAR', 'year'); // we ensure that the pages won't get polluted // if future versions of PHP change warning mechanisms... -@error_reporting(E_ALL); +@error_reporting(/*pp4php:serl*/E_ALL/*lres*/); // default bib file, if no file is specified in the query string. if (!isset($_GET[Q_FILE])) { @@ -1447,7 +1447,7 @@ class BibtexBrowserDisplay { function poweredby() { $poweredby = "\n".'
'; $poweredby .= ''; - $poweredby .= 'Powered by bibtexbrowser'; + $poweredby .= 'Powered by bibtexbrowser'; $poweredby .= '
'."\n"; return $poweredby; } @@ -2047,7 +2047,7 @@ function HTMLWrapper(&$content,$metatags=array()/* an array name=>value*/) { - + getRSS()!='') echo ''; ?> $value) echo ''."\n"; ?> <?php echo strip_tags($content->getTitle()); ?> @@ -2222,7 +2222,7 @@ class RSSDisplay { http:// - bibtexbrowser v__DATE__ + bibtexbrowser v__MTIME__ results as $bibentry) { @@ -2345,7 +2345,7 @@ class Dispatcher { function diagnosis() { header('Content-type: text/plain'); echo "php version: ".phpversion()."\n"; - echo "bibtexbrowser version: __DATE__\n"; + echo "bibtexbrowser version: __MTIME__\n"; echo "dir: ".decoct(fileperms(dirname(__FILE__)))."\n"; echo "bibtex file: ".decoct(fileperms($_GET[Q_FILE]))."\n"; exit; @@ -2357,7 +2357,7 @@ class Dispatcher { - + You are browsing <?php echo $_GET[Q_FILE]; ?> with bibtexbrowser