diff --git a/README.md b/README.md new file mode 100644 index 0000000..12a38a4 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +This is the github repository of bibtexbrowser. + +It is used to collect patches and extensions as pull requests. + +The official home page of bibtexbrowser is . + diff --git a/bibtexbrowser.php b/bibtexbrowser.php old mode 100755 new mode 100644 index 49f3b05..333160b --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -1,5 +1,5 @@ + URL: http://www.monperrus.net/martin/bibtexbrowser/ Feedback & Bug Reports: martin.monperrus@gmail.com @@ -16,7 +16,7 @@ License, or (at your option) any later version. // added on Wednesday, June 01 2011, bug found by Carlos Bras if (!defined('BIBTEXBROWSER')) { // this if block ends at the very end of this file, after all class and function declarations. -define('BIBTEXBROWSER','v__MTIME__'); +define('BIBTEXBROWSER','v20120703'); // *************** CONFIGURATION @@ -123,7 +123,7 @@ define('BIBTEXBROWSER','v__MTIME__'); // we ensure that the pages won't get polluted // if future versions of PHP change warning mechanisms... -@error_reporting(/*pp4php:serl*/E_ALL/*lres*/); +@error_reporting(E_ERROR); /** parses $_GET[Q_FILE] and puts the result (an object of type BibDataBase) in $_GET[Q_DB]. @@ -1800,7 +1800,7 @@ class IndependentYearMenu { function poweredby() { $poweredby = "\n".'
'; $poweredby .= ''; - $poweredby .= 'Powered by bibtexbrowser'; + $poweredby .= 'Powered by bibtexbrowser'; $poweredby .= '
'."\n"; return $poweredby; } @@ -2941,7 +2941,7 @@ echo ' - + getRSS()!='') echo ''; ?> @@ -3203,7 +3203,7 @@ class RSSDisplay { http:// - bibtexbrowser v__MTIME__ + bibtexbrowser v20120703 entries as $bibentry) { @@ -3461,7 +3461,7 @@ class Dispatcher { function diagnosis() { header('Content-type: text/plain'); echo "php version: ".phpversion()."\n"; - echo "bibtexbrowser version: __MTIME__\n"; + echo "bibtexbrowser version: 20120703\n"; echo "dir: ".decoct(fileperms(dirname(__FILE__)))."\n"; echo "bibtex file: ".decoct(fileperms($_GET[Q_FILE]))."\n"; exit; @@ -3473,7 +3473,7 @@ class Dispatcher { - + You are browsing <?php echo $_GET[Q_FILE]; ?> with bibtexbrowser