all bibtexbrowser files can now live in their own directory
This commit is contained in:
+7
-9
@@ -195,7 +195,7 @@ License, or (at your option) any later version.
|
|||||||
// *************** CONFIGURATION
|
// *************** CONFIGURATION
|
||||||
// I recommend to put your changes in bibtexbrowser.local.php
|
// I recommend to put your changes in bibtexbrowser.local.php
|
||||||
// it will help you to upgrade the script with a new version
|
// it will help you to upgrade the script with a new version
|
||||||
@include('bibtexbrowser.local.php');
|
@include(dirname(__FILE__).'/bibtexbrowser.local.php');
|
||||||
// there is no encoding transformation from the bibtex file to the html file
|
// there is no encoding transformation from the bibtex file to the html file
|
||||||
// if your bibtex file contains 8 bits characters in utf-8
|
// if your bibtex file contains 8 bits characters in utf-8
|
||||||
// change the following parameter
|
// change the following parameter
|
||||||
@@ -2288,15 +2288,13 @@ foreach($metatags as $item) {
|
|||||||
echo '<title>'.strip_tags($content->getTitle()).'</title>';
|
echo '<title>'.strip_tags($content->getTitle()).'</title>';
|
||||||
|
|
||||||
// now the CSS
|
// now the CSS
|
||||||
if (is_readable('bibtexbrowser.css')) {
|
echo '<style type="text/css"><!-- '."\n";
|
||||||
echo '<link href="bibtexbrowser.css" rel="stylesheet" type="text/css"/>';
|
if (is_readable(dirname(__FILE__).'/bibtexbrowser.css')) {
|
||||||
}
|
readfile(dirname(__FILE__).'/bibtexbrowser.css');
|
||||||
else {
|
|
||||||
// we use the embedded css
|
|
||||||
echo '<style type="text/css"><!--';
|
|
||||||
bibtexbrowserDefaultCSS();
|
|
||||||
echo '--></style>';
|
|
||||||
}
|
}
|
||||||
|
else { bibtexbrowserDefaultCSS(); }
|
||||||
|
echo "\n".' --></style>';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user