]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/hyperwiki.php
add working dynamic hyperwiki sidebar box (hyperapplet not yet),
[SourceForge/phpwiki.git] / themes / default / hyperwiki.php
1 <?php 
2   /* Download hyperwiki.jar and GraphXML.dtd from 
3    *   http://hypergraph.sourceforge.net/download.html
4    *   and place it into your theme directory.
5    * Include this php file and adjust the width/height.
6    */
7 global $WikiTheme;
8   // via the RPC interface it goes like this... 
9 ?>
10 <applet code="hypergraph.applications.hwiki.HWikiApplet.class" 
11         archive="<?= $WikiTheme->_finddata("hyperwiki.jar") ?>" 
12         width="162" height="240">
13   <param name="startPage" value="<?= $page->getName() ?>" />
14   <param name="properties" value="<?= $WikiTheme->_finddata("hwiki.prop") ?>" />
15   <param name="wikiURL" value="<?= SERVER_URL . DATA_PATH . "/RPC2.php" ?>" />
16 </applet>