Browse Source

patch Ken Williams + minor things in the documentation

replace/c24a8d1de403113542ba0936e844151de2785013
Martin Monperrus 15 years ago
parent
commit
b774b8a279
  1. 8
      bibtexbrowser.php

8
bibtexbrowser.php

@ -174,8 +174,8 @@ return
// ------------------------------- EXPERT LEVEL // ------------------------------- EXPERT LEVEL
// to get the individual bib pages embedded as well
// define('BIBTEXBROWSER_URL','');
// define('BIBTEXBROWSER_URL','path/to/bibtexbrowser.php'); // if bibtexbrowser.php is in another directory in embedded mode
// define('BIBTEXBROWSER_URL',''); // to get the individual bib pages embedded as well
?> ?>
</pre> </pre>
@ -303,7 +303,7 @@ License, or (at your option) any later version.
function setDB() { function setDB() {
// default bib file, if no file is specified in the query string. // default bib file, if no file is specified in the query string.
if (!isset($_GET[Q_FILE])) {
if (!isset($_GET[Q_FILE]) || $_GET[Q_FILE] == "") {
?> ?>
<div id="bibtexbrowser_message"> <div id="bibtexbrowser_message">
Congratulations! bibtexbrowser is correctly installed!<br/> Congratulations! bibtexbrowser is correctly installed!<br/>
@ -1621,7 +1621,7 @@ else $page = 1;
// (1 page) reverse (<) // (1 page) reverse (<)
if ($start > 0) { if ($start > 0) {
$href = makeHref(array($queryKey => $page - 1,'menu'=>'')); $href = makeHref(array($queryKey => $page - 1,'menu'=>''));
$result .= '<a '. $href ."><b>[pred]</b></a>\n";
$result .= '<a '. $href ."><b>[prev]</b></a>\n";
} }
// (1 page) forward (>) // (1 page) forward (>)

Loading…
Cancel
Save