<?php
/**
* The template file that draws the layout to add a bookmark.
*
* @package be.nauta.booby.plugins.bookmarks.view
* @author Barry Nauta
* @copyright Barry Nauta
*
* This file is part of the Booby project.
* The booby project is located at the following location:
* http://www.nauta.be/booby/
*
* Copyright (c) 2003 - 2004 Barry Nauta
*
* The Booby project is released under the General Public License
* More detailes in the file 'gpl.html' or on the following
* website: <code>http://www.gnu.org</code> and look for licenses
*
* Enjoy :-)
*/
include ('templates/'.$_SESSION['booby_template'].'/icons.inc');
include_once "base/view/Tree.php";
include_once "base/view/MoveItemExplorerTreeDelegate.php";
$configuration = array ();
$configuration['dictionary']=$dictionary;
$configuration['icons']=$icons;
$configuration['callback']='BookmarkController.php';
$delegate = new MoveItemExplorerTreeDelegate
($configuration);
$tree = new Tree ($delegate, $configuration);
// we would like to show all items
$tree -> setExpanded ('*');
echo ($tree -> toHtml ($item, $renderObjects));
?>
|