changed the version number to __GITHUB__ (the github version is not a release)
This commit is contained in:
+8
-8
@@ -1,5 +1,5 @@
|
|||||||
<?php /* bibtexbrowser: publication lists with bibtex and PHP
|
<?php /* bibtexbrowser: publication lists with bibtex and PHP
|
||||||
<!--this is version v20121205 -->
|
<!--this is version v__GITHUB__ -->
|
||||||
URL: http://www.monperrus.net/martin/bibtexbrowser/
|
URL: http://www.monperrus.net/martin/bibtexbrowser/
|
||||||
Feedback & Bug Reports: martin.monperrus@gmail.com
|
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
|
// added on Wednesday, June 01 2011, bug found by Carlos Bras
|
||||||
if (!defined('BIBTEXBROWSER')) {
|
if (!defined('BIBTEXBROWSER')) {
|
||||||
// this if block ends at the very end of this file, after all class and function declarations.
|
// this if block ends at the very end of this file, after all class and function declarations.
|
||||||
define('BIBTEXBROWSER','v20121205');
|
define('BIBTEXBROWSER','v__GITHUB__');
|
||||||
|
|
||||||
|
|
||||||
// *************** CONFIGURATION
|
// *************** CONFIGURATION
|
||||||
@@ -138,7 +138,7 @@ define('Q_INNER_TYPE', 'x-bibtex-type');// used for representing the type of the
|
|||||||
// we ensure that the pages won't get polluted
|
// we ensure that the pages won't get polluted
|
||||||
// if future versions of PHP change warning mechanisms...
|
// if future versions of PHP change warning mechanisms...
|
||||||
|
|
||||||
@error_reporting(E_ERROR);
|
@error_reporting(/*pp4php:serl*/E_ALL/*lres*/);
|
||||||
|
|
||||||
|
|
||||||
/** parses $_GET[Q_FILE] and puts the result (an object of type BibDataBase) in $_GET[Q_DB].
|
/** parses $_GET[Q_FILE] and puts the result (an object of type BibDataBase) in $_GET[Q_DB].
|
||||||
@@ -1852,7 +1852,7 @@ class IndependentYearMenu {
|
|||||||
function poweredby() {
|
function poweredby() {
|
||||||
$poweredby = "\n".'<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby">';
|
$poweredby = "\n".'<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby">';
|
||||||
$poweredby .= '<!-- If you like bibtexbrowser, thanks to keep the link :-) -->';
|
$poweredby .= '<!-- If you like bibtexbrowser, thanks to keep the link :-) -->';
|
||||||
$poweredby .= 'Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v20121205-->';
|
$poweredby .= 'Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__GITHUB__-->';
|
||||||
$poweredby .= '</div>'."\n";
|
$poweredby .= '</div>'."\n";
|
||||||
return $poweredby;
|
return $poweredby;
|
||||||
}
|
}
|
||||||
@@ -3018,7 +3018,7 @@ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo ENCODING ?>"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo ENCODING ?>"/>
|
||||||
<meta name="generator" content="bibtexbrowser v20121205" />
|
<meta name="generator" content="bibtexbrowser v__GITHUB__" />
|
||||||
<?php
|
<?php
|
||||||
// if ($content->getRSS()!='') echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$content->getRSS().'&rss" />';
|
// if ($content->getRSS()!='') echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$content->getRSS().'&rss" />';
|
||||||
?>
|
?>
|
||||||
@@ -3281,7 +3281,7 @@ class RSSDisplay {
|
|||||||
<link>http://<?php echo $_SERVER['HTTP_HOST'].htmlentities($_SERVER['REQUEST_URI']);?></link>
|
<link>http://<?php echo $_SERVER['HTTP_HOST'].htmlentities($_SERVER['REQUEST_URI']);?></link>
|
||||||
<atom:link href="http://<?php echo $_SERVER['HTTP_HOST'].htmlentities($_SERVER['REQUEST_URI']);?>" rel="self" type="application/rss+xml" />
|
<atom:link href="http://<?php echo $_SERVER['HTTP_HOST'].htmlentities($_SERVER['REQUEST_URI']);?>" rel="self" type="application/rss+xml" />
|
||||||
<description></description>
|
<description></description>
|
||||||
<generator>bibtexbrowser v20121205</generator>
|
<generator>bibtexbrowser v__GITHUB__</generator>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
foreach($this->entries as $bibentry) {
|
foreach($this->entries as $bibentry) {
|
||||||
@@ -3539,7 +3539,7 @@ class Dispatcher {
|
|||||||
function diagnosis() {
|
function diagnosis() {
|
||||||
header('Content-type: text/plain');
|
header('Content-type: text/plain');
|
||||||
echo "php version: ".phpversion()."\n";
|
echo "php version: ".phpversion()."\n";
|
||||||
echo "bibtexbrowser version: 20121205\n";
|
echo "bibtexbrowser version: __GITHUB__\n";
|
||||||
echo "dir: ".decoct(fileperms(dirname(__FILE__)))."\n";
|
echo "dir: ".decoct(fileperms(dirname(__FILE__)))."\n";
|
||||||
echo "bibtex file: ".decoct(fileperms($_GET[Q_FILE]))."\n";
|
echo "bibtex file: ".decoct(fileperms($_GET[Q_FILE]))."\n";
|
||||||
exit;
|
exit;
|
||||||
@@ -3551,7 +3551,7 @@ class Dispatcher {
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="bibtexbrowser v20121205" />
|
<meta name="generator" content="bibtexbrowser v__GITHUB__" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo ENCODING ?>"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo ENCODING ?>"/>
|
||||||
<title>You are browsing <?php echo $_GET[Q_FILE]; ?> with bibtexbrowser</title>
|
<title>You are browsing <?php echo $_GET[Q_FILE]; ?> with bibtexbrowser</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user