@ -175,7 +175,7 @@ For instance, one can tweak the output by disabling the display of some headers
The bibliography style is encapsulated in a function. If you want to modify the bibliography style, you can copy the default style in a new file, say ''bibtexbrowser-yourstyle.php'', and rename the function ''DefaultBibliographyStyle'' in say ''MyFancyBibliographyStyle''.
Then, add in the file ''bibtexbrowser.local.php'':
@ -478,18 +478,18 @@ You can customize every view as follows, in particular by playing with ''BIBTEXB
''frameset.html'':
<pre>
<html>
<frameset cols="15%,*">
<frame name="menu" src="menu.php" />
<frame name="main" src="output.php" />
</frameset>
</html>
<html>
<frameset cols="15%,*">
<frame name="menu" src="menu.php" />
<frame name="main" src="output.php" />
</frameset>
</html>
</pre>
''menu.php'':
<pre>
MENU (no header sent)
<?php
<?php
define('BIBTEXBROWSER_URL','output.php');
$_GET['menu']=1;
$_GET['bib']='foo.bib';
@ -500,7 +500,7 @@ include('bibtexbrowser.php');
''output.php'':
<pre>
OUTPUT (no header sent)
<?php
<?php
define('BIBTEXBROWSER_URL','elem.php');
include('bibtexbrowser.php');
?>
@ -509,7 +509,7 @@ include('bibtexbrowser.php');
''elem.php'':
<pre>
ELEM (no header sent)
<?php
<?php
include('bibtexbrowser.php');
?>
</pre>
@ -559,9 +559,9 @@ Note the forward slash following the port number.
For instance, if you want to add a "home page" button in the main view of the frameset mode, add a banner function in ''bibtexbrowser.local.php'' as follows:
<pre>
<?php
<?php
function bibtexbrowser_top_banner() {
return '<a href="/home">Home page</a>';
return '<a href="/home">Home page</a>';
}
?>
</pre>
@ -570,7 +570,7 @@ function bibtexbrowser_top_banner() {
Bibtexbrowser can generate [[https://en.wikipedia.org/wiki/COinS|Coins]], Google Scholar, Dublin Core (DC), Opengraph and Eprints metadata. This can be configured in ''bibtexbrowser.local.php'' as follows:
<pre>
<?php
<?php
@define('METADATA_COINS',true); // see https://en.wikipedia.org/wiki/COinS
@define('METADATA_GS',false); // metadata google scholar, see http://www.monperrus.net/martin/accurate+bibliographic+metadata+and+google+scholar
@define('METADATA_DC',true); // see http://dublincore.org/