]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/hyperapplet.php
rcs_id no longer makes sense with Subversion global version number
[SourceForge/phpwiki.git] / themes / Sidebar / hyperapplet.php
1 <?php 
2   // rcs_id('$Id$');
3 /* Download hyperapplet.jar (or hyperwiki.jar) and GraphXML.dtd from 
4  *   http://hypergraph.sourceforge.net/download.html
5  *   and place it into your theme directory.
6  * Include this php file and adjust the width/height.
7  * The static version requires a dumped "LinkDatabase.xml" via 
8  *   cd themes/default; wget http://localhost/wiki/index.php/LinkDatabase?format=xml -O LinkDatabase.xml
9  * into the same dir as hyperapplet.jar
10  */
11 global $WikiTheme;
12 ?>
13 <applet code="hypergraph.applications.hexplorer.HExplorerApplet.class" align="baseline" 
14         archive="<?= $WikiTheme->_finddata("hyperapplet.jar") ?>"
15         width="160" height="360">
16 <?php // the dynamic version: ?>
17   <!--param name="file" value="<?= WikiURL("LinkDatabase", array('format'=>'xml')) ?>" /-->
18 <?php // The faster static version: dump it periodically ?>
19   <param name="file" value="<?= $WikiTheme->_finddata("LinkDatabase.xml") ?>" />
20   <!--param name="properties" value="<?= $WikiTheme->_finddata("hwiki.prop") ?>" /-->
21   <param name="center" value="<?= $page->getName() ?>" />
22 </applet>