diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-06-01 16:01:33 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-06-01 16:01:33 +0000 |
| commit | 73811143a0a5d08387b7b41b94aeb34439e426a5 (patch) | |
| tree | 256b63b90aa266f566a8c5b9eaec5177717c6bbf /wiki_graph.php | |
| parent | a33a85c5e34f4a02f4cd7cdaab87056b4412c86d (diff) | |
| download | wiki-73811143a0a5d08387b7b41b94aeb34439e426a5.tar.gz wiki-73811143a0a5d08387b7b41b94aeb34439e426a5.tar.bz2 wiki-73811143a0a5d08387b7b41b94aeb34439e426a5.zip | |
clean up more stuff and finally get rid of wikilib and only create class where needed - wikilib is down to 4 or 5 functions now
Diffstat (limited to 'wiki_graph.php')
| -rw-r--r-- | wiki_graph.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/wiki_graph.php b/wiki_graph.php index 6fe1223..f15c6b0 100644 --- a/wiki_graph.php +++ b/wiki_graph.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/wiki_graph.php,v 1.3 2006/03/20 15:58:38 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/wiki_graph.php,v 1.4 2007/06/01 16:01:30 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: wiki_graph.php,v 1.3 2006/03/20 15:58:38 squareing Exp $ + * $Id: wiki_graph.php,v 1.4 2007/06/01 16:01:30 squareing Exp $ * @package wiki * @subpackage functions */ @@ -57,8 +57,9 @@ $garg = array( 'style' => $_REQUEST['edgestyle'] ) ); -$str = $wikilib->wiki_get_link_structure($_REQUEST['page'], $_REQUEST['level']); $graph = new Image_GraphViz(); +$wikilib = new WikiLib(); +$str = $wikilib->wiki_get_link_structure($_REQUEST['page'], $_REQUEST['level']); $wikilib->wiki_page_graph($str, $graph, $garg); $graph->image( 'png' ); ?> |
